Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

obj property direct assign vs spread

No description provided

Object.create(null) vs Object literal - Creation and Iteration Performance

No description provided

Object.create(null) vs Object literal

No description provided

Benchmark getting file extension

No description provided

MapFilter (Native vs Ramda) 0.28

No description provided

Get Filtered Data Attributes 2

compare the retrieval of data attributes on an element filtering only certain prefixed attributes

Get Filtered Data Attributes

compare the retrieval of data attributes on an element filtering only certain prefixed attributes

d3 max on array from vs d3 max twice

No description provided

Performance Test: substring vs substring over limit

No description provided

+new Date vs new Date().getTime() 100k

No description provided

LocaleCompare

No description provided

if-else vs switch

No description provided

Compare Intersection lodash & filter

No description provided

jQuery hasClass vs jQuery data

No description provided

Namespacing id 3

No description provided

Regex vs split for Authorization Headers

Is it faster to get the meat from an Authorization header by splitting on the space? or using a regex replace and trim?

DOM traversal Compare 3

Yeah!

DOM traversal Compare

Yeah!

eval vs Function vs lodash.template v3

No description provided

Lodash cloneDeep vs structuredClone vs recursiveDeepCopy vs JSON clone

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

Add new element to array: push vs destructuring merging arrays

No description provided

Search and item

No description provided

splice(indexof()) vs filter

No description provided

Conditional non-empty Map clearing

No description provided

Conditional Map clearing

No description provided