{"ScriptPreparationCode":"var keyCount = 65535\r\nvar keys = []\r\nvar map = new Map()\r\nvar obj = {}\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 = 3000000000000000000\u002B((4000000000000000000*Math.random())|0)\r\n keys.push(key)\r\n map.set(key,val)\r\n obj[key] = val\r\n}\r\n","TestCases":[{"Name":"Conspicuous Map lookup","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = map.get(key)\r\n}","IsDeferred":false},{"Name":"Conspicuous Obj lookup","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = obj[key]\r\n}","IsDeferred":false},{"Name":"Conspicuous Map lookup 2","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = map.get(key)\r\n}","IsDeferred":false},{"Name":"Conspicuous Obj lookup 2","Code":"for (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = obj[key]\r\n}","IsDeferred":false},{"Name":"Single map","Code":" let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = map.get(key)\r\n","IsDeferred":false},{"Name":"Single obj","Code":" let seed = Math.random()\r\n let key = getConspicuousKey(seed)\r\n a = obj[key]\r\n","IsDeferred":false}]}