easily parameter tuning in your code!
Easily parameter tuning in your code!
npm install paramtuner
var Tuner = require'paramtuner';var tuner =nextnull 0.5;;tunerstart;
If you want to start server with best maxConnection number:
var Server = require'server';var Tuner = require'paramtuner';var tuner =params:maxConnection: range: 1 100var server = maxConnection: paramsmaxConnectionlisten80;// pseudo codevar timePerReq = benchmarkserver connection: 100 request: 10000;nextnull timePerReq;resultsbestparamslisten80;;tunerstart;
Muddy Dixon firstname.lastname@example.org
Copyright 2013- Muddy Dixon (muddydixon)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.