{"ScriptPreparationCode":"function filter(v) {\r\n return v % 2\r\n}","TestCases":[{"Name":"Map","Code":"const test = new Map()\r\nfor (var i=10000; i \u003E 0; i--) {\r\n test.set(\u0060key${i}\u0060, i)\r\n}\r\n\r\nfor (var i=100; i \u003E 0; i--) {\r\n Array.from(test.values()).filter(filter)\r\n}","IsDeferred":false},{"Name":"Object Iteration","Code":"const test = {}\r\nfor (var i=10000; i \u003E 0; i--) {\r\n test[\u0060key${i}\u0060] = i\r\n}\r\n\r\nfor (var i=100; i \u003E 0; i--) {\r\n const values = [];\r\n for (const id in test) {\r\n const value = test[id];\r\n if (filter(value)) {\r\n values.push(value);\r\n }\r\n }\r\n}","IsDeferred":false}]}