When we refactored expvar, the cmdline and memstats sections were not readded to the output. This adds it back if they can be found inside of `expvar`. It also stops trying to sort the output of the statistics so they get returned faster. JSON doesn't need them to be sorted and it causes enough latency problems that sorting them hurts performance. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
handler.go | ||
handler_test.go | ||
listen.go | ||
listen_test.go | ||
response_logger.go | ||
response_writer.go | ||
service.go |