Benchmark name | When Created |
---|---|
loop options performance | 6 months ago |
flatMap vs reduce vs loop performance (version: 1) | 6 months ago |
flatMap vs reduce vs loop performance | 6 months ago |
select elements latency with data | 6 months ago |
select elements latency | 6 months ago |
isNaN(input) vs Number.isNaN(Number(input))
benchmark for using: - implicit conversion of string to number -> isNaN(input) vs - strictness conversion of string to number and after it compare with NaN -> Number.isNaN(Number(input)) |
6 months ago |
Remove by splice vs filter with a known index
Deletion of an element from an array with a known index. |
6 months ago |
Find VS FindIndex and select item | 6 months ago |
JSON parse vs structuredClone | longer json
Test json |
6 months ago |
2 spread + 2 Maps + 1 Math.min() + 1 Math.max() vs 1 Array.reduce()
Compare speed of spreading and executing Math.min() and Math.max() for one array vs Array.reduce(). |
6 months ago |
1 Math.min() + 1 Math.max() vs 1 Array.reduce()
Compare speed of executing Math.min() and Math.max() for one array vs Array.reduce(). |
6 months ago |
Date Creation awertwerewrqw | 6 months ago |
console-19281589175831 | 6 months ago |
console-1928158917583 | 6 months ago |
spread111 | 6 months ago |
Filter vs toSpliced | 6 months ago |
DataAttribute vs Class Selector vs ID Selector vs ~= | 6 months ago |
Filter array using includes vs object lookup | 6 months ago |
Dompurify vs js-xss | 28052024 | 6 months ago |
Dompurify vs js-xss | 84322342341 | 6 months ago |
Dompurify vs js-xss | 8432508234 | 6 months ago |
match vs for loop | 6 months ago |
includes vs regex testcases
string.includes vs regex.test methods |
6 months ago |
Nested delete vs assign to undefined | 6 months ago |
dayjs vs luxon between | 6 months ago |