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 skrah
Recipients brett.cannon, florin.papa, pitrou, serhiy.storchaka, skrah, vstinner, yselivanov, zbyrne
Date 2016-02-04.12:03:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20160204120348.GA5122@bytereef.org>
In-reply-to <1454585832.54.0.21571365928.issue26275@psf.upfronthosting.co.za>
Content
> STINNER Victor added the comment:
> I modified Stefan's telco.py to remove all I/O from the hot code: the benchmark is now really CPU-bound. I also modified telco.py to run the benchmark 5 times. One run takes around 2.6 seconds.
> 

Nice. telco.py is an ad-hoc script from the original decimal.py sandbox,
I missed that it called "infil.read(8)". :)

> And *NOW* using my isolated CPU physical cores #2 and #3 (Linux CPUs 2, 3, 6 and 7), still on the heavily loaded system:
> -----------------------
> $ taskset -c 2,3,6,7 python3 telco_haypo.py full 
> 
> Elapsed time: 2.579487486000062
> Elapsed time: 2.5827961039999536
> Elapsed time: 2.5811954810001225
> Elapsed time: 2.5782033600000887
> Elapsed time: 2.572370636999949

Great.  I'll try that out in the weekend.
History
Date User Action Args
2016-02-04 12:03:59skrahsetrecipients: + skrah, brett.cannon, pitrou, vstinner, serhiy.storchaka, yselivanov, zbyrne, florin.papa
2016-02-04 12:03:59skrahlinkissue26275 messages
2016-02-04 12:03:58skrahcreate