Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

luxon vs datefns vs moment vs day.js test

No description provided

luxon vs datefns vs moment vs day.js 123

No description provided

bit flags: number vs bigint

just comparing existence. probably could do more but just want to test single op

slice() vs slice(0)

No description provided

Object vs Map - creation with dynamic keys

Explores performance of different ways to build a data structure with a dynamic set of keys that we know up front.

JQuery4 new div element with class - 1k reps [b]

Faster way to create new dom elements before insertion with JQuery (+ set class)

JQuery4 new div element with class - 1k reps

Faster way to create new dom elements before insertion with JQuery (+ set class)

JavaScript Array: Every-not vs not-Some

Compare the performance of using the Every and Some method in an Array

Const vs multiplechecks

No description provided

Object vs Set

Comparing using an object or Set for tracking unique values.

Cost of destructuring polyfill

http://shortn/_phn0vruuxP

className vs. classList - changing

Fork from https://measurethat.net/Benchmarks/Show/54/0/classname-vs-setattribute-vs-classlist

set.has vs. array.includes vs array.indexOf (string values) 2

No description provided

jquery 1.12.4 vs 2.2.4 vs 3.7.1 vs 4.0.0

No description provided

querySelector vs getElementByTagName arrays

Comparing performance of querySelector and getElementByTagName to array

Array pop vs at on splittet string

Comparing pop-push method vs last index check for an array element

id vs testid

No description provided

Math pow vs ** operator

No description provided

deflate - pako vs fflate - just one test

comparing deflate pako vs fflate

deflate - pako vs fflate - realistic - bring your own buffer

comparing deflate pako vs fflate

for loop vs. .map [5]

No description provided

for loop vs. .map [4]

No description provided

for loop vs. .map [3]

No description provided

for-in vs object.keys vs object.values for objects perf multiple incoming values

No description provided

Math.round() vs Number.toFixed(0)

as string