bashhub-server/cmd
nicksherron 703567f19c cmd/root: add runtime profiling
This adds trace, cpu and memory profiling to the root command. To use, set any of the environment variables BH_SERVER_DEBUG_TRACE, BH_SERVER_DEBUG_CPU, BH_SERVER_DEBUG_MEM to a file name and the coinciding profile will run until you interrupt or terminate the process. Use the go tool pprof to analyse the output file you set in the environment variable.
2020-02-19 14:30:19 -05:00
..
root.go cmd/root: add runtime profiling 2020-02-19 14:30:19 -05:00
transfer.go cmd/transfer_test: add postgres to transfer tests 2020-02-19 04:02:58 -05:00
transfer_test.go cmd/transfer_test: add postgres to transfer tests 2020-02-19 04:02:58 -05:00
version.go gofmt 2020-02-10 01:54:50 -05:00