Author mdk
Recipients ebarry, mdk, serhiy.storchaka, sjpalt, vstinner
Date 2017-02-18.10:43:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487414604.77.0.086424811701.issue28866@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

Tried again, this  time getting some stats with MCACHE_STATS 1, to check if my patch is defeating the cache:

Without my patch:

$ time ./python performance/benchmarks/bm_chaos.py --worker -l1 -w0 -n1 --filename chaos.ppm --width=512 --height=512 --iterations 50000
chaos: Median: 2.51 sec
-- Method cache hits        = 16581735 (99%)
-- Method cache true misses = 4092 (0%)
-- Method cache collisions  = 28542 (0%)
-- Method cache size        = 96 KB

With my patch:

$ time ./python performance/benchmarks/bm_chaos.py --worker -l1 -w0 -n1 --filename chaos.ppm --width=512 --height=512 --iterations 50000
chaos: Median: 2.53 sec
-- Method cache hits        = 16582260 (99%)
-- Method cache true misses = 4096 (0%)
-- Method cache collisions  = 28012 (0%)
-- Method cache size        = 96 KB
History
Date User Action Args
2017-02-18 10:43:24mdksetrecipients: + mdk, vstinner, serhiy.storchaka, ebarry, sjpalt
2017-02-18 10:43:24mdksetmessageid: <1487414604.77.0.086424811701.issue28866@psf.upfronthosting.co.za>
2017-02-18 10:43:24mdklinkissue28866 messages
2017-02-18 10:43:24mdkcreate