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 type="text/javascript" src="https://rawgit.com/olivernn/lunr.js/master/lunr.js"></script>
<script type="text/javascript" src="https://rawgit.com/bvaughn/js-search/master/dist/js-search.js"></script>
var books = [];
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
var json = JSON.parse(xmlhttp.responseText);
books = json.books;
}
}
xmlhttp.open('GET', 'http://bvaughn.github.io/js-search/books.json', true);
xmlhttp.send();
Ready to run.
Test | Ops/sec | |
---|---|---|
JS Search: Building index |
| ready |
Lunr JS: Building index |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.