Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

delete vs new obj

No description provided

Traverse function vs NodeIterator vs TreeWalker1

Let's compare the speed of 3 different ways to traverse the DOM.

JQuery $(window) vs $window vs window.innerWidth

No description provided

Date.now vs setTimeout

No description provided

TreeWalker vs querySelectorAll vs NodeIterator + filter HTMLElement

No description provided

Dompurify vs sanitize-html vs js-xss

No description provided

string vs array

No description provided

new fetch vs ajax call

No description provided

hasOwnProperty vs Object.entries

Testing performance of a loop with hasOwnProperty vs a loop with Object.entries

charAt() vs slice()

Compare methods for accessing string's last character

Recursion vs Iteration (with tail recursion)

No description provided

Lodash vs. Set Intersection v2

No description provided

jQuery vs Native JS

Just checking jquery vs native js execution times

set.has vs. array.includes vs array.indexOf (string values) - longer

No description provided

Classnames vs clsx with different api

No description provided

Object values vs lodash _.values

Compare the new ES6 spread operator with the traditional concat() method

hasOwnProperty vs direct access (bool) vs in

No description provided

Bool check vs regex

No description provided

textContent vs nodeValue vs data

No description provided

Map from .reduce vs Map from .map vs Map from generator function

No description provided

Lodash cloneDeep vs JSON parse+stringify

No description provided

Lodash functionality to convert string to Uppercase vs native js

lodash vs native uppercase

lodash forEach vs for in loop

No description provided

for-in vs object.values for objects

No description provided

Math.max with apply vs spread vs reduce

Compare the new ES6 spread operator with the Math.max.apply method

NEW BENCHMARK Your Benchmarks