[virt-tools-list] [virt-manager PATCH] setup: introduce --jobs for pylint

Pavel Hrdina phrdina at redhat.com
Mon Sep 11 14:16:52 UTC 2017


On Mon, Sep 11, 2017 at 09:28:25AM -0400, Cole Robinson wrote:
> On 09/09/2017 05:19 AM, Pavel Hrdina wrote:
> > Pylint supports configuring jobs to use multiple processes to
> > speed up Pylint.  Default value is 1.
> > 
> > Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> > ---
> > 
> > pushed
> 
> Interesting, I never tried that. If it works well in practice maybe we just
> enable it by default. I'll play with it

I wouldn't enable it by default, it's like "make" vs "make -j5".
It takes some time to run the pylint and not everyone likes to
use all CPUs.

$ time ./setup.py pylint

    real    2m35.323s
    user    2m33.458s
    sys     0m1.325s

$ time ./setup.py pylint -j9

    real    1m3.551s
    user    6m16.115s
    sys     0m5.910s

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170911/7aa8aa23/attachment.sig>


More information about the virt-tools-list mailing list