1D VS 2D
JavaScript performance comparison
Info
1D VS 2D
Preparation code
<script>
Benchmark.prototype.setup = function() {
var array1 = [1, 2, 3, 4, 5, 6, 7, 9],
array2 = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
],
i, e;
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
1D |
|
pending… |
2D |
|
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 Sadiquo
- Revision 2: published
- Revision 4: published by Sadiquo
0 comments