Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

charCodeAt vs [] comparison

No description provided

for / forEach

No description provided

find vs findIndex (Array prototype methods) vs indexOf

Measuring which is faster

Bitwise vs modulo

No description provided

innerHTML vs innerText vs textContent 3

blah blah

Math.pow performance

No description provided

Object.defineProperty vs direct assignment (ES6, minimal GC)

No description provided

Math.sqrt vs. ** 0.5

No description provided

a * a vs. a ** 2 vs. Math.pow(a, 2)

Comparing performace of: a * a vs. a ** 2 vs. Math.pow

ArrayBuffer.slice vs Uint8Array.slice

No description provided

TextDecoder plus array initialization vs String.fromCharCode

No description provided

Lodash cloneDeep VS spread operator vs structured clone on complex object

No description provided

RegEx.test vs. Equals

No description provided

date-fns vs moment addDays

No description provided

str.match vs str.Split - @

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

set vs array iteration + for each - large arrays - sum

No description provided

set vs array iteration + for each - large arrays

No description provided

++i vs i++ v.2

No description provided

jQuery vs Vanilla JS Selectors 3.7.1

No description provided

lodash groupBy vs Array.reduce 100k better 2

No description provided

benchmark the performance of Lodash with and without chaining 100 times

benchmark the performance of Lodash with and without chaining

Array fill map, vs for i loop

People tend to use array fil and then foreach, we know foreach is faster than a for loop, but is it also faster if you use array fill first?

For vs Foreach vs Do While vs While v3

See who is faster

JS string compare

Compare speed

math.pow vs multiply vs exponentiation

No description provided

NEW BENCHMARK Your Benchmarks