Testing eval performance

Benchmark created on


Setup

var foo = { bar: 'test' }; var property = 'bar';

Test runner

Ready to run.

Testing in
TestOps/sec
Subscript notation
foo[property] = 'new test';
ready
Eval
eval('foo.' + property + ' = "new test";');
ready

Revisions

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