Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Parse vs InnerHTML

Parse vs InnerHTML

JS if/if vs if/else if

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

jQuery/Zepto by id vs Document.getElementById

Comparing speed of getting element by id with jQuery vs Zepto vs Vanilla JS

Array looping

Finding out the fastest way to loop through an array

Array.from vs Spread

No description provided

jQuery addClass vs classList.add

No description provided

_.isEmpty vs Object.keys.length

No description provided

for vs find

Testing loop performance

Hash Test

No description provided

className vs classList

No description provided

lodash.keys vs Object.keys

No description provided

Unnecessary non-capturing groups

https://stackoverflow.com/questions/45291700/javascript-regex-non-capture-faster-than-no-parenthesis-at-all

Setting Canvas Pixel

No description provided

fake-binary

Tests the efficiency between using .replace() and .split().map().join() to edit single character values in a string that only contains numbers.

Which is more efficient .replace() or .split().map().join()

No description provided

math pow vs multiply

No description provided

combo-vs-react

No description provided

Object vs Map

No description provided

SJCL sym vs asym

No description provided

Multipromise resulter

No description provided

test iife

No description provided

Math.floor vs |0 vs (int)

No description provided

Math.floor vs |0

No description provided

fib test

No description provided

Umbrella JS vs Jquery

No description provided

NEW BENCHMARK Your Benchmarks