String concat compare

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
String
let x = ''
for(let i = 0; i < 1e6; i++) {
	x += i
}
ready
Array
let x = []
for(let i = 0; i < 1e6; i++) {
	x.push(i)
}
x.join('')
ready

Revisions

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