Skip to content

Commit ba844a1

Browse files
committed
benchmark: Add "ops/sec" text to Benchmark#toString. [jddalton]
1 parent 0f5b2ad commit ba844a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@
13131313
if (error) {
13141314
result += ': ' + join(error);
13151315
} else {
1316-
result += ' x ' + formatNumber(hz.toFixed(hz < 100 ? 2 : 0)) + ' ' + pm +
1316+
result += ' x ' + formatNumber(hz.toFixed(hz < 100 ? 2 : 0)) + ' ops/sec ' + pm +
13171317
stats.RME.toFixed(2) + '% (' + size + ' run' + (size == 1 ? '' : 's') + ' sampled)';
13181318
}
13191319
return result;

0 commit comments

Comments
 (0)