Test chain assignment
JavaScript performance comparison
Preparation code
<script>
var obj2 = {
x: 1
};
var obj3 = {
x: 1
};
var obj4 = {
x: 1
};
var obj5 = {
x: 1
};
var value = 2;
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Chained |
|
pending… |
Separate lines |
|
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:
- Revision 1: published by Nicolas
- Revision 2: published by hackwaly
0 comments