[Speed] External sources of noise changing call_simple "performance"

Antoine Pitrou solipsis at pitrou.net
Tue May 31 08:47:53 EDT 2016


On Tue, 31 May 2016 14:41:55 +0200
Victor Stinner <victor.stinner at gmail.com>
wrote:
> 2016-05-30 10:14 GMT+02:00 Antoine Pitrou <solipsis at 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.




More information about the Speed mailing list