Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

undefined vs null vs bool vs isInteger check

type check performance

Node.nodeValue vs textNode.data

No description provided

Dayjs Date-fns format comparison

No description provided

condition if-else switch map

No description provided

For Loop vs While Loop vs indexOf vs includes

No description provided

URL Origin: startsWith vs Regex various

No description provided

jQuery vs Vanilla JavaScript

jQuery vs Vanilla JavaScript

Lodash get vs. es6 fallback values

No description provided

Array.includes vs String compare v2

Matching a string against more than one possibility.

document.body vs document.querySelector on element

No description provided

Lodash merge vs native spread and assign

No description provided

Last item in array slice/0 vs length - 1 vs slice/pop vs slice/shift

No description provided

js lowercase vs uppercase

No description provided

Lodash uniqBy vs Map destructuring

Lodash uniqBy vs [...new Map()]

Count char occurrence in string

http://stackoverflow.com/questions/4009756/how-to-count-string-occurrence-in-string http://stackoverflow.com/questions/881085/count-the-number-of-occurences-of-a-character-in-a-string-in-javascript

V8 garbage collection vs out-of-scope access cost

No description provided

Fast approx. atan2 vs Math.atan2 vs cached atan2 (v8 optimization buster + local scope)

No description provided

Fast approx. atan2 vs Math.atan2 vs cached atan2 (v8 optimization buster)

No description provided

Fast approx. atan2 vs Math.atan2 vs cached atan2

No description provided

Fast approx. atan2 vs Math.atan2

No description provided

Create an array with unique values - Lodash Uniq vs Javascript Set vs filter

No description provided

Split+join vs replace vs replaceAll

No description provided

Javascript classList.contains vs element.matches vs classList.some

No description provided

Javascript classList.contains vs element.matches

No description provided

Do While vs For loop

No description provided

NEW BENCHMARK Your Benchmarks