aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql_test.go
diff options
context:
space:
mode:
authorHana (Hyang-Ah) Kim <hyangah@gmail.com>2020-04-22 16:24:30 -0400
committerHyang-Ah Hana Kim <hyangah@gmail.com>2020-04-22 21:08:58 +0000
commit0ee4b13830572ad66cdcc045d1e4ae1e15a87ebb (patch)
treea57dab34de403ad03df540cf4cde7ab356da265b /src/database/sql/sql_test.go
parent3e342e8719b8d84a976c05df0c03d9084c5f39e6 (diff)
downloadgo-0ee4b13830572ad66cdcc045d1e4ae1e15a87ebb.tar.xz
net/http/pprof: allow "seconds" parameters to most profiles
golang.org/cl/147598 added the support for delta computation for mutex and block profiles. In fact, this delta computation makes sense for other types of profiles. For example, /debug/pprof/allocs?seconds=x will provide how much allocation was made during the specified period. /debug/pprof/goroutine?seconds=x will provide the changes in the list of goroutines. This also makes sense for custom profiles. Update #23401 Update google/pprof#526 Change-Id: I45e9073eb001ea5b3f3d16e5a57f635193610656 Reviewed-on: https://go-review.googlesource.com/c/go/+/229537 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions