Thursday, May 08, 2025

Re: devel/git: used one thread by default

08.05.2025 11:33, Kirill A. Korinsky пишет:
> Klemens, Benoit,
>
> rovert@ had noticed that git out of the box uses as many threads as the
> system has CUPs. claudio@ had pointed that it is quite bad idea and use an
> example that ld.lld with -Wl,--threads=1 reduces the configure time by 15%
> and system time by 40%.
>
> So, here the diff which replaces 0 threads to 1 by default where it isn't 1
> already, and disabled try to use threads in name-hashing.
>
> Are you ok with it?

Not against it, but please document it in README, or better yet, add a note
to the relevant git-*(1) pages so users know (why) we deliberately changed it.

No comments:

Post a Comment