String concatenation (v4)

Revision 4 of this benchmark created on


Description

Making paths.

Setup

let a = "foobar"
let b = "barfoo"
let c = "foozbaz"
let d = "quixzot"

Test runner

Ready to run.

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

Revisions

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