Benchmark name | When Created |
---|---|
querySelector vs Loop v6
If you have a large number of elements, is it faster to use querySelectorAll, or to iterate over an array? |
one year ago |
Bitwise vs pow | one year ago |
const vs var vs let performance in loop version 2
const vs var vs let performance in loop |
one year ago |
const vs var vs let performance in loop
const vs var vs let performance in loop |
one year ago |
Undefined vs null | one year ago |
RegEx.test (various styles) vs. String.includes vs. String.match vs. String Equality vs. String.indexOf | one year ago |
Array spread vs unshift | one year ago |
reduce with for vs. native reduce | one year ago |
Shallow Copy Array | one year ago |
TextDecoder vs String.fromCharCode 2023 | one year ago |
Object.values(...).find(...) vs _.find(...,...) | one year ago |
ArrayBuffer encoding / decoding methods
Array.from() vs TextDecoder() and new Uint8Array() vs TextEncoder() |
one year ago |
new Array() vs Array.from()
Test Array creation methods on a random ArrayBuffer |
one year ago |
new Uint8Array() vs Uint8Array.from()
Test ArrayBuffer creation methods on a random Array |
one year ago |
Assign once vs destructure twice | one year ago |
Array split vs string substring. For all split strings (v1) | one year ago |
Array split vs string substring. For all split strings | one year ago |
Javascript Sort (numbers/strings)
Port from jsperf(https://jsperf.com/sorting-algorithms/58) |
one year ago |
Javascript Sort
Port from jsperf(https://jsperf.com/sorting-algorithms/58) |
one year ago |
object-hash vs JSON.stringify | one year ago |
startWith/includes | one year ago |
Array.includes() vs Set.has() | one year ago |
Array.find vs. Map.get
Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map |
one year ago |
ISO 8601 vs Epoch | one year ago |
ISO 8601 | one year ago |