Object Reference Test
JavaScript performance comparison
Preparation code
<script>
Benchmark.prototype.setup = function() {
var resp = {
'a': {
'b': {
'c': {
'd': {
'e': {
'f': {
'g': {
'h': {
'i': {
'j': {
'j1': 'hfoo',
'j2': 'bar',
'j3': 'baz',
'j4': 'tom'
}
}
}
}
}
}
}
}
}
}
};
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Repeated look ups |
|
pending… |
Temp reference |
|
pending… |
You can edit these tests or add even more tests to this page by appending /edit to the URL.
0 comments