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 dates = [
1787416191349,
1793732989773,
1802926160874,
1792611077555,
1804912408705,
1796877917991,
1787994213045,
1795201848911,
1796503650997,
1794889669241,
1796946386824,
1795740831645,
1798772904911,
1794781658024,
1795981352381,
1786052701691,
1784914264637,
1791239344386,
1797770403077,
1797348467600,
1791992780469,
1804142510400,
1787321293347,
1795785394848,
1804823878613,
1794409536647,
1791280275616,
1792155862924,
1784950892647,
1790488368304,
1795065488224,
1785668793721,
1794370660113,
1796162100072,
1791092315820,
1797350508907,
1794876148022,
1785073526561,
1795780866317,
1791919512583,
1794644318962,
1803527430033,
1796709704400,
1787292755322,
1804072588909,
1790187286565,
1796033566370,
1791544934977,
1790983901427,
1792888634746,
1790314498307,
1791468327760,
1797649079913,
1792571130732,
1801263832045,
1793806724134,
1789721123164,
1791073639387,
1804865225690,
1796436519000,
1801049190582,
1796712987560,
1802782064152,
1792782972694,
1801214779147,
1792675976211,
1793786765805,
1790484908743,
1792949064785,
1790693281856,
1790406862399,
1792349004516,
1787368005783,
1788108962437,
1789420856441,
1797362384482,
1798320254472,
1804311894650,
1792911917829,
1788642884461,
1803431380479,
1791547299013,
1802019274304,
1792943700497,
1791320208676,
1793361226570,
1804824572606,
1786870312380,
1796237970527,
1802468768615,
1795176634440,
1793631558992,
1792156194914,
1797292995756,
1788256620543,
1791262133355,
1792876283150,
1795294672570,
1790778911592,
1796866254481,
1791256371574,
1803879044343,
1789412163599,
1790895805242,
1789375651863,
1789372222441,
1792335661937,
1793130747671,
1803441604921,
1786563191524,
1791219368050,
1800775480051,
1793898541013,
1792606686251,
1793930005930,
1786348191845,
1793290280637,
1784974796760,
1791552937365,
1786542551072,
1796062990871,
1803908498574,
1795976357850,
1798033308532,
1797395470265,
1792298613677,
1801115307919,
1788295164336,
1796653368571,
1795319889365,
1786540838008,
1793898182740,
1795115782826,
1797176839674,
1793992874793,
1795784473037,
1789339347197,
1793854438989,
1792831348222,
1796919512583,
1792139713412,
1803142892367,
1800801771147,
1789945849440,
1795296232028,
1789499389362,
1796370276780,
1792008664062,
1802367295458,
1796251545172,
1793549664297,
1787313472977,
1791398005386,
1801862588884,
1803302972217,
1796004738280,
1789944458030,
1793364901447,
1789284727385,
1791643433831,
1794075092310,
1795697653170,
1804701612883,
1795824777679,
1786368882645,
1794603131795,
1801796864357,
1801633078646,
1787990295251,
1796655561919,
1796484813157,
1788109474268,
1790020456541,
1801472178838,
1796512342002,
1791880803048,
1796757546090,
1802450357317,
1790388708327,
1792291917829,
1788988445630,
1793689677461,
1791877665544,
1793020009790,
1797327642376,
1800610657551,
1795864318280,
1794371113777,
1795944824253,
1790007678764,
1787711837238,
1792887151089,
1804708821731,
1793419390016,
1792022671834,
1792823189065,
1795311910136,
1797785139275,
1790786998538,
1792205010772,
1797178477398,
1800288464264,
1797079373194,
1796320755317,
1796468442158,
1788338938337,
1794292134939,
1790158320382,
1791777975830,
1804006864637,
1803743836825,
1790340169507,
1802430328123,
1791350569517,
1795267208671,
1791964329501,
1802164462920,
1801044483997,
1789821405047,
1795738457658,
1800750436203,
1797894960381,
1797407921873,
1797086541714,
1797005774425,
1791034640634,
1796979676537,
1794874703450,
1800352079564,
1796742766515,
1796865178829,
1797015348600,
1790639318259,
1792141970310,
1790753938269,
1800777158652,
1804263663458,
1793134840259,
1804318916484,
1794965477748,
1803122920201,
1800937120634,
1791864073206,
1796254222707,
1804435756017,
1795525670527,
1803119291540,
1803675384952,
1791347124763,
1792892508482,
1788910338967,
1793214472981,
1791052912034,
1793161235143,
1792797280089,
1803745945433,
1791154714748,
1803652246442,
1794553633387,
1800247478609,
1791651962235,
1794552524959,
1793084870911,
1800493660800,
1796462249247,
1801014957548,
1792318861971,
1796715943816,
1794201426631,
1800427371711,
1794201163005,
1793260294783,
1791846034529,
1801428746052,
1797463535224,
1791010554932,
1792228975477,
1796143904980,
1790453623657,
1797380579783,
1803927070732,
1790846071453,
1802181793227,
1800280286867,
1793569198342,
1796561576058,
1793990031275,
1790905587851,
1792977329075,
1794418742632,
1794602747829,
1792335672261,
1800576197757,
1792144423983,
1797362172652,
1793666196390,
1792965400130,
1802396466567,
1796100284551,
1796664851841,
1793044750536,
1800090797986,
1791262642445,
1793961308449,
1790852670878,
1796567268297,
1803710859493,
1795860221180,
1803990485622,
1791659957850,
1790914096594,
1794617425744,
1793433899167,
1793034257584,
1794553199992,
1797360061914,
1793730462648,
1802592481230,
1796685536407,
1796140838660,
1794715483792,
1794676444573,
1796540879276,
1794703884774,
1803619876881,
1793185133700,
1796565689623,
1791745862323,
1791017290873,
1795895901803,
1800849820610,
1796667945865,
1795640115470,
1791751451894,
1791934178347,
1792304230735,
1793007237851,
1791246622731,
1790839222053,
1790800032349,
1794729735374,
1800978230425,
1792104549961,
1792414718840,
1790929442332,
1795391994373,
1796480773692,
1793599290621,
1803666553295,
1800891443849,
1793896429142,
1794570499992,
1793529672855,
1803138472565,
1800296808160,
1791157770276,
1801901637293,
1795124817259,
1802717038851,
1800836822645,
1804250509062,
1793602339224,
1793058126422,
1794059227126,
1795618254651,
1801124952007,
1802448886760,
1791283221738,
1800315174635,
1792411746807,
1791605326489,
1791345110507,
1791497411580,
1794053740869,
1796512413787,
1796922695781,
1800988551332,
1793557372748,
1793552045619,
1792471363683,
1803002242522,
1794723524814,
1793256325059,
1800577576569,
1796304992003,
1793342531572,
1800084334540,
1792214580995,
1796930781713,
1792259305908,
1796109728166,
1792914456115,
1793077918127,
1804268923673
];
Ready to run.
Test | Ops/sec | |
---|---|---|
Date.now() in const |
| ready |
Date.now() in filter |
| ready |
new Date.getTime() in const |
| ready |
new Date.getTime() in filter |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.