Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

fn field vs obj field

No description provided

Array.from vs string split vs spread unicode

No description provided

_.cloneDeep vs structuredClone vs my cloneDeep

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

_.cloneDeep vs structuredClone vs cloneDeep

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

new Uint8Array() vs Uint8Array.from() reverse

Test ArrayBuffer creation methods on a random Array

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.

Array.from() vs new Array() vs push

Testing the difference between creating filled arrays.

Splice vs Shift to remove from the beginning

No description provided

prepend vs replaceWith - O(n) reconciliation algorithm

No description provided

let vs const in tight loops

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

Encode vs Blobie

No description provided

if-else vs switch22

No description provided

Bitwise vs modulo (2)

No description provided

Searching in arrays

No description provided

template innerHTML vs DocumentFragment vs createElement - createTextNode FIXED

previous version didn't deep clone the template element.

slice vs new array

No description provided

spread for test

No description provided

isNaN vs regex

No description provided

in vs simple if

No description provided

push vs idx

No description provided

Set has vs object keyx

performance comparison of ways to find if an array contains a value

simple array and map vs forEach vs for by cuteLuna v4

No description provided

simple array and map vs forEach vs for by cuteLuna v3

No description provided

Boolean vs !! vs length

No description provided

URI has No Extension

Tests whether or not a URI has a file extension