eval-vs-split

Benchmark created on


Preparation HTML

<script>
  var test = "20, 35"
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
eval
foo = eval("[" + test + "]");
ready
split
foo = test.split(",");
ready

Revisions

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