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

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

 



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@xxxxxxxxxx>
> > ---
> > 
> > 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux