Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

[0] vs .shift()

No description provided

array map vs foreach push

No description provided

array from set vs lodash uniq

No description provided

eval vs json parse2

No description provided

Test add item from beggining vs end

No description provided

getElementById vs ParentElement.children

No description provided

willBeReplaced

No description provided

Array.prototype.slice vs spread operator performance

Compare the new ES6 spread operator with the traditional slice() method

innerHTML vs createElement

No description provided

Number.toLocaleString vs Intl.NumberFormat (single instance)

No description provided

JSON.stringify vs structuredClone vs cloneDeep 2

JSON.stringify vs structuredClone

JSON.stringify vs structuredClone vs cloneDeep

JSON.stringify vs structuredClone

Array concat vs spread operator benchmark

Compare the new ES6 spread operator with the traditional concat() method

for-in vs object.keys3

No description provided

Array vs Uint32Array (TypedArray) (part 2)

array.reverse(), array.toSorted(), array.sort(), array[i]

64k bytes of crypto.getRandomValues vs Math.Random (part 2)

Fair comparison using Crypto in batch mode. All tests run on TypedArray. All tests are inline without function call overhead. All tests use implicit type conversion without calling Math.floor()

reduce.concat() vs flat() copy

Compare the new ES6 spread operator with the traditional concat() method

strict equality, Number.isNan vs. isNan

No description provided

indexOf vs startsWith vs includes

Comparing the string methods: indexOf, startsWith, includes

Teste validação aqui 2

No description provided

Moment Dayjs comparison

No description provided

for const comparison

No description provided

const in a for loop

No description provided

vanilla test

No description provided

For vs for of redux

No description provided

NEW BENCHMARK Your Benchmarks