Bug 7791 – Unnecessarily slow test in the DMD test suite

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-03-28T22:45:57Z
Last change time
2020-06-19T03:35:28Z
Keywords
TestSuite
Assigned to
No Owner
Creator
Don

Comments

Comment #0 by clugdbug — 2012-03-28T22:45:57Z
The file testthread2.d is by far the slowest test in the test suite; it takes 10% of the total running time, yet it is only testing a single bug (bug 3930). It's so slow because it wasn't a fully reduced test. Now that the root cause is known, it should be possible to make a much better test. The other notably slow test is testgc3, which is a pretty useless test, because it can't even fail! It's another 4-5% of the running time.
Comment #1 by razvan.nitu1305 — 2020-06-19T03:35:28Z
I ran the tests just now. testthread2 -> 6s testgc3 -> 2s On my machines, it takes approximately 10 minutes to run all the runnable tests (with -j8) so I think that we can close this now.