Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash merge vs deepmerge

No description provided

querySelector vs getElementsByClassName[0] with real dom

Slight alteration because querySelector only returns a first element.

ISO Date vs Epoch

No description provided

Lodash.get vs Property dot notation for nested properties

No description provided

Array Splice vs Splice

No description provided

Array.prototype.concat vs spread vs push operator

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

fafa234

No description provided

Test2244

No description provided

Test22

No description provided

Concat Array

No description provided

Push vs Spread Random

No description provided

className.indexOf vs. classList.contains

No description provided

Bug with Resizing ImageBitmap causes slower than expected performance

There is currently a bug on Chrome Version 74.0.3729.131 (Official Build) (64-bit) (5/12/2019) with ImageBitmap where attempting to resize an ImageBitmap through ImageBitmapOptions will causes the resulting ImageBitmap to render very poorly when used with drawImage, even if the resulting ImageBitmap is resized to be smaller than the source image.

className vs. getAttribute vs. classList v

No description provided

className vs. getAttribute vs. classList

No description provided

Ramda complex map over large array

No description provided

Concat vs Slice

No description provided

JavaScript spread operator vs Object.assign performance --UPDATE

No description provided

Stable Hash

No description provided

lodash merge vs lodash assign vs object.assign vs spread vs. native assign

No description provided

Object Hash

No description provided

Array.prototype.concat vs spread operator on NodeList v2

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

OffscreenCanvas vs HTMLCanvasElement drawImage() (w/ Transferables) (version: 1)

1. drawImage on the main thread 2. drawImage on a worker thread (passing messages as Strings) 3. drawImage on a worker thread (passing messages as ArrayBuffer(100)) 4. drawImage on a worker thread (Transferable messages as ArrayBuffer(100))

OffscreenCanvas vs HTMLCanvasElement drawImage() (w/ Transferables)

No description provided

OffscreenCanvas vs HTMLCanvasElement drawImage() (w/ Transferable)

Comparing OffscreenCanvas vs HTMLCanvasElement, and investigating the usage of multiple postMessage strategies, from structured cloning of objects to transferable ArrayBuffers.