kilis Performance-Frage
JavaScript performance comparison
Info
compare a returned object with a direct array
Preparation code
<script>
Benchmark.prototype.setup = function() {
function blubbs(a, b) {
this.a = a;
this.b = b;
}
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Return Array |
|
pending… |
Return object |
|
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 Didi
- Revision 2: published
0 comments