Old vs new implementation
Benchmark of various methods used to convert a Uint8Array to a string value
test
A test summing 100 random numbers, 1 - 10000
https://blog.rocketseat.com.br/substituindo-a-instrucao-switch-por-object-literal/
Compare the new ES6 spread operator with the traditional concat() method and push
worth to note that the maximum callstack size is exceeded for the first test case (spread operator) with n = 1 million
Create Your benchmarks
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide