{"ScriptPreparationCode":"var values = [];\r\n\r\nfor(i = 0; i \u003C 10000; i\u002B\u002B) {\r\n if (Math.random() \u003E 0.5) {\r\n values.push({ x: true });\r\n } else { \r\n values.push({ x: false });\r\n }\r\n}","TestCases":[{"Name":"lodash.forEach","Code":"var count = 0;\r\n_.forEach(values, function(v) {\r\n if (v.x) {\r\n \t count\u002B\u002B; \r\n }\r\n});","IsDeferred":false},{"Name":"array.forEach","Code":"var count = 0;\r\nvalues.forEach(function(v) {\r\n if (v.x) {\r\n \t count\u002B\u002B; \r\n }\r\n});","IsDeferred":false},{"Name":"for loop","Code":"var count = 0;\r\nfor (var i = 0; i \u003C values.length; i\u002B\u002B) {\r\n if (values[i].x) {\r\n \t count\u002B\u002B; \r\n }\r\n}","IsDeferred":false}]}