asm_js_zlib_bench

JavaScript performance comparison

Revision 6 of this test case created

Preparation code

<script src="https://github.com/ukyo/zlib-asm/raw/master/zlib.js"></script>
<script src="https://raw.github.com/ukyo/zlib-asm/master/dest/zlib-noasm.js"></script>
 
<script>
Benchmark.prototype.setup = function() {
    var bytes = new Uint8Array(1000000);
};
</script>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
asm
zlib.deflate(bytes);
pending…
noasm
zlib_noasm.compress(bytes);
pending…
asm2
zlib_asm.compress(bytes);
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:

0 comments

Add a comment