blob: 816e0a3002c135f193001e6559e0813e4b7beb60 [file] [log] [blame]
function test() {
a = {
2016: {
begin: new Date("2016-03-13T00:00:00").getTime(),
end: new Date("2016-11-06T00:00:00").getTime()
},
2017: {
begin: new Date("2017-03-12T00:00:00").getTime(),
end: new Date("2017-11-05T00:00:00").getTime()
},
2018: {
begin: new Date("2018-03-11T00:00:00").getTime(),
end: new Date("2018-11-04T00:00:00").getTime()
},
2019: {
begin: new Date("2019-03-10T00:00:00").getTime(),
end: new Date("2019-11-03T00:00:00").getTime()
},
2020: {
begin: new Date("2020-03-08T00:00:00").getTime(),
end: new Date("2020-11-01T00:00:00").getTime()
},
2021: {
begin: new Date("2021-03-14T00:00:00").getTime(),
end: new Date("2021-11-07T00:00:00").getTime()
},
2022: {
begin: new Date("2022-03-13T00:00:00").getTime(),
end: new Date("2022-11-06T00:00:00").getTime()
},
2023: {
begin: new Date("2023-03-12T00:00:00").getTime(),
end: new Date("2023-11-05T00:00:00").getTime()
},
2024: {
begin: new Date("2024-03-10T00:00:00").getTime(),
end: new Date("2024-11-03T00:00:00").getTime()
},
2025: {
begin: new Date("2025-03-09T00:00:00").getTime(),
end: new Date("2025-11-02T00:00:00").getTime()
}
}
return a;
}
noInline(test);
let count = 10000;
for (var i = 0; i < count; i++)
test();