Object To String brad

Benchmark created by Brad on


Setup

var num = 1;

Test runner

Ready to run.

Testing in
TestOps/sec
empty string
var str = "" + num;
ready
toString
var str = num.toString();
ready

Revisions

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