Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array include vs object key vs Set has V2

performance comparison of ways to find if an array contains a value

Set has vs object key

performance comparison of ways to find if an array contains a value

isEmpty vs length obj

No description provided

String() vs .toString() vs template string

No description provided

Trunc vs Floor vs ParseInt vs ~~

Trunc vs Floor vs ParseInt vs ~~

Map vs Object 5000 rand

Lookup of map vs object

findIndex vs _sortedIndexBy

No description provided

function vs class method vs new function method v2

No description provided

function vs class method vs new function method

No description provided

Spread operator cost

No description provided

CreateElement vs DOM Parser

No description provided

parseInt vs Number vs +

No description provided

Unset vs Delete

Test the difference between unset vs delete

Math.min vs ternary

native Math.min versus ternary operator

Map vs switch soh

Whats faster a map or a switch statement???

JS Date

JS Date

Fisher-Yates Shuffle

Test implementations from https://twitter.com/oliverjumpertz/status/1434779862955405313

Split Pop vs Slice lastIndexOf

No description provided

React useCallback hook vs. function

No description provided

WeakMap vs arrays read performancesadsasd

No description provided

React useCallback hook vs inline function

No description provided

Regex removing whitespace vs trim gan

testing removing beginning and end whitespace vs trim

path regex

No description provided

(ColorfulCakeChen) CNN Stage (05bf3b326449a020532b6941054eebe64cecfc8e) 435

No description provided

benchmark of getter vs get function

No description provided

NEW BENCHMARK Your Benchmarks