tempfork: add lite fork of net/http/pprof w/o html/template or reflect

This commit is contained in:
Brad Fitzpatrick
2020-07-21 16:15:56 -07:00
parent 6095a9b423
commit f26b409bd5
3 changed files with 386 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
This is a fork of net/http/pprof that doesn't use init side effects
and doesn't use html/template (which ends up calling
reflect.Value.MethodByName, which disables some linker deadcode
optimizations).