Benchmark name When Created
Math.pow(x,2) vs Math.sqrt(x) one year ago
for loop length vs length+1 vs less-equal one year ago
for loop length vs length+1 one year ago
Memoized Intl.NumberFormat vs fresh instances one year ago
new Intl.NumberFormat vs cached instances one year ago
What's faster? cached Intl.NumberFormat vs new Intl.NumberFormat vs toLocaleString currency one year ago
new arrow fn vs fn bind one year ago
__proto__ vs assign field one year ago
fn field vs obj field one year ago
Array.from vs string split vs spread unicode one year ago
_.cloneDeep vs structuredClone vs my cloneDeep

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

one year ago
_.cloneDeep vs structuredClone vs cloneDeep

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

one year ago
new Uint8Array() vs Uint8Array.from() reverse

Test ArrayBuffer creation methods on a random Array

one year ago
Lodash vs Ramda vs Native 2023-12-24

Tests libraries lodash, ramda and native array functions on a sequence of map, filter, map filter operations.

one year ago
Array.from() vs new Array() vs push

Testing the difference between creating filled arrays.

one year ago
Splice vs Shift to remove from the beginning one year ago
prepend vs replaceWith - O(n) reconciliation algorithm one year ago
let vs const in tight loops

Checks whether using const helps for performance or not compared to using let everywhere

one year ago
Encode vs Blobie one year ago
if-else vs switch22 one year ago
Bitwise vs modulo (2) one year ago
Searching in arrays one year ago
template innerHTML vs DocumentFragment vs createElement - createTextNode FIXED

previous version didn't deep clone the template element.

one year ago
slice vs new array one year ago
spread for test one year ago

 Create Your benchmarks