{"ScriptPreparationCode":"let s1MB = \u00220123456789\u0022.repeat(1000*100);\r\nvar strings1MB = Array.from(Array(20)).map(o=\u003Es1MB \u002B String.fromCharCode(32\u002B~~(Math.random()*96)))\r\n\r\nlet s2MB = \u00220123456789\u0022.repeat(1000*200);\r\nvar strings2MB = Array.from(Array(20)).map(o=\u003Es2MB \u002B String.fromCharCode(32\u002B~~(Math.random()*96)))\r\n\r\nlet s10MB = \u00220123456789\u0022.repeat(1000*1000);\r\nvar strings10MB = Array.from(Array(20)).map(o=\u003Es10MB \u002B String.fromCharCode(32\u002B~~(Math.random()*96)))\r\n\r\nlet s10MB2 = \u00220123456789\u0022.repeat(1000*1000);\r\nvar strings10MB2 = Array.from(Array(20)).map(o=\u003Es10MB \u002B String.fromCharCode(32\u002B~~(Math.random()*96)))","TestCases":[{"Name":"1MB string comparison","Code":"const s1 = strings1MB[~~(strings1MB.length*Math.random())];\r\nconst s2 = strings1MB[~~(strings1MB.length*Math.random())];\r\nconst b = s1 === s2;","IsDeferred":false},{"Name":"2MB string comparison","Code":"const s1 = strings2MB[~~(strings2MB.length*Math.random())];\r\nconst s2 = strings2MB[~~(strings2MB.length*Math.random())];\r\nconst b = s1 === s2;","IsDeferred":false},{"Name":"10MB string comparison","Code":"const s1 = strings10MB[~~(strings10MB.length*Math.random())];\r\nconst s2 = strings10MB[~~(strings10MB.length*Math.random())];\r\nconst b = s1 === s2;","IsDeferred":false},{"Name":"10MB string comparison (equal)","Code":"const s1 = strings10MB2[~~(strings10MB2.length*Math.random())];\r\nconst s2 = s1 \u002B \u0022\u0022;\r\nconst b = s1 === s2;","IsDeferred":false}]}