How do I get a benchmark for the go toolchain instead of the compiler?

71 views
Skip to first unread message

qiulaidongfeng

unread,
Dec 16, 2023, 6:56:18 PM12/16/23
to golang-nuts
https://go-review.googlesource.com/c/go/+/533015 use pgo for the entire tool chain, not just to the compiler.
See https://github.com/golang/go/blob/master/src/cmd/compile/profile.sh, default.pgo contains the data of the std and cmd, so  should   for the  other go tool chain is also useful.
But see https://github.com/golang/go/issues/63407, https://pkg.go.dev/golang.org/x/tools/cmd/compilebench main measure speed of the compiler.
Is there any good way to measure the speed of other parts of the go toolchain, such as the linker?
Reply all
Reply to author
Forward
0 new messages