sweet/benchmarks/internal/server: collect at least one profile
For profiles that can't be truncated, make sure we collect at least
one 1-second profile from servers. This is important for PGO
benchmarks, which must first do a profile run. Etcd, in particular,
may not run long enough for a complete profile without this.
Change-Id: I4f26dd43d0a3cfd5fa7a4eda488e8b71bbfb65f0
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/600756
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
1 file changed