Understanding the Go Runtime: Profiling

·Hacker News··

In the previous article we took apart the reflect package and found that its magic is mostly the compiler leaving very good notes — type descriptors frozen into read-only data at build time, and a package that knows how to walk them. The whole article was about reading metadata that was already sitting in memory before main even started. Today we shift the perspective. Profiling is the runtime catching your program in motion — sampling what it’s doing and where it’s spending its tim

Read full article →

Related Articles

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache
TangerineDream · Hacker News · 20h ago
We found a division by zero bug in FFmpeg with a vibecoded fuzzer
dclavijo · Hacker News · 19h ago
Climate change is strengthening El Niño, coral records suggest
shymaple · Hacker News · 6h ago
Decompiling a Nintendo 64 game in 84 days
knackers · Hacker News · 22h ago
Tell HN: PayPal Blocks GrapheneOS
leumon · Hacker News · 1d ago