Benchmark name | When Created |
---|---|
.map().includes() vs .some() | 22 days ago |
Performance of JavaScript .reduce vs. for vs. for..of | 22 days ago |
Array.every vs JSON.stringify vs foreach | 22 days ago |
String wrapping | 22 days ago |
Array splice vs array assign | 22 days ago |
Object.fromEntries vs reduce vs classic for v3 | 22 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. |
22 days ago |
Object.fromEntries vs reduce vs classic for2 | 22 days ago |
Object.fromEntries vs reduce vs classic for | 22 days ago |
array.sort vs array.toSorted | 22 days ago |
Class method / instance method / bind this – more closer to reality test | 22 days ago |
test stringify | 22 days ago |
Converting array to object using Array.reduce(), Object.fromEntries(), Object.assign(), for loop, ...spread | 22 days ago |
switch function vs switch inline vs object vs Map | 23 days ago |
array includes vs key in object
performance comparison of ways to find if an array contains a value |
23 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. |
23 days ago |
Compare comparison with/without null or undefined | 23 days ago |
json vs arraybuffer | 24 days ago |
Converting a small Set to an Array
Return a new Array containing all elements in a Set in insertion order. |
25 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 |
25 days ago |
Looping Frozen object: Object Freeze vs Deep Freeze vs Without Object Freeze vs | 25 days ago |
Looping Frozen object: Object Freeze vs Without Object Freeze | 25 days ago |
func vs array | 25 days ago |
Please ignore this benchmark
This is a just a template for my other benchmarks. |
25 days ago |
Direct call vs bind vs lambda | 25 days ago |