call vs apply (v20)

Revision 20 of this benchmark created by Rogalik on


Setup

var someProp = {someProp2: {someProp3: {qq:{aa:212}}}, someProp545: {someProp3: {qq:{aa:212}}}, someProp34: {someProp3: {qq:{aa:212}}}, someProp222: {someProp3: {qq:{aa:212}}}};
    var short = 212;
    var q;

Test runner

Ready to run.

Testing in
TestOps/sec
eval
q = someProp.someProp34.someProp3.qq.aa + Math.random();
ready
New Func
q = short + Math.random();
ready

Revisions

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