Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array concat vs spread operator vs push with short arrays

See also https://www.measurethat.net/Benchmarks/Show/29250

Array concat vs spread operator vs push with long arrays

extends https://www.measurethat.net/Benchmarks/Show/4223

Objekt je prázdný? 3

No description provided

Objekt je prázdný? 2

No description provided

Objekt je prázdný?

No description provided

Try/finally performance impact

No description provided

List operations: Ramda vs. Lodash vs. Immutable vs. Native array methods

No description provided

Ramda vs. Lodash vs. Immutable vs. Native array methods

No description provided

Ramda vs. Lodash vs. Native array methods

No description provided

Ramda vs. Lodash vs Native 2

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

Ramda vs. Lodash vs Native

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

One-pass vs native array methods

No description provided

uderscorejs (1.13.6) vs jQuery (3.7.1) -- each

No description provided

uderscore each vs jQuery each

No description provided

RegEx.test vs. String.includes vs. String.startsWith

No description provided

Object vs Class performance

Object vs Class performance

cached getComputedStyle vs. getBoundingClientRect 442

No description provided

Array initialization: preallocate vs push (Objects)

No description provided

Symbol vs string vs string bracket vs indirect string

No description provided

Create and append/remove versus display:block/display:none (improved) (without-recreating) (without-x-times)

By writing javascript web applications It is often common the need to show or hide elements like a div according to the user actions. Is it better to do this by creating and appending the node when it is needed or to create the node on the application start and then just display or hide it? This benchmark is a performance test of this particular use case. In this version, the createAppendDiv was isolated from operations that can be done once, so the test executes just the operations that are really essencial for the test case.

Create and append/remove versus display:block/display:none (improved) (without-recreating)

By writing javascript web applications It is often common the need to show or hide elements like a div according to the user actions. Is it better to do this by creating and appending the node when it is needed or to create the node on the application start and then just display or hide it? This benchmark is a performance test of this particular use case. In this version, the createAppendDiv was isolated from operations that can be done once, so the test executes just the operations that are really essencial for the test case.

Replace regex x replaceAll

Testing if replacing using Regex is faster

Object set vs new spread when reducing over results

Compare the new ES6 spread operator with the traditional concat() method and push

Array push vs spread when reducing over results

Compare the new ES6 spread operator with the traditional concat() method and push

for vs do while 2

No description provided