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 matchingString = "view capture has timed out (in someMethodName) after 1000ms with a threshold of 1000ms. Captured view may be incomplete!";
const _callerRegex = /(?<=view capture has timed out \(in )(.*)(?=\) after )/g;
const _elapsedTimeRegex = /(?<=\) after )(.*)(?=ms with a threshold of )/g;
const _thresholdRegex = /(?<=ms with a threshold of )(.*)(?=ms. Captured view may be incomplete!)/g;
const _pattern = /^view capture has timed out \(in ([\w]+)\) after (\d+)ms with a threshold of (\d+)ms./;Ready to run.
| Test | Ops/sec | |
|---|---|---|
| lookback | | ready |
| cached-lookback | | ready |
| single-pattern | | ready |
| cached-single-pattern | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.