Browse Source

benchmark: don't use template strings

When running benchmark/compare.js, it is typical to run a version of
node that does not support template strings. This provides backwards
compatibility for comparing benchmarks using older versions of node.

PR-URL: https://github.com/iojs/io.js/pull/714
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
v1.8.0-commit
Evan Lucas 10 years ago
committed by Evan Lucas
parent
commit
3e675e44b5
  1. 2
      benchmark/common.js

2
benchmark/common.js

@ -27,7 +27,7 @@ if (module === require.main) {
});
if (filteredTests.length === 0) {
console.error(`${testFilter} is not found in \n ${tests.join(' \n')}`);
console.error('%s is not found in \n %j', testFilter, tests);
return;
}
tests = filteredTests;

Loading…
Cancel
Save