eval-string

Benchmark created by Kris Krause on


Setup

function foobar() {
     var x = 0;
  
     for (var i = 0; i < 10; i++) {
        x += i * 10;
     }
  
     return x;
  }

Test runner

Ready to run.

Testing in
TestOps/sec
EvalString
var zz = eval("foobar()")
ready
StraightUp
var zz = foobar()
ready

Revisions

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

  • Revision 1: published by Kris Krause on