diff options
Diffstat (limited to 'benchmark/misc/string-creation.js')
-rw-r--r-- | benchmark/misc/string-creation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/misc/string-creation.js b/benchmark/misc/string-creation.js index 74dea02312c..59fb1b52b4e 100644 --- a/benchmark/misc/string-creation.js +++ b/benchmark/misc/string-creation.js @@ -3,7 +3,7 @@ var common = require('../common.js'); var bench = common.createBenchmark(main, { millions: [100] -}) +}); function main(conf) { var n = +conf.millions * 1e6; @@ -11,7 +11,7 @@ function main(conf) { var s; for (var i = 0; i < n; i++) { s = '01234567890'; - s[1] = "a"; + s[1] = 'a'; } bench.end(n / 1e6); } |