aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/objdump/objdump_test.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-11-01 12:33:58 -0400
committerCherry Mui <cherryyz@google.com>2022-11-03 16:00:30 +0000
commitb07e845e764806fa888cb4e99c8ace4625f0472f (patch)
tree551c84bb280ba74ad025c8555a572b1576170f7e /src/cmd/objdump/objdump_test.go
parent932330fdbf669e28748227148f3f633620a5a300 (diff)
downloadgo-b07e845e764806fa888cb4e99c8ace4625f0472f.tar.xz
cmd/compile: use CDF to determine PGO inline threshold
Currently in PGO we use a percentage threshold to determine if a callsite is hot. This CL uses a different method -- treating the hottest callsites that make up cumulatively top X% of total edge weights as hot (X=95 for now). This default might work better for a wider range of profiles. (The absolute threshold can still be changed by a flag.) For #55022. Change-Id: I7e3b6f0c3cf23f9a89dd5994c10075b498bf14ee Reviewed-on: https://go-review.googlesource.com/c/go/+/447016 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/cmd/objdump/objdump_test.go')
0 files changed, 0 insertions, 0 deletions