]> Cypherpunks repositories - gostls13.git/commit
test: restore no-gogcflags build shortcut, save time
authorDavid Chase <drchase@google.com>
Thu, 12 Mar 2020 00:17:14 +0000 (20:17 -0400)
committerDavid Chase <drchase@google.com>
Thu, 12 Mar 2020 17:37:13 +0000 (17:37 +0000)
commit040855e39bb471b09f3803cbca2c8d683b2bc6dc
tree8f499639a2e4f6db798579ac95609af22ecb0ce6
parent938ad552cdfdb1707acedcc641c8f8ada642644d
test: restore no-gogcflags build shortcut, save time

With a clean cache on a laptop
before change
time go run run.go -- . fixedbugs
  real 2m10.195s
  user 3m16.547s
  sys 1m52.939s

Or, before, directly after make.bash (the actual use case we care about)
time go run run.go -- . fixedbugs
  real 2m8.704s
  user 3m12.327s
  sys 1m49.123s

after change
time go run run.go -- . fixedbugs
  real 1m38.915s
  user 2m38.389s
  sys 1m8.490s

Tests, fortunately, still seem to pass.

Latest version of this takes the slow route for cross-compilation, which includes wasm.

Change-Id: Iad19951612defa96c4e9830bce920c5e8733834a
Reviewed-on: https://go-review.googlesource.com/c/go/+/223083
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/run.go