Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Generic TreeWalker vs querySelectorAll vs getElementsByTagName

No description provided

Regex vs substring2

No description provided

Regex testing whitespace vs trim

No description provided

loop test regex

No description provided

maxddddd2

No description provided

maxddddd

No description provided

Mutation vs non-mutation in reduce

No description provided

Array.from vs Spread 1k elements

No description provided

string concat using different approaches

No description provided

Lodash Uniq vs Javascript Set 10000 items

No description provided

Optional chaining vs native code(Opt)

No description provided

ramda merge.all vs object.assign vs spread

No description provided

javascript concat vs spread operator vs push

javascript concat vs spread operator vs push

+ vs parseInt

No description provided

new Array from vs slice vs push vs index vs spread

No description provided

Canvas test

test

Lodash vs vanila 3.3

No description provided

Lodash vs vanila 3.2

No description provided

test power

t

Lodash vs vanila 2

No description provided

Array vs Linked List123451

Manage Todos in a list - compare performance of Array vs Linked List.

Array vs Linked List12345

Manage Todos in a list - compare performance of Array vs Linked List.

slice vs substr vs substring vs replace

Compares slice, substr and substring to each other when there is only a start index

slice vs substr vs substring (with no end index) 22

Compares slice, substr and substring to each other when there is only a start index

3xif||regexp2

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...