Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

array math.max vs for loop variants

compare finding the maximum value with math.max using .apply & using the spread (...) operator, vs a basic for loop with an if statement, a basic foor loop using length caching, a reversed iterate basic loop, & finally a for-of loop

12331321

No description provided

exec vs split

No description provided

query selector speed test

No description provided

testowy benchmark123

No description provided

last i in Array

myArr.Length vs myArr[i]

Lodash merge vs mergedeep 1

No description provided

Lodash merge vs mergedeep

No description provided

Array.find vs. Map.get 20241610 2

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.get 20241610

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Normal function vs Arrow function comparison

No description provided

for vs foreach vs for-const vs for..of

Compare loop performance

_.fm vs native.fm latest lodash

No description provided

_.fm vs native.fm

No description provided

useMemo slice

No description provided

Array concat vs spread operator vs push vs spread whole

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

String search vs Array search vs Obj key search

No description provided

object spread vs immutable-js set vs native Map vs object

No description provided

Lodash cloneDeep vs structuredClone vs JSON encoding

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

typeof vs isNaN

No description provided

Regex vs startswith and slice single

No description provided

replaceChildren vs document fragment

No description provided

clear element using replaceChildren vs removeChild

No description provided

Option[Int]: box vs unbox

No description provided

boolean json stringify vs object tostring

No description provided