Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a 3.8% performance regression building in go when I upgrade from go-12.9 to go-13.0 #34487

Closed
jiebinn opened this issue Sep 24, 2019 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@jiebinn
Copy link

jiebinn commented Sep 24, 2019

What version of Go are you using (go version)?

13.0

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/pnp/.cache/go-build"
GOENV="/home/pnp/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/pnp/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="gcc-ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build249663122=/tmp/go-build -gno-record-gcc-switches"

What did you do?

  1. wget https://phoronix-test-suite.com/releases/phoronix-test-suite-9.0.0.tar.gz
  2. tar zxvf phoronix-test-suite-9.0.0.tar.gz
  3. cd ~/phoronix-test-suite
    ./install-sh
  4. phoronix-test-suite run go-benchmark
  5. select the option: build

What did you expect to see?

I hope there is no regression building in go when I upgrade from go-12.9 to go-13.0

What did you see instead?

3.8% loss in go-benchmark(option: build)

@randall77
Copy link
Contributor

Where can I get the source for the benchmark? It isn't in that download.

By "build", is this a benchmark of building Go programs? I don't think it is a large problem that builds are 3.8% slower. If you wish to continue investigating, It might help to narrow down where the extra time goes - compiler or linker? What compiler phase? Etc.

@agnivade agnivade added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 24, 2019
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants