This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年03月23日 17:49 by exarkun, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| debug-stats.patch | exarkun, 2008年03月23日 17:49 | |||
| gc_timestat.patch | nas, 2008年03月25日 04:23 | a more ambitious fix | ||
| Messages (3) | |||
|---|---|---|---|
| msg64372 - (view) | Author: Jean-Paul Calderone (exarkun) * (Python committer) | Date: 2008年03月23日 17:49 | |
If gc.set_debug(gc.DEBUG_STATS) is enabled, collection will report elapsed time as it progresses through collection. However, the reporting code clobbers the value it uses to compute the elapsed time, so the value alternates between an almost correct valid and a completely incorrect value. |
|||
| msg64455 - (view) | Author: Neil Schemenauer (nas) | Date: 2008年03月25日 04:23 | |
The original code is pretty icky. I'm attaching a patch that improves it, IMO. Before the elapsed time was only shown if garbage was found. I think it should always be shown if DEBUG_STATS is set. |
|||
| msg77991 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年12月17日 22:51 | |
Fixed in r67832, thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:32 | admin | set | github: 46719 |
| 2008年12月17日 22:51:06 | pitrou | set | status: open -> closed versions: + Python 2.7, - Python 2.6, Python 2.5 nosy: + pitrou messages: + msg77991 resolution: fixed stage: resolved |
| 2008年03月25日 04:23:09 | nas | set | files:
+ gc_timestat.patch nosy: + nas messages: + msg64455 |
| 2008年03月23日 17:49:34 | exarkun | create | |