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
Comparing the speed of Store.JS, Amplify.Store, jStorage, and vanilla localStorage
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script type="text/javascript" src="https://rawgit.com/douglascrockford/JSON-js/master/json2.js">
</script>
<script type="text/javascript" src="https://rawgit.com/appendto/amplify/master/src/store.js">
</script>
<script type="text/javascript" src="https://rawgit.com/marcuswestin/store.js/master/store.min.js">
</script>
<script type="text/javascript" src="https://rawgit.com/andris9/jStorage/master/jstorage.js">
</script>
amplify.store("a1", null);
amplify.store("a2", null);
amplify.store("a3", null);
localStorage.removeItem('l1');
localStorage.removeItem('l2');
localStorage.removeItem('l3');
$.jStorage.deleteKey('j1');
$.jStorage.deleteKey('j2');
$.jStorage.deleteKey('j3');
Ready to run.
Test | Ops/sec | |
---|---|---|
store.js |
| ready |
Amplify.Store |
| ready |
Vanilla LocalStorage |
| ready |
jStorage |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.