Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Split vs Regex with execute

No description provided

DOMParser vs createContextualFragment vs innerHTML vs insertAdjacentHTML vs createContextualFragment Polyfill vs template vs template insertAdjacentHTML Large HTML

No description provided

DOMParser vs template vs createContextualFragment vs innerHTML vs insertAdjacentHTML vs createContextualFragment Polyfill 2 Large HTM

No description provided

Try/catch performance (JSON parse)3

No description provided

Splice Slice 80

No description provided

Splice Slice

Splice Slice

Array concat vs spread operator oaskdo

Compare the new ES6 spread operator with the traditional concat() method and push

jquery append

No description provided

Array multi concat vs spread operator

Compare the new ES6 spread operator with the traditional concat() method and push

style.setProperty vs style.cssText vs style vs attributeStyleMap.set

No description provided

7 properties - style.setProperty vs style.cssText vs style vs Object.assign vs setAttribute vs attributeStyleMap.set

No description provided

Difference between lists vs filtering on property

No description provided

spread operator VS delete

Comparing the performance difference between the spread operator and the delete operator.

Null assignment vs Condition Check

No description provided

Slice vs Splice vs Shift (100)

Compares the speed for removing 100 items from the beginning of an array

for with break vs Array.find()

No description provided

Integer key lookup, sparse array vs object vs map

Given an integer key with a large range, find the object associated with that key. Only hits are considered.

Array() vs new Array()

No description provided

Switch vs. Object literal

No description provided

Testing leftpad just for lulz

No description provided

String casting test

Test which string casting method is fastest

RegEx.test vs. String.includes vs. String.search (All case insensitive)

No description provided

bignumber.js vs native benchmark: string to number

- https://github.com/iriscouch/bigdecimal.js/tree/v0.6.1 - 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/infusion/Fraction.js/tree/v4.0.12

bignumber.js vs native benchmark: compareTo

- https://github.com/iriscouch/bigdecimal.js/tree/v0.6.1 - 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/infusion/Fraction.js/tree/v4.0.12

bignumber library vs native benchmark: compareTo

- https://github.com/iriscouch/bigdecimal.js/tree/v0.6.1 - 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/infusion/Fraction.js/tree/v4.0.12