Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
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 PM
12/16/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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