3 ms·
Go also has pretty good out of the box profiling (pprof[0]) and third-party runtime debugging (delv[1]) that can be used both remotely and local. These tools a
by w7 5y ago
Go also has pretty good out of the box profiling (pprof[0]) and third-party runtime debugging (delv[1]) that can be used both remotely and local.
These tools also have decent editor integration and can be use hand in hand:
https://blog.jetbrains.com/go/2019/04/03/profiling-go-applications-and-tests/ https://blog.jetbrains.com/go/2019/04/03/profiling-go-applic...
https://blog.jetbrains.com/go/2020/03/03/how-to-find-goroutines-during-debugging/ https://blog.jetbrains.com/go/2020/03/03/how-to-find-gorouti...
[0] https://github.com/google/pprof https://github.com/google/pprof
[1] https://github.com/go-delve/delve https://github.com/go-delve/delve