Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Temporal vs Date

No description provided

Reduce vs Object.assign vs Object.fromEntries #2

No description provided

chunk - lodash vs native splice

No description provided

parse nested keys

No description provided

filter vs filter(boolean) vs filter(!!)

No description provided

normal function with/without arguments/eval

hypothesis: having arguments/direct eval in a function body makes it slower(?)

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