Re: accumulating projects in kate lead to excessive kate startup time due to git
Milian Wolff <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <4301984.hWhQk2AlGP@milian-workstation> |
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 [email protected] http://milianw.de
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmKvca0ACgkQ8zYW/HGd OX/szA/8DuH64CTiIH7uYi9+23ZqdcXUWvXJr3OTCV6CyfMc1C8s7rmIl4bocV+e PtwPBW2bw+GFvZzNauEh9OtMNQKwkGLDjHU4uoNtmSihNZK9TXh++M+Aul/1Q8K/ rGLUghZBgzkScG8mgjb3B3AgpWj6i5da/gz08RGfXZMZ2IwTnG74LRw7AEDsgruJ OI4Y9vDooQiXhAU5VT6ha9wMciJE464AWXoR3X3QYcyfeg+5xHJLBjvExZIyqwtY OaUOstZpKtmQp4Ng0N23Ks0SNRYcheOEqm1/ZBok1XBZXb74DS9lnUYs2qm6zCz/ 8pAGRYyR6/IkfcGWWWhASLEBFHufQYmeY+TfX9LnlE0q43U37zSY73yHqTkn/wyK 2rU4AQCav9nf9Iieamr8BKbhu+0VSR90yT3k3AiDmi/G1petYbG9t1IurqluKOg+ gYB5caqhtqnN803JGcx8nbh15B4UxXNJMyAS8xQrIQhryyvH3DYZSDZU0iTmVAqB gf+vHXf3S0hzs/A359yjBdiIDUZDDQg/Dx8gqGdj3cst9DMZ/GwShgwztEzBjFjf u0+fv3e6QK2NtntdLL35tEdWBE2LNqdYjPgrIbKK2J78YaWheI2sLiqQEfMVN1+H wnAxvuvX3V5X+cSQWFxErhW0SYFIDsObcvFDxQSNDGVZanP3oSM= =kaMZ -----END PGP SIGNATURE-----