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 vladistan
Recipients serhiy.storchaka, vladistan, vstinner
Date 2013-04-13.21:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365889277.7.0.333873071481.issue17694@psf.upfronthosting.co.za>
In-reply-to
Content
We have this issue triaged for at CPython hackathon in Boston.  Here is a patch for the issue.  

We only tested on Mac OS X 10.8.3,  which has zoned allocator,  so the memory profile is exactly the same with our without this patch.  The running time seems to be slightly better with the patch.  The benchmark we used runs for about 5.6 seconds with the patch vs.  5.9 seconds without the patch.  We run the benchmark multiple times and the results seem to be consistent.

Here are the results of the benchmarking and memory profile testing:

		With Fix	     		Without Fix

Mem	 1535 nodes (6377296 bytes)		1535 nodes (6378144 bytes)
Time     5.68					5.9 sec



The memory profile was measured by the MacOS X 'heap' command.  The timings come from attached benchmark module.  The original benchmark module is taken from here http://bugs.python.org/file25558/benchmark.py  and was modified to test this issue.
History
Date User Action Args
2013-04-13 21:41:17vladistansetrecipients: + vladistan, vstinner, serhiy.storchaka
2013-04-13 21:41:17vladistansetmessageid: <1365889277.7.0.333873071481.issue17694@psf.upfronthosting.co.za>
2013-04-13 21:41:17vladistanlinkissue17694 messages
2013-04-13 21:41:17vladistancreate