{"ScriptPreparationCode":null,"TestCases":[{"Name":"With 100 comparisons","Code":"const then = new Date(\u00272020-01-01\u0027);\r\nconst now = new Date(Date.now());\r\nconst shouldTest = true;\r\n\r\nif (shouldTest) {\r\n for (let i of new Array(25)) { \r\n then \u003E now;\r\n then \u003C now;\r\n now \u003E then;\r\n now \u003C then;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"With 500 comparisons","Code":"const then = new Date(\u00272020-01-01\u0027);\r\nconst now = new Date(Date.now());\r\nconst shouldTest = true;\r\n\r\nif (shouldTest) {\r\n for (let i of new Array(125)) { \r\n then \u003E now;\r\n then \u003C now;\r\n now \u003E then;\r\n now \u003C then;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"With 1000 comparisons","Code":"const then = new Date(\u00272020-01-01\u0027);\r\nconst now = new Date(Date.now());\r\nconst shouldTest = true;\r\n\r\nif (shouldTest) {\r\n for (let i of new Array(250)) { \r\n then \u003E now;\r\n then \u003C now;\r\n now \u003E then;\r\n now \u003C then;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"Without comparisons","Code":"const then = new Date(\u00272020-01-01\u0027);\r\nconst now = new Date(Date.now());\r\nconst shouldTest = false;\r\n\r\nif (shouldTest) {\r\n for (let i of new Array(100)) { \r\n then \u003E now;\r\n then \u003C now;\r\n now \u003E then;\r\n now \u003C then;\r\n }\r\n}","IsDeferred":false}]}