String concatenation (v3)

Revision 3 of this benchmark created on


Setup

let a = "a"
let b = "b"

Test runner

Ready to run.

Testing in
TestOps/sec
A += B
a += b
ready
A = A + B
a = a + b
ready
A = `AB`
a = `${a}${b}`
ready
A = [A, B].join('')
a = [a, b].join('')
ready

Revisions

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