Benchmark name | When Created |
---|---|
set vs uniq | one month ago |
set versus includes
set versus includes |
one month ago |
flatMap vs reduce vs map | one month ago |
flatMap vs reduce (test1) | one month ago |
parseInt vs Number addition only with ints | one month ago |
calcTriangleCount vs calcSegments
calcTriangleCount vs calcSegments |
one month ago |
Pack array of bitmasks (numbers) to base64 | one month ago |
JavaScript spread operator vs Object.assign performance -2 | one month ago |
Object Property x Local Variable Accessing 1 | one month ago |
JS mod VS 2 | one month ago |
JS mod VS | one month ago |
boolean literal comparison vs typeof js | one month ago |
querySelector, querySelectorAll, getElementsByClassName, querySelector (ID), getElementsByID | one month ago |
Array fill vs loop | one month ago |
regex vs string replaceAll
Comparing regex vs string versions of replaceAll |
one month ago |
Spread first vs map first then Array.from | one month ago |
for vs foreach vs for..in vs for..of sum
Compare loop performance |
one month ago |
Modulo VS bitwise AND for finding odd number | one month ago |
replaceall vs replace js | one month ago |
Event Bubbling and Event Capturing | one month ago |
Pack array of bitmasks (numbers) | one month ago |
Object.Values + Map vs for-in push | one month ago |
Can JavaScript benefit from the ECS pattern 2?
JS arrays are weird and (probably?) not memory-contiguous, but just for kicks, let's see what difference there is (if any) between performing the same action on 1,000,000 objects in an object-oriented style (with the method attached to the object) vs an ECS-style (with the behavior separated from the raw data) |
one month ago |
String literal vs Template literal assignment
Is there a difference between constant string and a constant template literal assignment? |
one month ago |
destructuring types | one month ago |