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="http://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/alexweber/jquery.sha256/master/jquery.sha256.min.js"></script>
<script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script>
<script src="http://www.bichlmeier.info/sha256.js"></script>
<script src="http://vibornoff.com/asmcrypto.js"></script>
<script src="http://caligatio.github.io/jsSHA/sha.js"></script>
<script src="http://www.webtoolkit.info/djs/webtoolkit.sha256.js"></script>
<script src="http://www.movable-type.co.uk/scripts/utf8.js"></script>
<script src="http://www.movable-type.co.uk/scripts/sha256.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha256.js"></script>
<script src="https://rawgit.com/emn178/js-sha256/master/src/sha256.js"></script>
<script>
js_sha256 = sha256;
sha256 = null;
</script>
<script src="https://rawgit.com/dchest/fast-sha256-js/master/sha256.min.js"></script>
<script>
fast_sha256 = sha256;
sha256 = null;
</script>
<script src="https://rawgit.com/h2non/jshashes/master/hashes.min.js"></script>
<script>
Hashes_SHA256 = new Hashes.SHA256;
var HEX_CHARS = '0123456789abcdef'.split('');
function toHexString(bytes) {
var str = '';
for(var i = 0;i < bytes.length;++i) {
str += HEX_CHARS[bytes[i] >> 4] + HEX_CHARS[bytes[i] & 0x0F];
}
return str;
}
</script>
var str = 'The quick brown fox jumps over the lazy dog.';
Ready to run.
Test | Ops/sec | |
---|---|---|
CryptoJS |
| ready |
webtoolkit |
| ready |
movable-type.co.uk |
| ready |
js-sha256 |
| ready |
jsHashes |
| ready |
bichlmeier |
| ready |
asmCrypto |
| ready |
jsSHA |
| ready |
jquery.sha256 |
| ready |
SJCL |
| ready |
fast-sha256-js |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.