Testing JS string concatenation

Benchmark created on


Description

Testing JS string concatenation

Test runner

Ready to run.

Testing in
TestOps/sec
String concatenation using double quotes
const value1 = "Bob";
const value2 = "John";
const result = value1 + ' ' + value2
ready
String concatenation using ticks
const value1 = "Bob";
const value2 = "John";
const result = `${value1} ${value2}`
ready

Revisions

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