{"ScriptPreparationCode":"var keyCount = 16384\r\nvar keys = []\r\nvar map = new Map()\r\nvar arr = []\r\nvar obj = Object.create(null)\r\ndelete obj.x\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().toString()\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":"add arr ","Code":"const arr1 = []\r\nfor (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let v = Math.random()\r\n arr1.push(v)\r\n}","IsDeferred":false},{"Name":"add map","Code":"const map1 = new Map()\r\nfor (let i=0; i\u003CkeyCount; i\u002B\u002B) {\r\n let v = Math.random()\r\n map1.set(i,v)\r\n}","IsDeferred":false}]}