Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

eval vs new Function (fix)

No description provided

fixed array slice VS splice VS pop - adding new elements to start

No description provided

native intersect vs lodash intersection

No description provided

jQuery attr vs setAttribute

No description provided

lodash merge vs object.assign vs spread with deep values

No description provided

startsWith vs includes (same search)

No description provided

Vanilla JS VS Jquery | Click Event Speed

Comparing performance of: Vanilla vs Jquery

array vs int32array3

.

array vs int32array2

.

Flat vs forEach + push

No description provided

Lodash sort vs array.prototype.sort vs timsort

No description provided

Lodash partition vs ES6

Comparison of using lodash partition against raw ES6

object spread vs immutable-js set vs native Map

No description provided

trim vs replace

No description provided

Which equals operator (== vs ===) is faster? check for null

Is there a performance benefit to replacing == with ===?

for vs foreach vs some vs for..of (x10000)

Compare loop performance

DocumentFragment vs (multiple) append

No description provided

deepmerge vs Object.assign

No description provided

Object iteration vs Map iteration

No description provided

flatMap() vs filter().map() vs reduce() v2

flatMap vs filter map vs reduce()

jQuery AJAX vs Fetch API

Benchmark jQuery AJAX wrapper vs Fetch API that shows the power of Vanilla JS Checked test: jQuery x 20,305 ops/sec ±5.52% (61 runs sampled) => 50ms execution time Checked test: Vanilla JS x 26,853 ops/sec ±6.86% (56 runs sampled) => 38ms execution time

Array.prototype.concat vs push apply vs spread operator

Compare the new ES6 spread operator with the concat and apply method

JavaScript spread operator vs Object.assign performance vs a custom merge object method

No description provided

sync vs promise

No description provided

Normalize path: JS Regex vs .endsWith vs .indexOf vs .slice

No description provided

NEW BENCHMARK Your Benchmarks