Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

string.replace vs setUTCFullYear

No description provided

string.split vs string.substring vs toLocaleDateString("pt-PT") vs Intl.DateTimeateTimeFormat

No description provided

string.split vs toLocaleDateString("pt-PT")

No description provided

Array of primitives (string) vs array of objects iteration

No description provided

typeof vs instanceof vs constructor equality check

Comparing typeof vs instanceof vs .constructor property

split vs slice date ranges for cally

Javascript split vs slice performance

bignumber.js vs. big.js vs. decimal.js vs bn.js

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0 - https://github.com/indutny/bn.js

className vs classListg

No description provided

dupa chuj

asdasdasdsaadsdsa

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.