For throughput benchmarks, run with just 5s durations rather than 1s and 3s.
For startup benchmark, run with just a single 1s duration, since it's very
consistent anyway.
var fs = require('fs');
var bench = common.createBenchmark(main, {
- dur: [1, 3],
+ dur: [5],
len: [1024, 16 * 1024 * 1024],
concurrent: [1, 10]
});
var fs = require('fs');
var bench = common.createBenchmark(main, {
- dur: [1, 3],
+ dur: [5],
type: ['buf', 'asc', 'utf'],
size: [2, 1024, 65535, 1024 * 1024]
});
var start;
var bench = common.createBenchmark(startNode, {
- dur: [1, 3]
+ dur: [1]
});
function startNode(conf) {
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5],
});
var dur;
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5],
});
var dur;
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5]
});
var dur;
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5]
});
var TCP = process.binding('tcp_wrap').TCP;
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5]
});
var TCP = process.binding('tcp_wrap').TCP;
var bench = common.createBenchmark(main, {
len: [102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
- dur: [1, 3],
+ dur: [5]
});
var TCP = process.binding('tcp_wrap').TCP;
var common = require('../common.js');
var bench = common.createBenchmark(main, {
- dur: [1, 3],
+ dur: [5],
type: ['buf', 'asc', 'utf'],
size: [2, 1024, 1024 * 1024]
});
var common = require('../common.js');
var bench = common.createBenchmark(main, {
concurrency: [1, 10],
- dur: [1, 3]
+ dur: [5]
});
var clientConn = 0;