Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Event Listener Performance

No description provided

Lodash CloneDeep vs Immer Produce

No description provided

Date vs Moment

No description provided

Object no keys vs isEmpty

No description provided

JSON.stringify vs react-fast-compare vs _.isEqual

No description provided

.test vs .exec vs .match

Simple regexs benchmarks

Remove an item from array; indexOf + splice vs filter 2

No description provided

dompurify vs js-xss simple

No description provided

Slice vs Map (2222211111)

No description provided

innerhtml vs removeChild-firstChild vs removeChild-lastChild

No description provided

_.toUpper() vs. String.toUpperCase()

_.toUpper() vs. String.toUpperCase()

_.join() vs Array.join()

_.join() vs Array.join()

JS find vs indexOf

JS find vs indexOf

Direct Array Access vs. New Local Constant Variable in A Loop v.2

No description provided

Direct Array Access vs. New Local Constant Variable in A Loop

No description provided

Getter / Setter vs Proxy

No description provided

insertAdjacentHtml vs innerHTML

insertAdjacentHtml vs innerHTML

createElement vs insertAdjacentHTML but actually works V2

No description provided

cloneNode vs DocumentFragment

No description provided

template innerHTML vs DocumentFragment createElement

No description provided

js-yaml vs yaml-js

No description provided

Filter: Lodash 2 vs Native

No description provided

compare drawing lots of sprites (filled circles and squares) using various canvas methods II

This benchmark compares methods of drawing lots of sprites onto a HTML5 canvas element. We test two basic "sprites": a filled square and a filled circle. We can explicitly draw them with path drawing methods, or drawing a prototype and copying them onto the canvas multiple times, using drawImage, or putImageData.

replace string vs regexp

No description provided

instanceof Array vs Array.isArray()

No description provided

NEW BENCHMARK Your Benchmarks