Benchmark name | When Created |
---|---|
Array initialization: preallocate vs push (Objects) | one year ago |
Symbol vs string vs string bracket vs indirect string | one year ago |
Create and append/remove versus display:block/display:none (improved) (without-recreating) (without-x-times)
By writing javascript web applications It is often common the need to show or hide elements like a div according to the user actions. Is it better to do this by creating and appending the node when it is needed or to create the node on the application start and then just display or hide it? This benchmark is a performance test of this particular use case. In this version, the createAppendDiv was isolated from operations that can be done once, so the test executes just the operations that are really essencial for the test case. |
one year ago |
Create and append/remove versus display:block/display:none (improved) (without-recreating)
By writing javascript web applications It is often common the need to show or hide elements like a div according to the user actions. Is it better to do this by creating and appending the node when it is needed or to create the node on the application start and then just display or hide it? This benchmark is a performance test of this particular use case. In this version, the createAppendDiv was isolated from operations that can be done once, so the test executes just the operations that are really essencial for the test case. |
one year ago |
Replace regex x replaceAll
Testing if replacing using Regex is faster |
one year ago |
Object set vs new spread when reducing over results
Compare the new ES6 spread operator with the traditional concat() method and push |
one year ago |
Array push vs spread when reducing over results
Compare the new ES6 spread operator with the traditional concat() method and push |
one year ago |
for vs do while 2 | one year ago |
for i inside or outside var 3 | one year ago |
getElementsByClassName, For i, For of, For each, Some, Every, Map 2
getElementsByClassName, For i, For of, For each, Some, Every, Map |
one year ago |
getElementById vs querySelector, with ten elements | one year ago |
getElementById vs querySelector, with two elements | one year ago |
Function call vs Object
Compare Function calls vs Object |
one year ago |
JSON Stringify Speed Test - Large Payloads
This benchmark tests whether the speed or JSON.stringify changes with object size |
one year ago |
JSON Stringify Speed Test 13 -
This benchmark tests whether the speed or JSON.stringify changes with object size |
one year ago |
JSON Stringify Speed Test 13
This benchmark tests whether the speed or JSON.stringify changes with object size |
one year ago |
Lodash.get vs Property dot notation (nested path) | one year ago |
push, concat, spread on a simple array | one year ago |
Array.includes vs Set.has vas Map.has 2 | one year ago |
JS Regex vs .startsWith vs .indexOf vs includes 2
fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr |
one year ago |
JS Regex vs .startsWith vs .indexOf vs includes
fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr |
one year ago |
test splice vs push | one year ago |
getRelativeUrl | one year ago |
Spread Operator VS Array.prototype.slice() VS Array.prototype.slice(0)
Spread Operator VS Array.prototype.slice() VS Array.prototype.slice(0) |
one year ago |
new Url vs RegEx (1) | one year ago |