Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

UI Thread vs. Worker

No description provided

Sha256

No description provided

Sha256

No description provided

Lodash vs Lodash FP

No description provided

Map vs Map vs Foreach vs for

Is it faster to store the return value of the map function in a new variable or to overwrite the existing array? Or is it faster to use forEach?

indexOf vs $.inArray

No description provided

float32array init

No description provided

ArrayBuffer to base64 String

No description provided

Moment valueOf vs. Date.parse

Requires Chrome or Firefox for Date.parse heuristics.

Try/Catch vs Typeof

Comparing the speed of try/catch and typeof undefined

Map vs Object

Lookup of map vs object

lodash.each vs Object.forEach

No description provided

className vs. setAttribute vs. classList

No description provided

Multiply Comparison

No description provided

Zero-fill Uint8Array

No description provided

getElementById vs querySelector vs getElementsByClassName vs getElementsByName

Test performance of different ways of get just one particular DOM element

form.elements vs getElementsByTagName vs querySelectorAll

Test different ways of getting form elements to see if in certain fringe cases if you can improve performance.

POJO vs Functions w/ loop

No description provided

Add value to an array

Two ways of a add value to an array.

Pojo vs functions

No description provided

Object.keys vs lodash _.keys

Also checking the .map method on the returned array.

Map vs For Loop

No description provided

Map vs For Loop

No description provided

Object look-up

No description provided

Object comparison

No description provided

NEW BENCHMARK Your Benchmarks