Number concatenation toString

Benchmark created by SiPlus on


Setup

var num = 10;
    var str;

Test runner

Ready to run.

Testing in
TestOps/sec
No toString
str = 'a' + num;
ready
toString
str = 'a' + num.toString();
ready
toString with radix
str = 'a' + num.toString(10);
ready

Revisions

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

  • Revision 1: published by SiPlus on