Benchmark name | When Created |
---|---|
hasOwnProperty vs NO-hasOwnProperty vs object.keys | 4 months ago |
Math.pow vs ** vs * vs eToNumber | 4 months ago |
JS Shift vs Pop w/ Push | 4 months ago |
Test map efficiency test2 | 4 months ago |
Test map efficiency | 4 months ago |
Lodash some vs JavaScript Object.values and some
Comparing performance of: Lodash vs Native |
4 months ago |
(Expanded) Filtering out empty rows from a 2D Array | 4 months ago |
Filtering out empty rows from a 2D Array | 4 months ago |
Lodash Set performance
perf check vs simple implementation |
4 months ago |
uniq vs [new Set()] | 4 months ago |
Intl.NumberFormat vs toLocalString- | 4 months ago |
meow meow meow meow ,epw
Compare round lodash function vs javascript native toFixed() function |
4 months ago |
meow meow meow meow
Compare round lodash function vs javascript native toFixed() function |
4 months ago |
stringPrettify | 4 months ago |
uniq vs new Set() | 4 months ago |
Array element assignment
Replace the content of one array with the content of another array. Assume that: • alternative approaches are not a choice: • reusing the second array; • cloning the second array; • the arrays are not the same, are not sparse and are of the same length; • content order must be kept; • the difference between +0 and -0 and the differences between NaNs are irrelevant: • we can use === or Object.is() to avoid assignments; • otherwise, elements are opaque; The tests with literals, constants and variables serve as baselines for performance comparison. |
4 months ago |
flat vs forEach | 4 months ago |
if-else vs switch 545 | 4 months ago |
spread vs loop | 4 months ago |
Checkboxes table OBJECT VS ARRAY | 4 months ago |
SolidJS: html vs h | 4 months ago |
__proto__: null vs Object create null | 4 months ago |
Lodash merge vs Immer Produce on moderate size object
Lodash CloneDeep vs Immer Produce on moderate size object with 1000 elements in an array |
4 months ago |
Lodash CloneDeep vs Immer Produce on moderate size object
Lodash CloneDeep vs Immer Produce on moderate size object with 1000 elements in an array |
4 months ago |
RegExp search and replace vs URL and searchParams delete | 4 months ago |