• Austin Clements's avatar
    cmd/trace: add minimum mutator utilization (MMU) plot · 3053788c
    Austin Clements authored
    This adds an endpoint to the trace tool that plots the minimum mutator
    utilization curve using information on mark assists and GC pauses from
    the trace.
    
    This commit implements a fairly straightforward O(nm) algorithm for
    computing the MMU (and tests against an even more direct but slower
    algorithm). Future commits will extend and optimize this algorithm.
    
    This should be useful for debugging and understanding mutator
    utilization issues like #14951, #14812, #18155. #18534, #21107,
    particularly once follow-up CLs add trace cross-referencing.
    
    Change-Id: Ic2866869e7da1e6c56ba3e809abbcb2eb9c4923a
    Reviewed-on: https://go-review.googlesource.com/c/60790
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
    3053788c
Name
Last commit
Last update
..
bytealg Loading commit data...
cpu Loading commit data...
fmtsort Loading commit data...
goroot Loading commit data...
nettrace Loading commit data...
poll Loading commit data...
race Loading commit data...
singleflight Loading commit data...
syscall Loading commit data...
testenv Loading commit data...
testlog Loading commit data...
trace Loading commit data...
traceparser Loading commit data...