Benchmark name When Created
RegEx.test vs. String.includes vs. String.match db 7 months ago
Array.splice vs Array.filter V223

Test a speed difference between these 2 approaches

7 months ago
For Loop VS Filter Map 7 months ago
length - 1 vs pop vs shift 7 months ago
BC just a quick test of jq vs native map

benchmark different versions of jquery

7 months ago
fractional math pow vs multiply 7 months ago
Object.fromEntries vs Map 7 months ago
Some vs Find2 7 months ago
flatmap: lodash vs native 7 months ago
native reverse find vs native array findLast vs for loop find

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

7 months ago
Finding the Fastest Clamp

Generates a list of random numbers between -1.5 and +1.5 then loops through the list with each function. Functions that uses branches should have more variance in speed since they can potentially exit early. Functions that use arithmetic should have little to no variance but do more computation.

7 months ago
Dynamic Set vs Object vs Map 7 months ago
Set vs Array Privilege Check 7 months ago
regex.test vs. array.includes 7 months ago
instanceof vs typeof vs !!value 7 months ago
instanceof vs typeof vs !! 7 months ago
Map.has vs Object hasOwnProperty vs direct check v2

Lookup of map vs object

7 months ago
Map.has vs Object hasOwnProperty vs direct check

Lookup of map vs object

7 months ago
Map.has vs Object hasOwnProperty

Lookup of map vs object

7 months ago
Array.find vs Map.get

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

7 months ago
structuredClose(myObject) vs JSON.parse(JSON.stringify(myObject))

Both structuredClone(myObject) and JSON.parse(JSON.stringify(myObject)) can be used to create deep copies of JavaScript objects, but which is faster for a decent sized object?

7 months ago
DOMParser vs createElement

which is faster for converting raw html into textContent

7 months ago
Intl.Collator.compare() vs localeCompare() #2 7 months ago
Intl.Collator.compare() lowercase vs sensitivity vs localeCompare 7 months ago
JS if/if vs if/else if with negotiations

Modification of https://www.measurethat.net/Benchmarks/Show/1726/0/js-ifif-vs-ifelse-if with test case for heterogeneous checks

7 months ago

 Create Your benchmarks