Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

delete vs use spread to omit property

No description provided

Lodash.isEqual vs JSON.stringify big object

No description provided

lodash vs native tolower on nestedobject

No description provided

Array.prototype.forEach.call vs. Array.from(getElementsByClassName).forEach - remove(

No description provided

Math.pow vs x*=x vs x=x*x

No description provided

JSON Stringify Speed Test

This benchmark tests whether the speed or JSON.stringify changes with object size

Array.indexOf vs Array.includes

No description provided

Math.max/min vs function ternary vs inline ternary

No description provided

Array<string>.join vs Array<string>.reduce

No description provided

uderscore.each vs jQuery each

No description provided

replace vs substring

Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...

sanitize-html vs nothing

No description provided

Spread vs if/else vs switch/break

No description provided

Array.includes vs Set.has v3

No description provided

Map Find Object

No description provided

push vs spread operator (test)

No description provided

Number vs + vs parseFloat vs parseInt

No description provided

isNaN vs isInteger

No description provided

Array vs UInt8Array resizing

No description provided

Math.abs speed

No description provided

Map has vs array some in loop

No description provided

matches vs. classList

matches vs. classList

Math.pow vs ** vs sqrt

No description provided

Unique Array: Lodash vs spread new Set vs reduce vs for v2

No description provided

Array.includes vs Array.find vs Array.indexOf

No description provided

NEW BENCHMARK Your Benchmarks