Artifacts Associated With Ticket 1080039fffffffff
Ticket change [b2629429a4] (rid 98322) by dgp on 2004-12-06 15:56:27:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I find that when running Tcl's test suite, the safe.test file always takes several minutes to complete. Looking into the details of this, I find that the SafeBase [source] alias is being force to deal with hundreds of files, and this all derives from an ::auto_path list with hundreds of elements. Basically every subdirectory of /usr/local/lib ends up on the ::auto_path, and on my system, that's a lot of files. None of them appear to be important to what's being tested in safe.test, so the attached patch saves ::auto_path, sets it to a bare minimum value, and restores when safe.test tests are done. Result is much faster.
- foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "33. Safe Base"
- title initialized to: "safe.test performance"
- type initialized to: "Bug"
Add attachment "safe.patch" [e050e66b5a] (rid 115166) by dgp on 2004-12-06 22:56:27.
Ticket change [e4c7d6806b] (rid 88017) by dgp on 2004-12-06 22:56:28:
- icomment:
File Added - 111456: safe.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [85013855f2] (rid 131252) by dgp on 2004-12-06 22:57:21:
- icomment:
Logged In: YES user_id=80530 same technique also helps Tk's safe.test
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c9078f2a24] (rid 122219) by dgp on 2004-12-07 05:40:09:
- assignee changed to: "dgp"
- closedate changed to: "2004-12-06T22:40:09"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 committing for 8.5a2.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "dgp"