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
const files = [
{
name: "dir1",
isFile: () => false,
},
{
name: "dir2",
isFile: () => false,
},
{
name: "file1.md",
isFile: () => true,
},
{
name: "file2.md",
isFile: () => true,
},
{
name: "file3.js",
isFile: () => true,
},
{
name: "file4.js",
isFile: () => true,
},
{
name: "file5.js",
isFile: () => true,
},
{
name: "file6.js",
isFile: () => true,
},
{
name: "file7.js",
isFile: () => true,
},
{
name: "file8.js",
isFile: () => true,
},
{
name: "file9.js",
isFile: () => true,
},
{
name: "file10.js",
isFile: () => true,
},
];
Ready to run.
Test | Ops/sec | |
---|---|---|
Single loop |
| ready |
Chained loop methods |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.