Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

slice vs substr vs substring (with start index 0)

Compares slice, substr and substring to each other when the start index is 0

Array.filter vs. Array.indexOf + splice

No description provided

Array.forEach vs for(const value of array) vs index vs Array.reverse + reversed index

No description provided

uniq vs groupBy

No description provided

forEach concat vs reduce push vs forEach push vs reduce concat performance test 2

No description provided

Remove by reverse splice loop vs filter 2

Deletion of elements from an array.

Remove by reverse splice loop vs filter

Deletion of elements from an array.

Array loop vs foreach vs map 36000

36000

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

No description provided

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?