references

Benchmark created by Lidia on


Setup

var myObj = { atr : { atr: { atr: { fn: function(a) { return "" + a; } } } } },
    fn; fn = myObj.atr.atr.atr.fn;

Test runner

Ready to run.

Testing in
TestOps/sec
non alias
myObj.atr.atr.atr.fn("goo");
myObj.atr.atr.atr.fn("foo");
myObj.atr.atr.atr.fn("boo");
myObj.atr.atr.atr.fn("hoo");
myObj.atr.atr.atr.fn("doo");
myObj.atr.atr.atr.fn("xoo");
ready
alias
fn("goo");
fn("foo");
fn("boo");
fn("hoo");
fn("doo");
fn("xoo");
ready

Revisions

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

  • Revision 1: published by Lidia on