call vs apply (v29)

Revision 29 of this benchmark created on


Setup

function a () {
        var dc = document;
        dc.body.ClassName = 'qwerty';
    };
    
    function b () {
        document.body.ClassName = 'qwerty';
    };
    
    function c () {
        var db = document.body;
        db.ClassName = 'qwerty';
    };

Test runner

Ready to run.

Testing in
TestOps/sec
a
a();
ready
b
b();
ready
c
c();
ready

Revisions

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