git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* I made a flame graph renderer for git's trace2 output
@ 2019-05-10 15:09 Ævar Arnfjörð Bjarmason
  2019-05-10 16:38 ` Derrick Stolee
  2019-05-10 21:03 ` Jeff King
  0 siblings, 2 replies; 9+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2019-05-10 15:09 UTC (permalink / raw)
  To: Git Mailing List
  Cc: Derrick Stolee, Jeff Hostetler, Jeff King, Junio C Hamano,
	Josh Steadmon, Johannes Schindelin

Here's a flamegraph of where git's test suite spends its time on my box:
https://vm.nix.is/~avar/noindex/git-tests.svg

I hacked up a script for this today to plot trace2 production data, as
noted there it's at:
https://github.com/avar/FlameGraph/tree/stackcollapse-git-tr2-event

What are flamegraphs? See http://www.brendangregg.com/flamegraphs.html

As noted in TODOs in the script there's various stuff I'd like to do
better, and this also shows how we need a lot more trace regions to get
granular data.

But it's already quite cool, and I'll keep improving it. I'll submit a
PR to Brendan's parent repo once I'm happy enough with it, I figure it
makes more sense there than in git.git, but maybe we'd eventually want
to teach the test suite to optionally use something like this.

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

end of thread, other threads:[~2019-05-21 20:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 15:09 I made a flame graph renderer for git's trace2 output Ævar Arnfjörð Bjarmason
2019-05-10 16:38 ` Derrick Stolee
2019-05-10 17:00   ` SZEDER Gábor
2019-05-20 18:49     ` Jeff Hostetler
2019-05-10 21:03 ` Jeff King
2019-05-10 21:57   ` Ævar Arnfjörð Bjarmason
2019-05-20 18:22     ` Jeff Hostetler
2019-05-21 14:19       ` Ævar Arnfjörð Bjarmason
2019-05-21 20:46         ` Jeff Hostetler

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).