git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bug] "git bisect old v3.0" takes 21 mins on Linux repo
@ 2025-01-13 22:11 Askar Safin
  2025-01-13 23:16 ` Askar Safin
  2025-01-14 22:21 ` D. Ben Knoble
  0 siblings, 2 replies; 10+ messages in thread
From: Askar Safin @ 2025-01-13 22:11 UTC (permalink / raw)
  To: git

Hi. This is bug report. "git bisect" is unacceptable slow on Linux repo.

Steps to reproduce:

===
d-user@comp:/tmp/t$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Cloning into 'linux'...
remote: Enumerating objects: 13079335, done.
remote: Counting objects: 100% (153/153), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 13079335 (delta 84), reused 70 (delta 45), pack-reused 13079182
Receiving objects: 100% (13079335/13079335), 5.18 GiB | 13.72 MiB/s, done.
Resolving deltas: 100% (10454171/10454171), done.
Updating files: 100% (87234/87234), done.
d-user@comp:/tmp/t$ cd linux
d-user@comp:/tmp/t/linux$ git bisect start
status: waiting for both good and bad commits
d-user@comp:/tmp/t/linux$ git bisect new v6.13-rc7
status: waiting for good commit(s), bad commit known
d-user@comp:/tmp/t/linux$ time -p git bisect old v3.0
Bisecting: 535608 revisions left to test after this (roughly 19 steps)
[62606c224d72a98c35d21a849f95cccf95b0a252] Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
real 1293.32
user 1291.70
sys 1.41
===

1293.32 s (21 mins) is unacceptably slow. During "git bisect" execution process "git bisect--helper" occupies 100 % of CPU in "htop" output. (This means that "git bisect--helper" is not parallel program, overwise it would occupy significantly more than 100 %).

So, please, make "git bisect" faster. (Maybe it makes sence to make it parallel?)

My OS is Debian 12 Bookworm. Output of "uname -a" is "Linux comp 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux".

My git version is 2.39.5.

The above test was performed on tmpfs on real hardware without any kind of virtualization.

I will try to perform the same test with latest git version and will report my findings in the next mail (hopefully today).

--
Askar Safin
https://types.pl/@safinaskar


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-01-17 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 22:11 [bug] "git bisect old v3.0" takes 21 mins on Linux repo Askar Safin
2025-01-13 23:16 ` Askar Safin
2025-01-14 22:21 ` D. Ben Knoble
2025-01-16 10:52   ` Jeff King
2025-01-16 12:53     ` Jeff King
2025-01-16 13:52       ` Jeff King
2025-01-16 16:40         ` Junio C Hamano
2025-01-17  5:31           ` Askar Safin
2025-01-17 13:14             ` Jeff King
2025-01-17 16:50               ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).