Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Plain js vs OmitBy

Testing LoDash's omitBy agains plain js

Better number parsing

No description provided

slice vs at vs pop v2

No description provided

slice vs at vs pop

No description provided

at vs pop

No description provided

arr.at(-1) vs arr[arr.length - 1]

No description provided

JS BigInt big number performance v2 BIS 2

Compare Number vs BigInt for big numbers subtraction and lt comparison

Date.now JS tests

No description provided

for vs foreach vs for..of (z2)

Compare loop performance

for vs foreach vs for..of (z)

Compare loop performance

Array loop vs foreach

No description provided

Lodash isEqual test -talves

Test on isEqual performance

Try/catch performance (JSON parse)--

No description provided

Repeated use of includes vs match

Amortize the cost of creating a regex across 20,000 applications. Scan a long string. On chrome you only see a difference once the target string is over 15 chars or so. String.includes is best, followed by RegExp.test, then String.match.

WeakMap vs "Symbol with WeakMap fallback" v2

No description provided

% vs Math.Random()

Cost of measuring "every hundredth instance" vs. a random sampling of 1% of instances

Array includes vs string indexOf

No description provided

Create DOM nodes v2

No description provided

Test new sasdasd

No description provided

Literal regexp's vs string and array methods

Literal regexp's vs string and array methods when searching a number in a string

Test Sorting Locations etc etc etc etc

No description provided

Test Sorting Locations etc etc etc

No description provided

array find() vs js object

No description provided

Multiplication vs Additions

No description provided

flatMap vs for in vs forEach

Comparing performance of: flatMap vs for of