test (v11)

Revision 11 of this benchmark created on


Setup

var a = {b:function(){a.d=0;}, c:function(){a.d=1;}};

Test runner

Ready to run.

Testing in
TestOps/sec
test
(Math.random()?a.b:a.c)();
ready
test
a[Math.random()?'b':'c']();
ready
test
Math.random()?a.b():a.c();
ready

Revisions

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