Skip to content

Commit

Permalink
s/trouble/double
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Apr 8, 2017
1 parent 14b27c6 commit 21c48b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions benchmark/_http-benchmarkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ class WrkBenchmarker {
* Simple, single-threaded benchmarker for testing if the benchmark
* works
*/
class TestTroubleBenchmarker {
class TestDoubleBenchmarker {
constructor() {
this.name = 'test-trouble';
this.executable = path.resolve(__dirname, '_test-trouble-benchmarker.js');
this.name = 'test-double';
this.executable = path.resolve(__dirname, '_test-double-benchmarker.js');
this.present = fs.existsSync(this.executable);
}

Expand Down Expand Up @@ -112,7 +112,7 @@ class TestTroubleBenchmarker {
const http_benchmarkers = [
new WrkBenchmarker(),
new AutocannonBenchmarker(),
new TestTroubleBenchmarker()
new TestDoubleBenchmarker()
];

const benchmarkers = {};
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/sequential/test-benchmark-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const child = fork(runjs, ['--set', 'dur=0.1',
'--set', 'len=1',
'--set', 'c=1',
'--set', 'chunks=0',
'--set', 'benchmarker=test-trouble',
'--set', 'benchmarker=test-double',
'http'],
{env: {NODEJS_BENCHMARK_ZERO_ALLOWED: 1}});
child.on('exit', (code, signal) => {
Expand Down

0 comments on commit 21c48b1

Please sign in to comment.