Concat vs templates

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Concat
const foo = "foo";
const ham = foo + "-bar";
ready
Template literals
const foo = "foo";
const ham = `${foo}-bar`;
ready

Revisions

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