[Python-Dev] Extremely slow test modules

Antoine Pitrou solipsis at pitrou.net
Sat Jun 3 09:07:48 EDT 2017


On Sat, 3 Jun 2017 15:01:07 +0200
Antoine Pitrou <solipsis at pitrou.net> wrote:
> 
> > This is controlled by the cpy resource. 
> > I suggested to disable it on the slowest buildbots (-uall,-cpu). In that 
> > case tests are ran only for few random files.  
> 
> I don't really care about the buildbots, but I care about CI
> turnaround.  A Travis-CI test run takes 24 minutes.  Assuming it uses 4
> cores and those 4 tests take more than 6 minutes each, that means we
> could almost shave 6 minutes (25%) on the duration of the Travis-CI
> test run.

And if, as it is likely, Travis-CI only exposes 2 CPU cores, we could
actually shave 12 minutes off of each 24 minute CI run...

Regards

Antoine.




More information about the Python-Dev mailing list