[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH RESEND] Documentation/sphinx: prevent generation of .pyc files in the source tree



On Wed, 01 Feb 2017, Jonathan Corbet <corbet@lwn.net> wrote:
> On Tue, 31 Jan 2017 20:18:05 +0200
> Jani Nikula <jani.nikula@intel.com> wrote:
>
>> Considering the small amount of python code to compile (assuming sphinx
>> itself has .pyc around), the impact on build is neglible.
>
> Hey...don't you know that performance-impacting patches need benchmarks?

Heh, I was briefly worried at this point! :)

>
> Sphinx-only htmldocs build before:
>
> 	real	2m26.063s
> 	user	2m19.184s
> 	sys	0m5.429s
>
> After:
>
> 	real	2m26.342s
> 	user	2m20.445s
> 	sys	0m5.611s
>
> You owe me 0.279 seconds :)
>
> (Applied, thanks).
>
> jon

-- 
Jani Nikula, Intel Open Source Technology Center


Reply to: