Single vs multiple vars
JavaScript performance comparison
Info
Test to see if there are any performance gains from using a single or multiple vars at the top of a function scope.
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Multiple vars |
|
pending… |
Single |
|
pending… |
You can edit these tests or add even more tests to this page by appending /edit to the URL.
0 comments