Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

string-interpolation-vs-concatenation with two variables

No description provided

querySelectorAll vs getElementsByTagName iteration v2

No description provided

En-To-Em Dash Regex

No description provided

str.match vs str.Split v2

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

Object filtering by key v2

Compares different way to filter object

Object filtering by key

Compares different way to filter object

JS Array Clearing 2

No description provided

array vs Float64Array with floats (small array)

No description provided

Array vs Float64Array performance (small array)

No description provided

mod / &

No description provided

transrorm template 3

No description provided

transrorm template 2

No description provided

Lodash partition VS native reduce (updated 2)

No description provided

transrorm template

No description provided

parsing html f324r

No description provided

"decodeHTMLEntities" vs DOM Parser

This benchmark compares the "decodeHTMLEntities" function proposed by https://stackoverflow.com/questions/5796718/html-entity-decode and the solution via DOMParser.

Lodash partition VS native reduce (updated)

No description provided

Set vs array performace compare

No description provided

index array vs cache indexed value

No description provided

array copy set vs block vs per item

No description provided

Object.defineProperty vs direct assignment

No description provided

Math.abs versus two equality checks

No description provided

big.js vs Fraction.js vs number-precision

No description provided

Optional chaining vs Lodash.get with nullish coalescing

Forked from a previous comparison which made use of the lodash get's default parameter. The comparison wasn't fair because the vanilla JS wasn't adding a default value with nullish coalescing.

for..of vs for vs flatMap

No description provided