Benchmark name When Created
inline svg vs div-2-ayr

Comparing performance of: Inline SVG vs Div

4 months ago
inline svg vs div-2

Comparing performance of: Inline SVG vs Div

4 months ago
Object from array: map + Object.fromEntries vs reduce 4 months ago
some vs for...break 4 months ago
lodash uniqby 4 months ago
switch vs if else 4 months ago
Benchmark for comparing common vs unique collator object on each sort iteration 4 months ago
simple js test 4 months ago
JS Map<number, object> vs Array<{ number, object }> Small 4 months ago
JS Map<number, object> vs Array<{ number, object }> 4 months ago
Some vs. Filter vs. indexOf vs. Includes vs. Find vs. findIndex performance 4 months ago
get navigation type 4 months ago
Looping with Index: forEach vs array.entries vs for 4 months ago
Array forEach callback function as a parameter vs as a predefined variable + compared to using callback parameters vs without + for..of, for..in, for loop 4 months ago
.map().includes() vs .some() 4 months ago
Performance of JavaScript .reduce vs. for vs. for..of 4 months ago
Array.every vs JSON.stringify vs foreach 4 months ago
String wrapping 4 months ago
Array splice vs array assign 4 months ago
Object.fromEntries vs reduce vs classic for v3 4 months ago
forEach vs for len vs for in vs for of fix

created based off of an archived jsperf benchmark: http://web.archive.org/web/20191008221700/https://jsperf.com/foreach-vs-for-loop-vs-for-in-vs-for-of-vs-babel-for-of change var to let. for of returns the value directly. So you don't get value from testData array.

4 months ago
Object.fromEntries vs reduce vs classic for2 4 months ago
Object.fromEntries vs reduce vs classic for 4 months ago
array.sort vs array.toSorted 4 months ago
Class method / instance method / bind this – more closer to reality test 4 months ago

 Create Your benchmarks