"Catalin Marinas" <catalin.marinas@xxxxxxxxx> writes: > BTW, have you run stg-prof to check where it spends most of the time? > Is it caused by Python object creation or GIT calls invoked during the > Series objects initialisation. If the latter, we can turn some > variables into properties and access them lazily. I ran with STG_SUBPROCESS_LOG=debug and noticed that there were four invokations of git for each branch it listed, in addition to the ten invokation before it even starts to list the branches. So I focused on replacing those 4xN invokations with 2 invokations, and it helped a lot. But I'm sure there are still lots of things to improve. Actually, I didn't know about stg-prof. -- David Kågedal - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html