HomePhabricator

http.go: enable profiling

Authored by Eevans on Aug 9 2019, 4:01 PM.

Description

http.go: enable profiling

Enables the retrieval of profiling information via HTTP endpoint(s).

Usage:

go tool pprof -seconds 30 kask http://host:8081/debug/pprof/profile

We should revert this after testing.

Bug: T229697
Change-Id: Ic84926e2065a33473d7100038e72d0689e7882d4

Details