{"ScriptPreparationCode":"var s1 = \u0022https://www.measurethat.net/Benchmarks/Show/2131/0/array-split-vs-string-substring\u0022;\r\nvar s2 = \u0022foo\u0022;","TestCases":[{"Name":"split","Code":"var n1 = s1.split(\u0022/\u0022)[0];\r\nvar n2 = s2.split(\u0022/\u0022)[0];","IsDeferred":false},{"Name":"substring","Code":"var n1 = s1.substring(0, s1.indexOf(\u0022/\u0022));\r\nvar n2 = s2.substring(0, s2.indexOf(\u0022/\u0022));","IsDeferred":false}]}