#23992 closed Cleanup/optimization (fixed)
DiscoverRunner.build_suite() is slow
| Reported by: | Thomas C | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The current implementation of DiscoverRunner.build_suite() is slow (it takes 30s+ on my machine when running the full Django test suite). This time is mostly spent on the partition_suite() function.
Change History (3)
comment:1 by , 11 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:2 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Wow, passing from 22/23 secs to 0.04 secs, amazing.