Benchmark name | When Created |
---|---|
Stringify vs toString vs Object Reduce
Test performance to get strings from Object |
11 months ago |
Get the only item in an array
How do array.toString(), array.shift(), and array.pop() compare to array[0] when retrieving the only item in an array |
11 months ago |
test date check | 11 months ago |
chain of or equals vs Array.includes (upd)
What works best when value misses all the conditions. |
11 months ago |
chain of or equals vs Array.includes
What works best when value misses all the conditions. |
11 months ago |
chain of or equals vs includes 2
how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs |
11 months ago |
lodash clonedeep vs json.parse(stringify()) vs recursivecopy vs structuredClone 1234 | 11 months ago |
startsWith vs indexOf with Array.filter for user dataset | 11 months ago |
JavaScript spread operator vs Object.assign performance GifCo
Perf test of Spread vs Object.assign() |
11 months ago |
Trim vs regex
Check for valid input by doing string.trim() or /./.test(text) |
11 months ago |
Set Has vs Array Includes Smaller
Comparing performance of Set.has() vs Array.includes() |
11 months ago |
test international | 11 months ago |
array find vs for-loop vs while | 11 months ago |
Array.find() vs for loop | 11 months ago |
Hex To RGB | 11 months ago |
substr vs substring vs slice | 11 months ago |
Object.keys vs Object.entries vs Object.values | 11 months ago |
(ColorfulCakeChen) Image Scaling (50c1b285ff7c7f8c656c388365b4043528642d6b) 93 | 11 months ago |
id performance comparison | 11 months ago |
detecting if var is instance of class | 11 months ago |
Immer freeze comparison2 | 11 months ago |
Immer freeze comparison | 11 months ago |
JS instanceof vs in | 11 months ago |
divide and conquer 2 | 11 months ago |
divide and conquer | 11 months ago |