Native XHR vs XHR 2 (no ifs... just switches) (version: 0)
Pure JavaScript XHR Benchmark - Difference is using switch instead of if you lost time by making it test the value... something that isn't within the code in the others(but probably at the lower level)
Comparing performance of: Native XHR (via switch instead of if) vs Native XHR (enhanced) vs Native XHR 2 vs Fetch