{"ScriptPreparationCode":"var keyCount = 16384\r\nvar keys = []\r\nvar map = new Map()\r\nvar obj = {}\r\nvar accessKeys = [];\r\n\r\n\r\n// Hide lookup keys to prevent V8 cheating (AKA Optimizing)\r\nvar getConspicuousKey = seed =\u003E keys[Math.floor(seed * keyCount)]\r\n\r\n\r\n// Setup out test objects w/ random values\r\nfor (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let val = Math.random()\r\n let key = Math.random()\r\n keys.push(\u0027x\u0027 \u002B key)\r\n map.set(key,val)\r\n obj[key] = val\r\n}\r\n\r\nvar conspicuousKeys = keys.map(() =\u003E getConspicuousKey(Math.random()))\r\nvar a = null\r\n","TestCases":[{"Name":"Conspicuous Map lookup","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n a = map.get(conspicuousKeys[i])\r\n}","IsDeferred":false},{"Name":"Conspicuous Obj lookup","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n a = obj[conspicuousKeys[i]]\r\n}","IsDeferred":false},{"Name":"Conspicuous Map set","Code":"var mapX = new Map();\r\nfor (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n mapX.set(conspicuousKeys[i], 0)\r\n}","IsDeferred":false},{"Name":"Conspicuous Obj set","Code":"var objX = {};\r\nfor (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n objX[conspicuousKeys[i]] = 0\r\n}","IsDeferred":false},{"Name":"Conspicuous Map get miss","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n a = map.get(\u0027not-existed\u0027)\r\n}","IsDeferred":false},{"Name":"Conspicuous Obj get miss","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n a = obj[\u0027not-existed\u0027]\r\n}","IsDeferred":false}]}