To figure out if it's even worth checking via .has or just spamming .add repeatedly.
Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.
radix sort base with binary number, octal number, decimal number, hexadecimal, quater of int, half of int
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