Benchmark name | When Created |
---|---|
substring vs slice v0.1 | 3 years ago |
substring vs slice | 3 years ago |
indexof includes | 3 years ago |
split vs slice
Javascript split vs slice performance |
3 years ago |
Delete vs destructure for objects without mutating
Measure the performance of delete versus removing a prop from an object without mutating |
3 years ago |
Object.keys(obj)[0] vs for in
Test the performance to retrieve the first key of an object |
3 years ago |
for-in vs for key of Object.keys | 3 years ago |
String.match vs. RegEx.test | 3 years ago |
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 |
Double.js benchmark4
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 |