Faster way to create new dom elements before insertion
compare finding the maximum value with math.max using .apply & using the spread (...) operator, vs a basic for loop with an if statement, & finally a basic foor loop using length caching
Like https://www.measurethat.net/Benchmarks/Show/7699/0/array-concat-vs-spread-vs-push-spread-loop-apply but uses more batches of a larger size each
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