number to string conversion (v4)

Revision 4 of this benchmark created on


Setup

const number = 12345679;
let str;

Test runner

Ready to run.

Testing in
TestOps/sec
"" + number
str = "" + number;
ready
String()
str = String(number);
ready
toString()
str = number.toString();
ready
template literals
str = `${number}`;
ready

Revisions

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