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.

Author pitrou
Recipients lemburg, pitrou
Date 2008-10-09.21:26:54
SpamBayes Score 7.83872e-11
Marked as misclassified No
Message-id <1223587612.16985.8.camel@fsol>
In-reply-to <>
> Note that pybench disables GC per default for exactly the reasons
> causing #4074 :-)

I know, I was thinking to enable the GC only in the GC-specific test of
course. The idea is to have a test stressing the GC heavily, such as the
example code in #4074.

The reason I suggest doing it in pybench is that it offers existing
facilities for measuring execution times, agregating results etc.

> Regarding memory management: The exact amount of used memory is hard to
> determine from within a process due to the way e.g. Linux or other
> modern OSes manage memory.

I was not thinking about measuring the amount of used memory but rather
the time spent in specific tests which would focus on the CPU cost of
memory allocation rather than computation or control flow. Something
like allocating lots of strings or tuples of various sizes, then
releasing them in various orders.
Date User Action Args
2008-10-09 21:26:56pitrousetrecipients: + pitrou, lemburg
2008-10-09 21:26:55pitroulinkissue4093 messages
2008-10-09 21:26:54pitroucreate