allocation rate
JavaScript performance comparison
Test case created by Andy Wingo
Info
A test to measure the sustainable raw allocation rate by JavaScript engines.
Preparation code
<script>
Benchmark.prototype.setup = function() {
var ITERATIONS = 1000000;
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
baseline loop without allocation |
|
pending… |
loop allocating 1-element arrays |
|
pending… |
loop allocating 2-element arrays |
|
pending… |
loop allocating 4-element arrays |
|
pending… |
loop allocating 8-element arrays |
|
pending… |
You can edit these tests or add even more tests to this page by appending /edit
to the URL.
0 comments