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>
var testFunc = (data) => f1?.f2?.map(e => e?.f3.map(el => el?.name))
var testFunc2 = (data) => result.array.map(e => e.groups.map(el => el.name))
var n = {
f1: {
f2: [
{
name: 'name1',
salary: 300,
age: 28,
},
{
name: 'name2',
salary: 400,
age: 29,
},
{
name: 'name3',
salary: 500,
age: 30,
},
{
name: 'name4',
salary: 600,
age: 31,
},
{
name: 'name5',
salary: 700,
age: 32,
},
]
}
};
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
safe navigation |
| ready |
non prototype |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.