toString vs String

Benchmark created by dan on


Preparation HTML

<script>
  x = 10
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
string
String(10)
ready
toString
x.toString()
ready

Revisions

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