Skip to content

Commit

Permalink
Turn off the most time-consuming Date tests
Browse files Browse the repository at this point in the history
These are tests that iterate through all the days in a year and test
date constructing and parsing. I think that at this point, between the
test262 tests and the fact that date parsing in Java seems well-tested,
we don't need these tests.

These tests are incredibly-time consuming, especially in interpreted
mode -- one of them took 84 seconds on my machine.
  • Loading branch information
gbrail committed Oct 12, 2024
1 parent 66622e5 commit 21645e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions tests/src/test/resources/opt-1.tests
Original file line number Diff line number Diff line change
Expand Up @@ -273,21 +273,18 @@ ecma/Date/15.9.5.10-11.js
ecma/Date/15.9.5.10-12.js
ecma/Date/15.9.5.10-13.js
ecma/Date/15.9.5.10-3.js
ecma/Date/15.9.5.10-4.js
ecma/Date/15.9.5.10-5.js
ecma/Date/15.9.5.10-6.js
ecma/Date/15.9.5.10-7.js
ecma/Date/15.9.5.10-8.js
ecma/Date/15.9.5.10-9.js
ecma/Date/15.9.5.11-1.js
ecma/Date/15.9.5.11-2.js
ecma/Date/15.9.5.11-3.js
ecma/Date/15.9.5.11-4.js
ecma/Date/15.9.5.11-5.js
ecma/Date/15.9.5.11-6.js
ecma/Date/15.9.5.11-7.js
ecma/Date/15.9.5.12-1.js
ecma/Date/15.9.5.12-2.js
ecma/Date/15.9.5.12-3.js
ecma/Date/15.9.5.12-4.js
ecma/Date/15.9.5.12-5.js
Expand Down
5 changes: 0 additions & 5 deletions tests/src/test/resources/opt0.tests
Original file line number Diff line number Diff line change
Expand Up @@ -271,28 +271,23 @@ ecma/Date/15.9.4.2-1.js
ecma/Date/15.9.4.2.js
ecma/Date/15.9.4.3.js
ecma/Date/15.9.5.1.js
ecma/Date/15.9.5.10-1.js
ecma/Date/15.9.5.10-10.js
ecma/Date/15.9.5.10-11.js
ecma/Date/15.9.5.10-12.js
ecma/Date/15.9.5.10-13.js
ecma/Date/15.9.5.10-2.js
ecma/Date/15.9.5.10-3.js
ecma/Date/15.9.5.10-4.js
ecma/Date/15.9.5.10-5.js
ecma/Date/15.9.5.10-6.js
ecma/Date/15.9.5.10-7.js
ecma/Date/15.9.5.10-8.js
ecma/Date/15.9.5.10-9.js
ecma/Date/15.9.5.11-1.js
ecma/Date/15.9.5.11-2.js
ecma/Date/15.9.5.11-3.js
ecma/Date/15.9.5.11-4.js
ecma/Date/15.9.5.11-5.js
ecma/Date/15.9.5.11-6.js
ecma/Date/15.9.5.11-7.js
ecma/Date/15.9.5.12-1.js
ecma/Date/15.9.5.12-2.js
ecma/Date/15.9.5.12-3.js
ecma/Date/15.9.5.12-4.js
ecma/Date/15.9.5.12-5.js
Expand Down
4 changes: 0 additions & 4 deletions tests/src/test/resources/opt9.tests
Original file line number Diff line number Diff line change
Expand Up @@ -270,28 +270,24 @@ ecma/Date/15.9.4.2-1.js
ecma/Date/15.9.4.2.js
ecma/Date/15.9.4.3.js
ecma/Date/15.9.5.1.js
ecma/Date/15.9.5.10-1.js
ecma/Date/15.9.5.10-10.js
ecma/Date/15.9.5.10-11.js
ecma/Date/15.9.5.10-12.js
ecma/Date/15.9.5.10-13.js
ecma/Date/15.9.5.10-2.js
ecma/Date/15.9.5.10-3.js
ecma/Date/15.9.5.10-4.js
ecma/Date/15.9.5.10-5.js
ecma/Date/15.9.5.10-6.js
ecma/Date/15.9.5.10-7.js
ecma/Date/15.9.5.10-8.js
ecma/Date/15.9.5.10-9.js
ecma/Date/15.9.5.11-1.js
ecma/Date/15.9.5.11-2.js
ecma/Date/15.9.5.11-3.js
ecma/Date/15.9.5.11-4.js
ecma/Date/15.9.5.11-5.js
ecma/Date/15.9.5.11-6.js
ecma/Date/15.9.5.11-7.js
ecma/Date/15.9.5.12-1.js
ecma/Date/15.9.5.12-2.js
ecma/Date/15.9.5.12-3.js
ecma/Date/15.9.5.12-4.js
ecma/Date/15.9.5.12-5.js
Expand Down

0 comments on commit 21645e8

Please sign in to comment.