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
var ref = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
var dp = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1];
var formula = "=A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+Y+Z+AA+AB+AC+AD+AE+AF+AG+AH+AI+AJ+AK+AL+AM+AN+AO+AP+AQ+AR+AS+AT+AU+AV+AW+AX+AY+AZ+BA+BB+BC+BD+BE+BF+BG+BH+BI+BJ+BK+BL+BM+BN+BO+BP+BQ+BR+BS+BT+BU+BV+BW+BX+BY+BZ+CA+CB+CC+CD+CE+CF+CG+CH+CI+CJ+CK+CL+CM+CN+CO+CP+CQ+CR+CS+CT+CU+CV+CW+CX+CY+CZ+DA+DB+DC+DD+DE+DF+DG";
var formula_arr = ["=","A","+","B","+","C","+","D","+","E","+","F","+","G","+","H","+","I","+","J","+","K","+","L","+","M","+","N","+","O","+","P","+","Q","+","R","+","S","+","T","+","U","+","V","+","W","+","X","+","Y","+","Z","+","AA","+","AB","+","AC","+","AD","+","AE","+","AF","+","AG","+","AH","+","AI","+","AJ","+","AK","+","AL","+","AM","+","AN","+","AO","+","AP","+","AQ","+","AR","+","AS","+","AT","+","AU","+","AV","+","AW","+","AX","+","AY","+","AZ","+","BA","+","BB","+","BC","+","BD","+","BE","+","BF","+","BG","+","BH","+","BI","+","BJ","+","BK","+","BL","+","BM","+","BN","+","BO","+","BP","+","BQ","+","BR","+","BS","+","BT","+","BU","+","BV","+","BW","+","BX","+","BY","+","BZ","+","CA","+","CB","+","CC","+","CD","+","CE","+","CF","+","CG","+","CH","+","CI","+","CJ","+","CK","+","CL","+","CM","+","CN","+","CO","+","CP","+","CQ","+","CR","+","CS","+","CT","+","CU","+","CV","+","CW","+","CX","+","CY","+","CZ","+","DA","+","DB","+","DC","+","DD","+","DE","+","DF","+","DG"];
if (window.hasOwnProperty('console')) console.log(new_formula);
Ready to run.
Test | Ops/sec | |
---|---|---|
Runtime String Replacement |
| ready |
Pre-Processed String Array |
| ready |
Runtime Tokenized String |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.