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 McDuffFamily = {
name: "Jack McDuff I",
children: [
{
name:"Jack McDuff II",
children: [
{
name:"Jack McDuff III",
children: [
{
name:"Jack McDuff IV"
},
{
name:"Jonh McDuff I",
children: [
{
name:"Jonh McDuff I",
children: []
}
]
}
]
},
{
name:"Shena McDuff"
}
]
},
{
name:"Poor bastard",
children: [
{
name:"Citzen I",
children: [
{
name:"Darth Vader"
}
]
},
{
name:"Citzen II",
children: []
}
]
}
]
};
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Put the name of all family member in a array using recursion |
| ready |
Put the name of all family member in a array using push.apply |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.