string = "This is a benchmark to test if matching a regex is faster that splitting a string";
regex = /\S+/gi;
string.split(" ")
string.match(regex)
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