Benchmark name | When Created |
---|---|
Maping BooleanArray vs uInt8 Array2 vs uint8 with bitMasking _2
compare the map speed of an array of random true/false values compared to an ArrayBuffer with a uInt8 view of 0 or 1. The results are that the typed array is much much faster. There are two possible reasons I can think of for this. 1) JavaScript boolean type size of 4Bytes where as an element of a uInt8 array is actually 1Byte. 2) The ArrayBuffer is allocating contiguous memory resulting in a better cache hit ratio. |
6 years ago |
Structification | 6 years ago |
Lodash cloneDeep vs JSON Clone (Large Object 2) | 6 years ago |
Lodash cloneDeep vs JSON Clone (Large Object) | 6 years ago |
Javascript concat vs concat with ES6 spread vs ES6 construction with ES6 spread | 6 years ago |
mustache rendering performance-fix
fix handlebars |
6 years ago |
mustache rendering performance test | 6 years ago |
for loop vs array find | 6 years ago |
Has Class Function
Determining which method to check if an element has a specific class. |
6 years ago |
NESTEST3 | 6 years ago |
NESTEST2 | 6 years ago |
Has Class With Cache
Determining which method to check if an element has a specific class. |
6 years ago |
Has Class
Determining which method to check if an element has a specific class. |
6 years ago |
reparsing jQuery speed test | 6 years ago |
.startsWith vs .charAt for single character v3
Testing some things |
6 years ago |
Filter-Map: Lodash vs Native | 6 years ago |
Get and Put image data on a canvas | 6 years ago |
If-or-object-2 | 6 years ago |
.startsWith vs .charAt for single character v2
Testing some things |
6 years ago |
.startsWith vs .charAt for single character
Testing some things |
6 years ago |
if comparison to array.includes | 6 years ago |
Map .has() vs .get()
This is to compare the cost of this pattern ```if (map.has(key)) func1(map.get(key))``` v/s ```const v = map.get(key); if (v) func1(v);``` |
6 years ago |
Array vs Linked List (push)
Manage Todos in a list - compare performance of Array vs Linked List. |
6 years ago |
Lodash isEqual test with Equation
Test on isEqual performance |
6 years ago |
Ramda vs. Lodash (fix)
Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits. |
6 years ago |