Benchmark name When Created
bignumber.js vs. big.js vs. decimal.js (2)

- 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

3 years ago
Append(...Node) vs append(node) 3 years ago
object - key access vs object - key access(long key) 3 years ago
Ramda vs json stringify 3 years ago
math pow vs multiply vs ** 3 years ago
set.has vs. array.includes 1million 3 years ago
classList.contains() vs closest() performance

imitating click

3 years ago
for-in vs object.keys (2) 3 years ago
Lodash Times vs Array.from callback

_times(n,()=>func()) vs. Array.from({length: n},(_,i) => func())

3 years ago
mathjs random vs Math.random 3 years ago
startsWith vs substring vs indexOf

startsWith vs substring vs indexOf

3 years ago
binaryStringPad

testing 3 methods of padding binary string

3 years ago
string vs number vs symbol 3 years ago
String() vs .toString() vs Concatenation vs Template string 3 years ago
Caching length property vs getting it each time in the loop - ak

save length of the array in the variable vs get it the loop

3 years ago
new Date("2020-03-20 0:04:02").getDate() 3 years ago
Iteration Speed 2 3 years ago
StringInterpolation vs stringConcatenation 3 years ago
Teste some vs find 3 years ago
Some vs Find 100k items 3 years ago
Array loop vs foreach (static & index) 3 years ago
case insensitive comparison 3 years ago
slice vs substring check010

slice vs substring

3 years ago
Different ways (template importNode, vanilla js, innerHTML) to create DOM node 3 years ago
DOM get attributes of children vs JS Array READ performance v3

Results: Reading the DOM with nextElementSibling + getAttribute is less than 5% slower than an JS array list. textContent is slightly faster than a JS array list, and nodeValue is 3X faster. Listing a JS array in a for i-- loop backwards yield ~2X performance

3 years ago

 Create Your benchmarks