Re: [PATCH] chainlint.pl: recognize test bodies defined via heredoc

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

 



On Mon, Jul 08, 2024 at 04:17:46PM -0400, Eric Sunshine wrote:

> By the way, regarding your 4s instead of 200ms result, I don't think
> that is necessarily reflective of what can be achieved. In particular,
> to properly measure the effect, you also need to remove all the
> threading support from chainlint.pl since using "ithreads" adds a
> not-insignificant amount of time to script startup, especially on
> Windows, but even on Unix it is quite noticeable.

Yes, that is the low-hanging fruit I found. ;) Just adding:

  $jobs = @scripts if @scripts < $jobs;

cuts the time to run all scripts individually from ~4s to ~1.7s.

Removing the threading entirely goes to ~1.1s. I hadn't tried that until
now, but it is probably worth doing for the case of $jobs == 1.

-Peff




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux