aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/trace
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2017-07-25 15:03:44 -0400
committerAustin Clements <austin@google.com>2018-11-05 19:10:33 +0000
commite72595ee0f97746be3ce594834a7003d5e804795 (patch)
treedc1bd445d53ff1a181c4788a3cd4aa24e78e7ab3 /src/cmd/trace
parentb251d7fbe6d69e1ce81baf7959062ae489858f31 (diff)
downloadgo-e72595ee0f97746be3ce594834a7003d5e804795.tar.gz
go-e72595ee0f97746be3ce594834a7003d5e804795.zip
cmd/trace: notes on MMU view improvements
Change-Id: Ib9dcdc76095f6718f1cdc83349503f52567c76d4 Reviewed-on: https://go-review.googlesource.com/c/60801 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'src/cmd/trace')
-rw-r--r--src/cmd/trace/mmu.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmd/trace/mmu.go b/src/cmd/trace/mmu.go
index 062e5ad2ca..6a7d28e61d 100644
--- a/src/cmd/trace/mmu.go
+++ b/src/cmd/trace/mmu.go
@@ -4,6 +4,25 @@
// Minimum mutator utilization (MMU) graphing.
+// TODO:
+//
+// In worst window list, show break-down of GC utilization sources
+// (STW, assist, etc). Probably requires a different MutatorUtil
+// representation.
+//
+// When a window size is selected, show a second plot of the mutator
+// utilization distribution for that window size.
+//
+// Render plot progressively so rough outline is visible quickly even
+// for very complex MUTs. Start by computing just a few window sizes
+// and then add more window sizes.
+//
+// Consider using sampling to compute an approximate MUT. This would
+// work by sampling the mutator utilization at randomly selected
+// points in time in the trace to build an empirical distribution. We
+// could potentially put confidence intervals on these estimates and
+// render this progressively as we refine the distributions.
+
package main
import (