Benchmark name When Created
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 7 days ago
.map().includes() vs .some() 7 days ago
Performance of JavaScript .reduce vs. for vs. for..of 8 days ago
Array.every vs JSON.stringify vs foreach 8 days ago
String wrapping 8 days ago
Array splice vs array assign 8 days ago
Object.fromEntries vs reduce vs classic for v3 8 days 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.

8 days ago
Object.fromEntries vs reduce vs classic for2 8 days ago
Object.fromEntries vs reduce vs classic for 8 days ago
array.sort vs array.toSorted 8 days ago
Class method / instance method / bind this – more closer to reality test 8 days ago
test stringify 8 days ago
Converting array to object using Array.reduce(), Object.fromEntries(), Object.assign(), for loop, ...spread 8 days ago
switch function vs switch inline vs object vs Map 8 days ago
array includes vs key in object

performance comparison of ways to find if an array contains a value

8 days ago
Mapping a pair of numbers (2 numbers) to another number [Algorithm 1]

Comparing the performance of different implementations of 2-Tuple cache (mapping a pair of numbers to another number) when being used to achieve memoization a recursive algorithm.

8 days ago
Compare comparison with/without null or undefined 9 days ago
json vs arraybuffer 9 days ago
Converting a small Set to an Array

Return a new Array containing all elements in a Set in insertion order.

10 days ago
native vs native big vs bignumber.js vs. big.js vs break_infinity.js

Comparing performance of: Native vs Native + toFixed vs big.js vs bignumber.js vs break_infinity.js

10 days ago
Looping Frozen object: Object Freeze vs Deep Freeze vs Without Object Freeze vs 10 days ago
Looping Frozen object: Object Freeze vs Without Object Freeze 10 days ago
func vs array 10 days ago
Please ignore this benchmark

This is a just a template for my other benchmarks.

10 days ago

 Create Your benchmarks