Telegram Web
Yet another tutorial how to use #golang pprof, but this time something else: pprof++
- Improved accuracy
- Insights into many kinds of CPU events
- High-frequency measurement

https://eng.uber.com/pprof-go-profiler/ by twitter.com/UberEng
Perf is a good thing, but you also need to measure it properly. Check this out https://stonecode.ca/benchmarking-with-go/

(additional 💟 for the upcoming -shuffle=on in #golang 1.17)
High Performance Go Workshop by twitter.com/davecheney

Great page for an intro to achieve faster #golang code and also a good source of best practices.

https://dave.cheney.net/high-performance-go-workshop/dotgo-paris.html
#golang 1.17 RC1 is amazing.

This service does a lot of JSON operations, math and too many loops :D
Also reflection, outside of encoding/json.

(Screenshot by a friend of mine.)

https://twitter.com/golang/status/1415045781233545218
🇺🇦 Go performance channel
#golang 1.17 RC1 is amazing. This service does a lot of JSON operations, math and too many loops :D Also reflection, outside of encoding/json. (Screenshot by a friend of mine.) https://twitter.com/golang/status/1415045781233545218
Clarification: middle of the graph is 1.17 RC1

Graph show: 1.16 -> 1.17 RC1 -> (rollback to) 1.16

Prometheus query: irate(process_cpu_seconds_total{kubernetes_pod_name=~"$kubernetes_pod_name"}[1m])
Old but very-very good file read-parsing optimisation in #golang by @marcellanz

https://marcellanz.com/post/file-read-challenge/
2025/07/14 09:57:13
Back to Top
HTML Embed Code: