[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: accumulating projects in kate lead to excessive kate startup time due to git
From:       Milian Wolff <mail () milianw ! de>
Date:       2022-06-19 18:57:49
Message-ID: 4301984.hWhQk2AlGP () milian-workstation
[Download RAW message or body]


On Samstag, 18. Juni 2022 14:15:42 CEST Milian Wolff wrote:
> Hey all,
> 
> Kate took ~4s to show its main window on my beefy workstation with lots of
> RAM, CPUs and speedy NVME disks. I found this quite odd and wondered about
> the reason so I sat down and profiled it. Perf shows a lot of external git
> processes running sequentially, which I could also replicate with strace:

<snip>

> b) Can we query the git status in parallel for all projects, instead of
> serially? My machine has 12 cores and 24 threads, and the NVME disk and ram
> should also allow this.

I dug a bit deeper, and this is starting to look extremely odd to me. You can 
see a perfparser log for kate startup with three project, which already takes 
~1s or so:


-- 
Milian Wolff
mail@milianw.de
http://milianw.de
["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic