Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

parseInt vs Math.trunc vs | 0

No description provided

Math.sumPrecise array/TypedArray

No description provided

new TypedArray() vs TypedArray.of()hgcvyuhj

No description provided

filter vs filter(boolean)

No description provided

memoized hook vs raw hook

No description provided

memoized hook vs not

No description provided

FlatMap vs For-Loop

No description provided

State Key Creation (With Preparation Code)

my test benchmark

State Key Creation

my test benchmark

key creation v2

No description provided

key creation

No description provided

querySelectorAll vs getElementsByTagName for all nodes

No description provided

.startsWith() vs .test() vs .match() vs .indexOf() vs .substr()

No description provided

toFixed vs Math.round -> string

toFixed vs Math.round when both are eventually embedded into a string.

RegEx.test vs String.includes (mutiple pattern)

No description provided

.startsWith(x, index) vs indexOf(x, index) === index

No description provided

Live collections vs querySelectorAll vs getElementsByTagName

No description provided

Object.groupBy vs manual groupBy object vs manual groupBy Map

No description provided

createElement vs innerHTML for creating elements in DOM vs DocumentFragment

Speed of inserting DOM elements by various methods

Lodash.isEqual vs JSON.stringify Equality Comparison for nested Array of Strings.

Test on isEqual performance

JavaScript spread operator vs object update vs object assign performance

No description provided

Concat vs push(...) vs push.apply() for large arrays

Comparing the various ways to append to a large array

Uint16Array vs Array

No description provided

test js nb comparezarg

No description provided

for vs foreach vs some vs for..of (1 million)

No description provided

NEW BENCHMARK Your Benchmarks