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 rbcollins
Recipients DamianMyerscough, rbcollins, vstinner
Date 2016-03-14.22:21:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457994075.16.0.284252021959.issue26562@psf.upfronthosting.co.za>
In-reply-to
Content
So this test script is making a 65K entry dict, and each item is a new, separate 65K string. The strings are allocated in single chunks, so we should expect  couple hundred reference count writes total.

AIUI involuntary context switches occur when there is CPU contention. What else do you have running? 

Notable Python is taking 3.83 seconds of system time, much more than your other tests. You may get some insight from strace -c.
History
Date User Action Args
2016-03-14 22:21:15rbcollinssetrecipients: + rbcollins, vstinner, DamianMyerscough
2016-03-14 22:21:15rbcollinssetmessageid: <1457994075.16.0.284252021959.issue26562@psf.upfronthosting.co.za>
2016-03-14 22:21:15rbcollinslinkissue26562 messages
2016-03-14 22:21:15rbcollinscreate