Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Tuple versus Object

No description provided

endsWith vs Includes

No description provided

JS substring vs slice

No description provided

JS if/if vs if multiple conditions fixed

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

arr.at(index) vs arr[index]

No description provided

JSON.stringify vs structuredClone vs spread vs Object.assign()

JSON.stringify vs structuredClone vs spread vs Object.assign()

Lodash.isEqual vs Lodash.isEqualWith Equality Comparison for Shallow Array of Strings.

Test on isEqual performance

msgpack vs json - encode

No description provided

Date.now() vs. now()

Test if assigning Date.now() to a variable and than calling it is faster than calling Date.now().

set vs array iteration 100k elements

No description provided

Fly Json ODM - 1.21.0

Benchmark using Fly Json ODM in browser for 1million array objects.

Array.includes vs. String.includes comparison

No description provided

Lodash Flatten vs Array.flat()

lodash flatten vs spread

HTMLImageElement vs HTMLCanvasElement vs ImageBitmap, using placekitten

CanvasRenderingContext2d::drawImage with HTMLImageElement vs HTMLCanvasElement vs ImageBitmap

Performance of JavaScript .forEach, .map and .reduce vs for and for..of (fork)

No description provided

Set union methods even more

Different ways to union JS Sets

Set union methods

Different ways to union JS Sets

object.assign vs spread to new object

No description provided

string characters split map vs for loop vs split foreach

No description provided

_.sortBy vs _.orderBy vs JS sort multiple

No description provided

clone perf tests2

No description provided

private properties in weakmap vs symbol vs # class syntax

No description provided

object with define property vs Proxy get

No description provided

.map() vs for-of + push

No description provided

jQuery 3.7.0 Performance Test

Testing jQuery vs Javascript

NEW BENCHMARK Your Benchmarks