{"ScriptPreparationCode":"str = \u0022This is a benchmark to test if matching a regex is faster that splitting a string\u0022;\r\nregex = /[0-9]/;\r\nspecialCharsList = \u0022!@#$%^\u0026*\u0022.split(\u0022\u0022);","TestCases":[{"Name":"regex","Code":"regex.test(str)","IsDeferred":false},{"Name":"split and for each","Code":"str.split(\u0022\u0022).forEach(char =\u003E {\r\n if (specialCharsList.includes(char)) {\r\n }\r\n});","IsDeferred":false}]}