Re: [StGit RFC] Make "stg branch -l" faster by getting all git config information in one call

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

 



"Catalin Marinas" <catalin.marinas@xxxxxxxxx> writes:

> BTW, have you run stg-prof to check where it spends most of the time?
> Is it caused by Python object creation or GIT calls invoked during the
> Series objects initialisation. If the latter, we can turn some
> variables into properties and access them lazily.

I ran with STG_SUBPROCESS_LOG=debug and noticed that there were four
invokations of git for each branch it listed, in addition to the ten
invokation before it even starts to list the branches.

So I focused on replacing those 4xN invokations with 2 invokations,
and it helped a lot.  But I'm sure there are still lots of things to
improve.

Actually, I didn't know about stg-prof.

-- 
David Kågedal
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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