Benchmark name When Created
querySelector(nth-of-child) vs querySelectorAll 2 months ago
testing 20250224 querySelector(nth) vs querySelectorAll

querySelector(nth) vs querySelectorAll

2 months ago
Untransform vs save canvas 2 months ago
Random generation of 4096 values (Math.random vs Crypto API) 2 months ago
SVD speed test 2 months 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...

2 months ago
array fill vs spread

Array fill method vs for loop performance validation

2 months ago
Array.from vs Array.fill vs [...Array].map 2 months ago
Dict vs. Map

Large dictionary - how worse is it from array with direct reference? And how does Map perform?

2 months ago
spread before shallow copy array method 2 months ago
Set ES2024 Method Benchmark 2 months ago
JS for loop vs Array.reduce 2 months ago
custom element vs div init 2 months ago
array[array.length - 1] vs array.at(-1) 1e5 2 months ago
HTMLImageElement vs HTMLCanvasElement vs ImageBitmap Forked

CanvasRenderingContext2d::drawImage with HTMLImageElement vs HTMLCanvasElement vs ImageBitmap

2 months ago
1/x vs x**-1 2 months ago
[] + push vs new Array() + index insertion (random insertion order) (fixed) 2 months ago
[] + push vs new Array() + index insertion (random insertion order) 2 months ago
[] + push vs new Array() + index insertion 2 months ago
new Array(length) vs Array.from({ length }) 2 months 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

2 months ago
Map vs Object - property access - (string, hashCode as number, hashCode as string) 2 months ago
Hashmap.has vs Array.Filter (random access - generated at start) 2 months ago
Hashmap.has vs Array.Filter 2 months ago
0f34ebcc-626d-4bc7-a899-c8b8f3db7d88 2 months ago

 Create Your benchmarks