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 testString1 = "apple,orange,banana,grape,kiwi,mango,pineapple," +
"watermelon,lemon,blueberry,peach,pear,strawberry," +
"raspberry,blackberry,avocado,papaya,pomegranate," +
"apricot,nectarine,fig,guava,dragonfruit,persimmon," +
"kumquat,passionfruit,lychee,coconut,cranberry," +
"elderberry,boysenberry,loganberry,mulberry," +
"gooseberry,blackcurrant,redcurrant,whitecurrant," +
"cherimoya,plantain,starfruit,quince," +
"tiger,lion,elephant,giraffe,zebra,cheetah," +
"penguin,koala,kangaroo,koala,platypus," +
"ostrich,lemur,meerkat,sloth,armadillo," +
"whale,dolphin,shark,seahorse,starfish," +
"cactus,rose,lily,tulip,sunflower," +
"ocean,mountain,desert,forest,sky," +
"moon,sun,star,planet,globe," +
"chocolate,coffee,tea,ice cream,cake," +
"keyboard,mouse,monitor,laptop,tablet," +
"book,pen,pencil,paper,eraser," +
"guitar,piano,violin,drums,trumpet," +
"car,bicycle,motorcycle,train,plane," +
"ship,rocket,submarine,balloon,unicorn";
const searchString1 = "unicorn";
Ready to run.
Test | Ops/sec | |
---|---|---|
include |
| ready |
indexOf |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.