juju/charmstore — pull request #250 by rogpeppe (2014-12-05 13:16:11+00:00)
Title: internal/v4: add debug/pprof endpoint

This will make it possible to gain insight into how the server is behaving at runtime.

I've added a test for the endpoint that's most straightforward to test.
The others will need to be QA'd.

To QA, run the charmstore, then:

go tool pprof http://$charmstorehost/v4/debug/pprof/heap