Benchmark name | When Created |
---|---|
Binary search in sorted 100k int array | one year ago |
loop options performance | one year ago |
flatMap vs reduce vs loop performance (version: 1) | one year ago |
flatMap vs reduce vs loop performance | one year ago |
select elements latency with data | one year ago |
select elements latency | one year 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)) |
one year ago |
Remove by splice vs filter with a known index
Deletion of an element from an array with a known index. |
one year ago |
Find VS FindIndex and select item | one year ago |
JSON parse vs structuredClone | longer json
Test json |
one year 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(). |
one year 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(). |
one year ago |
Date Creation awertwerewrqw | one year ago |
console-19281589175831 | one year ago |
console-1928158917583 | one year ago |
spread111 | one year ago |
Filter vs toSpliced | one year ago |
DataAttribute vs Class Selector vs ID Selector vs ~= | one year ago |
Filter array using includes vs object lookup | one year ago |
Dompurify vs js-xss | 28052024 | one year ago |
Dompurify vs js-xss | 84322342341 | one year ago |
Dompurify vs js-xss | 8432508234 | one year ago |
match vs for loop | one year ago |
includes vs regex testcases
string.includes vs regex.test methods |
one year ago |
Nested delete vs assign to undefined | one year ago |