Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash uniq vs ES6 Set and sort with 2 arrays

Benchmarking the action to join 2 string arrays, remove the duplicates values (we have 4 in this test) and then sorting them.

Uniq vs Sorted Set

Uniq returns a soted array removing duplicates. Let's compare with native sort and set.

get content of object

No description provided

AddEventListener vs direct v2

No description provided

AddEventListener vs direct

No description provided

creating new object vs changing fields

perfomance differences

array indexOf vs includes vs some

performance comparison of ways to find if an array contains a value

test isEqual

No description provided

Broken HTML

Test to break the layout

Lodash.get vs Property dot notation Roy

No description provided

isDeepEqual vs isEqual

No description provided

ordered versus reversed (+ cached)

No description provided

reversed versus ordered (+ cached)

No description provided

reversed versus ordered

No description provided

Deferred & Regular & Async hybrid test

Testing deferred test support that will come in MeasureThat.net v 1.6.0

Async Test

Testing async test support that will come in MeasureThat.net v 1.6.0

Canvas image size performance

Performance

return err vs throw err

No description provided

querySelectorAll data attribute vs class name v2

No description provided

i++ ++i i += 1

No description provided

typeof undefined vs falsey/truthy

which is faster

internal scope

No description provided

Custom Flatmap

Comparison between using JS' native flatMap, a custom flatMap, and lodash's flatMap. Custom flatMap works with all Iterable types, so need to convert Map's to arrays before flatMapping.

Set has vs object key vs Array includes (key is at the end)

performance comparison of ways to find if an array contains a value

regex replace performance : chaining replace vs table function replace

No description provided