int to str

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
es6 str
function go() {
const int = 1;
const str = `${int}`

return str
}

go();
ready
old str
function go() {
const int = 1;
const str = int + ''

return str
}

go();
ready
fn
function go() {
const int = 1;
const str = String(int)

return str
}

go();
ready

Revisions

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