Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

splice vs replace

No description provided

Spread operator vs Immutable.js performance for common use cases

No description provided

Multiplying lists of vectors - SoA vs AoS vs interlaced array - local

What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Do you create a single Float32Array and interlace values for x, y, and z within it? Let's find out!

XHR vs fetch vs axios

No description provided

Array ForEach vs Find vs for loop (2)

No description provided

Date vs moment with compare

No description provided

Creating/adding html element performance (5 elements)

No description provided

String to number conversion in Vanilla JS

No description provided

Date.now() vs new Date().valueOf()

No description provided

Input vs Textarea large text

No description provided

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

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.

lodash merge vs deepmerge latest

No description provided

compare _.merge() and lodash-merge

I wrote a function to replace _.merge(). I am comparing the performance. https://github.com/thodges314/lodash-merge

Array.from vs Spread vs Slice with Node List

No description provided

Javascript: Case insensitive string comparison performance with indexOf

No description provided

Spread operator vs mutation vs Object.assign with reduce

Check the performance inside a reduce.

Sort lodash vs native

No description provided

Number constructor vs unary plus vs parseInt

No description provided

Compare the new ES6 spread operator with Ramda assoc (10000000 keys)

No description provided

Split join vs replace static

No description provided

Array.prototype.slice vs spread operator vs Array.from

No description provided

Lodash _.first vs array[0]

No description provided

Loop over object: lodash vs Object.entries 2

No description provided

Map foreach vs Object.keys.forEach

Map object forach vs Object.keys foreach

Getter / Setter vs Proxy performance

No description provided

NEW BENCHMARK Your Benchmarks