[Ohrrpgce] SVN: teeemcee/12222 scons: don't use "git svn info" at all on any OS, it's so slow

Ralph Versteegen teeemcee at gmail.com
Thu Feb 11 05:56:37 PST 2021


On Fri, 12 Feb 2021 at 02:10, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2021-02-11 05:04:56 -0800 (Thu, 11 Feb 2021)
> 385
> scons: don't use "git svn info" at all on any OS, it's so slow
>
> Instead, use the "git log --grep ..." fallback already used on Windows.
>
> On my Linux machine, this reduces the time for running "scons unlump" with
> no
> rebuild needed from 1.4s to 0.8s, which feels like a lot in practice.
> Because
> scons does things in parallel, the reduction for a no-rebuild "scons" is
> only
> 1.5s -> 1.3s.
>

Oh, but those times are after warming up. For me (no SSD), build times are
about 10x or more greater with no warmup or when short on RAM, so this
change makes a huge difference.


> ---
> U   wip/ohrbuild.py
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20210212/5838cc12/attachment.html>


More information about the Ohrrpgce mailing list