Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash partition VS native reduce (updated)

No description provided

Set vs array performace compare

No description provided

index array vs cache indexed value

No description provided

array copy set vs block vs per item

No description provided

Object.defineProperty vs direct assignment

No description provided

Math.abs versus two equality checks

No description provided

big.js vs Fraction.js vs number-precision

No description provided

Optional chaining vs Lodash.get with nullish coalescing

Forked from a previous comparison which made use of the lodash get's default parameter. The comparison wasn't fair because the vanilla JS wasn't adding a default value with nullish coalescing.

for..of vs for vs flatMap

No description provided

switch vs object literal benchmark

switch vs object literal benchmark

instanceof vs manual checking

Determining if instanceof is slower than checking against a known property

Find the outlier number

No description provided

JS class instanceof vs key in

No description provided

lodash chain filter map vs native filter map

No description provided

getElementById and getElementsByClassName[0] unique class

Test performance of different ways of get just one particular DOM element

Array: [] vs at() last index

No description provided

nested spread vs forEach push

No description provided

slice substring trim both ends

Compares slice and substring to each other when trimming 1 character from both ends of a string

Python Enum vs string compare v2

No description provided

Python Enum vs string compare

No description provided

URL object vs split to get canonical url

No description provided

{} vs Map with set and CHECK value exists

No description provided

{} vs Map with set and UPDATE value

No description provided

{} vs Map with set and GET value

No description provided

Bench fast-json-patch vs jsondiffpatch vs microdiff

No description provided