Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

Bench fast-json-patch vs microdiff

No description provided

Array vs TypedArray read performance

No description provided

{} vs {null}

No description provided

{} vs Map with set and DELETE

No description provided

{} vs Map with set ONLY

No description provided

{} vs Map with set

No description provided

{} vs Map Creation

No description provided

For vs Foreach manu

No description provided

Array.includes() vs Set.has() for small Arrays invoked multiple times

No description provided