Benchmark name | When Created |
---|---|
nuTotalHeight() | 3 years ago |
array object bench v0.1
testing various way of doing it |
3 years ago |
Switch vs. If | 3 years ago |
New Variable of Result of Mutating Method vs. Same Variable
Tests how inefficient it is to save the result of a mutating method (that already changes the value passed to it) in a new variable. |
3 years ago |
Property vs. Variable Access | 3 years ago |
Double tilde vs Math.floor | 3 years ago |
Arrray.reduce + spread vs Array.flat | 3 years ago |
lodash uniq vs set with sort with unsorted array | 3 years ago |
lodash uniq vs set with sort | 3 years ago |
regex .replace() vs literal .replaceAll()
Test simple string replacement when we don't need regex features such as capture groups. |
3 years ago |
Lodash cloneDeep vs JSON Clone vs Deepcopy | 3 years ago |
Fast Sqrt 2234234
Compare Quakes fast inverse squareroot |
3 years ago |
Array.reduce vs for loops vs Array.forEach
A test summing 1000 random numbers, 1 - 10000 |
3 years ago |
json.stringify vs lodash.isEquals | 3 years ago |
Double.js benchmark5
Test runner for extended precision libraries (https://github.com/munrocket/double.js) |
3 years ago |
Reduce vs. ForEach in 2D array
Finding the last non-null index in a 2D array can be done in several ways, two of them are using a ForEach vs. a Reduce method. |
3 years ago |
delete vs this.$delete | 3 years ago |
Check function. typeof vs constructor + null check II
Difference between typeof(a => {}) === 'function' and (a => {}).constructor === Function |
3 years ago |
Flatmaps with native | 3 years ago |
JavaScript spread operator vs Object.assign performance no write over more props | 3 years ago |
JavaScript spread operator vs Object.assign performance no write over | 3 years ago |
Remove by splice + findIndex vs filter
Deletion of an element from an array. |
3 years ago |
testing power | 3 years ago |
spread vs. concat | 3 years ago |
Math.floor vs Math.trunc | 3 years ago |