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 a = [5, 10, 15, 28, 39, 46, 49, 57, 66, 70, 75, 90, 100, 106, 107, 112, 123, 125, 129, 137, 150, 152, 176, 195, 203, 225, 235, 254, 264, 266, 292, 293, 305, 309, 324, 365, 367, 378, 382, 388, 402, 432, 472, 476, 480, 482, 488, 490, 497, 509, 523, 544, 563, 572, 573, 574, 575, 595, 613, 622, 624, 626, 628, 662, 665, 674, 686, 701, 704, 710, 715, 727, 730, 734, 741, 752, 767, 777, 781, 788, 792, 797, 800, 823, 824, 836, 841, 865, 882, 885, 890, 898, 920, 925, 928, 932, 940, 944, 955, 997];
const b = [ 2, 15, 18, 20, 31, 39, 50, 52, 61, 64, 73, 87, 93, 98, 103, 106, 111, 113, 120, 141, 199, 207, 233, 255, 267, 280, 281, 291, 301, 307, 328, 335, 346, 347, 350, 368, 370, 372, 402, 427, 437, 446, 450, 453, 466, 479, 483, 494, 501, 503, 515, 522, 557, 559, 563, 572, 580, 586, 589, 597, 606, 622, 638, 641, 659, 672, 677, 678, 687, 711, 713, 722, 724, 731, 734, 766, 771, 778, 786, 788, 815, 816, 818, 838, 839, 843, 850, 861, 880, 881, 883, 892, 902, 904, 912, 932, 935, 937, 953, 972];
const c = [ 3, 34, 37, 55, 59, 61, 63, 76, 90, 96, 103, 132, 138, 139, 141, 149, 150, 171, 177, 201, 206, 215, 217, 229, 268, 291, 294, 326, 335, 349, 352, 358, 364, 366, 372, 381, 386, 387, 391, 406, 412, 425, 427, 433, 443, 444, 449, 451, 464, 474, 476, 499, 501, 542, 555, 566, 577, 581, 588, 589, 601, 603, 607, 613, 618, 627, 628, 641, 642, 646, 656, 663, 674, 681, 688, 691, 698, 707, 708, 715, 736, 755, 756, 763, 777, 781, 814, 835, 839, 868, 887, 900, 915, 926, 937, 942, 948, 970, 977, 980];
const d = [2, 24, 33, 36, 40, 43, 51, 67, 68, 81, 87, 92, 104, 114, 144, 154, 157, 167, 196, 200, 201, 205, 208, 209, 211, 213, 226, 227, 247, 249, 257, 278, 288, 294, 331, 332, 335, 349, 356, 363, 366, 389, 391, 395, 397, 421, 435, 436, 456, 466, 469, 470, 479, 500, 507, 508, 530, 533, 536, 539, 548, 580, 587, 594, 606, 612, 616, 623, 648, 655, 657, 659, 688, 692, 709, 715, 716, 732, 746, 749, 750, 761, 774, 780, 790, 791, 852, 873, 912, 926, 927, 929, 938, 951, 954, 955, 956, 972, 983, 994];
Ready to run.
Test | Ops/sec | |
---|---|---|
Indirect |
| ready |
Direct |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.