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 notifications = [
{
1: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "WAIT_ON_HIDE",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
2: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "WAIT_ON_HIDE",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
3: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "SHOWING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
4: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "SHOWING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
5: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "HIDING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
41: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "SHOWING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
10: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "WAIT_ON_HIDE",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
21: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "WAIT_ON_HIDE",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
51: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "HIDING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
31: {
abortController: new AbortController(),
aninmationDuration: 500,
dismissable: true,
state: "SHOWING",
text: "This instance allows at most a single, sticky notification to be shown.",
title: undefined,
type: "default",
visibleTimeMs: 60000,
},
},
];
Ready to run.
Test | Ops/sec | |
---|---|---|
for |
| ready |
forEach |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.