Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Checking some stuff out

No description provided

JavaScript spread operator vs Object.assign performance AAAAAA

No description provided

Get first and last char on a string

No description provided

Simplebar - jQuery init

jQuery.each selector v this

Classnames vs CLSX vs light-classnames

In doing my new package light-classnames. I'm trying to see if my package is faster than the other two major competitors/

two condition if vs includes compare

No description provided

Filter vs Find vs Some

Bench

for [i,j] big/small ;

No description provided

for [i,j] big/small -_-

No description provided

sha1-js ie11

No description provided

flatMap() vs filter().map() - arrays

flatMap vs filter map - always using array as arrow function result

Object.fromEntries vs reduce vs. for-of

Turning an array into an object

for [i,j] big/small

No description provided

hashCode reduce vs while

which hashCode is faster: reduce vs while

Cached Object.keys() vs inline Object.keys()

This is to test any such browser optimisations on Object.keys(), which returns an array. How long does that array creation take?

Access to Proxy vs Object with getter

No description provided

forEach vs optimized for vs for of vs usual for

No description provided

JSON.parse vs Object.values

No description provided

Array vs object literal v2

No description provided

Array vs object literal

No description provided

startsWith vs indexOf vs lastIndexOf

Compare substring matching performance.

createTextNode vs textContent vs innerText vs append vs new Text

No description provided

map vs foreach

No description provided

Array.prototype.slice vs spread operator [new]

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

for vs foreach vs some vs for..of (2)

Compare loop performance