{"ScriptPreparationCode":null,"TestCases":[{"Name":"global add","Code":"function addGlobal(a, b) {\r\n return a \u002B b;\r\n}\r\n\r\nfunction myFunc(num) {\r\n return addGlobal(num, num\u002B1);\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n myFunc(i);\r\n}","IsDeferred":false},{"Name":"inline add","Code":"function myFunc(num) {\r\n function addInline(a, b) {\r\n return a \u002B b;\r\n }\r\n\r\n return addInline(num, num\u002B1);\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n myFunc(i);\r\n}","IsDeferred":false},{"Name":"global add 2","Code":"// same as first one, just to ensure benchmarks are valid\r\nfunction addGlobal(a, b) {\r\n return a \u002B b;\r\n}\r\n\r\nfunction myFunc(num) {\r\n return addGlobal(num, num\u002B1);\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n myFunc(i);\r\n}","IsDeferred":false},{"Name":"inline add 2","Code":"function myFunc(num) {\r\n function addInline(a, b) {\r\n return a \u002B b;\r\n }\r\n\r\n return addInline(num, num\u002B1);\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n myFunc(i);\r\n}","IsDeferred":false}]}