sweet: add helper to write pprof files

Change-Id: I047004d6f79048b1c6ef244e4f273e6ca0b25f56
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/600056
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2 files changed