asm_js_zlib_bench

JavaScript performance comparison

Revision 2 of this test case created by ukyo

Preparation code

<script src="https://raw.github.com/ukyo/zlib-asm/master/dest/zlib-asm.js"></script>
<script src="https://raw.github.com/ukyo/zlib-asm/master/dest/zlib-noasm.js"></script>
<script>
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_asm.compress(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