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://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
var json1 = {
item1: "value1",
item2: "value2",
item3: "value3",
item4: "value4",
item5: "value5",
item6: "value6",
item7: "value7",
item8: "value8",
item9: "value9",
item10: "value10"
}
var json2 = [{
sn: "item1",
val: "value1"
}, {
sn: "item2",
val: "value2"
}, {
sn: "item3",
val: "value3"
}, {
sn: "item4",
val: "value4"
}, {
sn: "item5",
val: "value5"
}, {
sn: "item6",
val: "value6"
}, {
sn: "item7",
val: "value7"
}, {
sn: "item8",
val: "value8"
}, {
sn: "item9",
val: "value9"
}, {
sn: "item10",
val: "value10"
}];
Ready to run.
Test | Ops/sec | |
---|---|---|
json by key |
| ready |
json grep |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.