From: Stefan Sperling Subject: Re: How you generated got-update.png? (was: Optimized branch switching?) To: Mikolaj Kucharski Cc: gameoftrees@openbsd.org Date: Tue, 13 Sep 2022 16:15:16 +0200 On Tue, Sep 13, 2022 at 02:07:14PM +0000, Mikolaj Kucharski wrote: > Hi Stefan! > > Question unrelated to the thread. How did you generated file attached in > message quoted below? > > It's this one https://marc.gameoftrees.org/mail/1663067411.14669_0.html > but there is no attchments in that online version of the email. See Got's README file where it talks about profiling. In particular, this command is documented there: [[[ The gprof2dot program can be used to generate a profile graph: $ doas pkg_add gprof2dot graphviz $ gprof ~/bin/got-read-pack gmon.out | gprof2dot | dot -T png > profile.png ]]]