Benchmark name When Created
reverse & map VS for-loop 3 years ago
Testing123

testing123

3 years ago
createElement vs Jquery detailed

Faster way to create new dom elements before insertion

3 years ago
Object.keys().length vs for i in object i++ vs Object.entries().length vs Object.values().length 3 years ago
for i < length vs .forEach(t) vs for..of vs for t = keys[i] vs for i =0; i in keys vs for i in object vs .reduce (keys only)

Compare loop performance

3 years ago
for ++i < length vs .forEach(t) vs for..of vs for t = entries[++i] vs for i = 0; ++i in entries vs for ++i in object vs .reduce (entries)

Compare loop performance

3 years ago
for i < length vs .forEach(t) vs for..of vs for t = array[i] vs for i = 0; i in array vs for i in array vs .reduce (Array)

Compare loop performance

3 years ago
alpha-numeric string

Check if a string contains only alpha-numeric characters.

3 years ago
testquery 3 years ago
Alphanumeric String

Check if a string only contains alpha-numeric characters.

3 years ago
Alphanumeric

The best approach to check if a string is alphanumeric (JavaScript)

3 years ago
createElement vs JQuery $

Faster way to create new dom elements before insertion

3 years ago
Compare null undefined speed 3 years ago
Updating table as whole vs Updating particular cell 3 years ago
Vanilla JS VS JQuery DOM perfomance + getbyid(elId)

Vanilla JS VS JQuery DOM perfomance

3 years ago
document querySelectorAll vs. Element querySelectorAll

scoped and unscoped querySelector

3 years ago
nodes vs attributes vs nodeValue string for WRITE DOM data storage benchmark

Result: Using nodes and nodeValue as data storage over attributes can be 2-4X faster for writing if stored as formatted string or using positions. Still 5-10X slower than JS objects.

3 years ago
nodes vs attributes vs nodeValue string for READING DOM data storage benchmark 3 years ago
Null vs undefined 3 years ago
Lodash sort vs array.prototype.sort string 3 years ago
DOM set attributes of children vs JS Array WRITE performance v2

Result: JS Array is 4X faster than setting DOM attributes, but setting DOM nodeValue is still fastest getAttributeNode().value seems to be fastest way of setting an attribute

3 years ago
DOM set attributes of children vs JS Array WRITE performance

Result: JS Array is 4X faster than setting DOM attributes, but setting DOM nodeValue is still fastest

3 years ago
DOM get attributes of children vs JS Array READ performance v2

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.

3 years ago
DOM get attributes of children vs JS Array READ performance

Results: Reading the DOM with nextElementSibling + getAttribute is less than 5% slower than an JS array list

3 years ago
Inline function vs separately declared function

Test

3 years ago

 Create Your benchmarks