jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<script src="https://raw.github.com/imaya/zlib-comparison/master/data/1musk10.txt.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/zlib.js/inflate.min.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/zlib.js/inflate_stream.min.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/zlib-js/zlib.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/zlib-js/zlib-inflate.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/zpipe/zpipe.min.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/pdf.js/stream.js"></script>
<script src="https://raw.github.com/imaya/zlib-comparison/master/jsziptools/dataview.min.js"></script>
<script src="https://raw.github.com/ukyo/jsziptools/master/build/jsziptools.min.js"></script>
<script>
var dataArray = toArray(data);
if (typeof Uint8Array === 'function') {
dataArray = new Uint8Array(dataArray);
}
function toArray(str) {
var i;
var il;
var array = new Array(str.length);
for (i = 0, il = str.length; i < il; ++i) {
array[i] = str.charCodeAt(i);
}
return array;
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
zlib.js |
| ready |
zlib.js(stream) |
| ready |
iz-zlib |
| ready |
pdf.js |
| ready |
jsziptools |
| ready |
zpipe |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.