diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-04-17 04:01:12 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-04-20 04:46:37 +0300 |
commit | 22aa3d48997f1fc31e9c9cc08ec76a5436c93fe3 (patch) | |
tree | 255361bcfb0611af60f6c7c101c886687d0ce047 /benchmark/timers | |
parent | bbbb1f60780d9b8ef812769e215be830c4d968b8 (diff) | |
download | android-node-v8-22aa3d48997f1fc31e9c9cc08ec76a5436c93fe3.tar.gz android-node-v8-22aa3d48997f1fc31e9c9cc08ec76a5436c93fe3.tar.bz2 android-node-v8-22aa3d48997f1fc31e9c9cc08ec76a5436c93fe3.zip |
benchmark: reduce string concatenations
PR-URL: https://github.com/nodejs/node/pull/12455
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark/timers')
-rw-r--r-- | benchmark/timers/timers-cancel-unpooled.js | 2 | ||||
-rw-r--r-- | benchmark/timers/timers-insert-unpooled.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/timers/timers-cancel-unpooled.js b/benchmark/timers/timers-cancel-unpooled.js index a040fad69e..14cbad8256 100644 --- a/benchmark/timers/timers-cancel-unpooled.js +++ b/benchmark/timers/timers-cancel-unpooled.js @@ -22,5 +22,5 @@ function main(conf) { } function cb() { - assert(false, 'Timer ' + this._idleTimeout + ' should not call callback'); + assert(false, `Timer ${this._idleTimeout} should not call callback`); } diff --git a/benchmark/timers/timers-insert-unpooled.js b/benchmark/timers/timers-insert-unpooled.js index 91eabeb04e..bdcd7e0ff7 100644 --- a/benchmark/timers/timers-insert-unpooled.js +++ b/benchmark/timers/timers-insert-unpooled.js @@ -23,5 +23,5 @@ function main(conf) { } function cb() { - assert(false, 'Timer ' + this._idleTimeout + ' should not call callback'); + assert(false, `Timer ${this._idleTimeout} should not call callback`); } |