Backticks / `+` / `.concat(…)`

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Backticks
console.log(`One is ${1}, two is ${2}, foo is ${"foo"}`)
ready
+
console.log("One is " + 1 + ", two is " + 2 + ", foo is " + "foo")
ready
.concat(…)
console.log("One is ".concat(1).concat(", two is ").concat(2).concat(", foo is ").concat("foo"))
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.