call vs apply (v19)

Revision 19 of this benchmark created 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.someProp2.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.