lijia3

JavaScript performance comparison

Revision 39 of this test case created

Preparation code

 
<script>
Benchmark.prototype.setup = function() {
    function a(a){
    q(a.a,a.b,a.c)
    }
   
    function b(a){
    k(a)
    }
    function q(){
   
    }
    function k(a){
    a.a;a.b;a.b
    }
    var c={a:1,b:1,c:2}
};
</script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
1
a(c);
pending…
2
b(c)
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment