On Tue, 31 May 2016 14:41:55 +0200 Victor Stinner victor.stinner@gmail.com wrote:
2016-05-30 10:14 GMT+02:00 Antoine Pitrou solipsis@pitrou.net:
I'm still (!) investigating the reasons why the benchmark call_simple (ok, let's be honest: the *micro*benchmark) gets different results for unknown reasons.
Try to define MCACHE_STATS in Objects/typeobject.c and observe the statistics from run to run. It might give some hints.
call_simple only uses regular functions, not methods, so the type cache should not have any effect on it. No?
Indeed, sorry for the mistake.
Regards
Antoine.