Benchmark name | When Created |
---|---|
key versus integer | 9 days ago |
JavaScript spread operator vs Object.assign performance vs Adding to object one (size 5) | 9 days ago |
JavaScript spread operator vs Object.assign performance vs Adding to object one | 9 days ago |
querySelector(nth-of-child) vs querySelectorAll and index array | 10 days ago |
querySelector(nth-of-child) vs querySelectorAll | 10 days ago |
testing 20250224 querySelector(nth) vs querySelectorAll
querySelector(nth) vs querySelectorAll |
10 days ago |
Untransform vs save canvas | 10 days ago |
Random generation of 4096 values (Math.random vs Crypto API) | 10 days ago |
SVD speed test | 10 days ago |
replace vs substring at the end
Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad... |
10 days ago |
array fill vs spread
Array fill method vs for loop performance validation |
10 days ago |
Array.from vs Array.fill vs [...Array].map | 10 days ago |
Dict vs. Map
Large dictionary - how worse is it from array with direct reference? And how does Map perform? |
10 days ago |
spread before shallow copy array method | 10 days ago |
Set ES2024 Method Benchmark | 11 days ago |
JS for loop vs Array.reduce | 11 days ago |
custom element vs div init | 11 days ago |
array[array.length - 1] vs array.at(-1) 1e5 | 11 days ago |
HTMLImageElement vs HTMLCanvasElement vs ImageBitmap Forked
CanvasRenderingContext2d::drawImage with HTMLImageElement vs HTMLCanvasElement vs ImageBitmap |
12 days ago |
1/x vs x**-1 | 12 days ago |
[] + push vs new Array() + index insertion (random insertion order) (fixed) | 12 days ago |
[] + push vs new Array() + index insertion (random insertion order) | 12 days ago |
[] + push vs new Array() + index insertion | 12 days ago |
new Array(length) vs Array.from({ length }) | 12 days ago |
integer vs decimal
- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0 |
12 days ago |