Benchmark name When Created
for-in-hasOwnProperty vs for of object.keys 3 months ago
matches vs. closest vs. classList vs. querySelector 3 months ago
style.setProperty vs style.removeProperty vs style.cssPropertyName 3 months ago
Array.find vs. Map.get small vs Object

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

3 months ago
Array.find vs. Map.get small

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

3 months ago
attr setting demo 3 months ago
String split using regex vs string v4 3 months ago
typeof vs truthyness benchmark 3 months ago
JS Fastest Array Shallow Copy21312312

Testing the results for the fastest approach of shallow copying an array in JavaScript (concat, slice, for loop, and while loop).

3 months ago
Lodash "uniqWith" "uniqBy" 3 months ago
Compare hash functions with xxHash optimizations 3 months ago
Compare hash functions 3 months ago
Template Literal vs String 3 months ago
JS Performance (const vs let vs var) 3 months ago
JS Variable Performance (const vs let vs var) 3 months ago
Array isArray vs typeof vs array || [] 3 months ago
TestLoop 3 months ago
searching urlencoded emojis vs emoji strings 3 months ago
RegEx.test vs. String.includes vs. String.match vs String.includes (using ||) (with multiple strings) 3 months ago
pass by value or by object to destructure 3 months ago
Nullish vs If 2 lvl 3 months ago
Nullish vs If 3 months ago
setPrototypeOf test [ 3 months ago
replaceAT 3 months ago
JavaScript spread operator vs Object.assign performance vs manual copy With more complex data 3 months ago

 Create Your benchmarks