Mark Hansen's Blog
  • About
  • Subscribe by email
Custom flamegraph root frames from pprof Labels: 3 frames, 'docs section', 'single.html template', index.html target_filename

pprof -tagroot: Custom Labels in Go Flamegraphs

6 months ago 4 min read ProfilingVisualizationsProgramming
pprof -tagroot lets you break down & visualise pprof software profiles by custom, domain-specific key-value pairs (Labels, aka Tags) attached to each stack sample.
Read Now Read Later
Mark Hansen
By: Mark Hansen
Three rulers

Profilerpedia: A map of the Software Profiling Ecosystem

7 months ago 4 min read ProfilingVisualizations
I mapped out over 100 Profilers, what Profile Data Formats they output, and what Profiler UIs can visualise those formats: Profilerpedia
Read Now Read Later
Mark Hansen
By: Mark Hansen
Attributing Latency in Go with Pprof Tags

Attributing Latency in Go with Pprof Tags

8 months ago 5 min read
A latency analysis of a Go program (Hugo), starting with in-app wall-clock counters, then pprof CPU profiling, then adding custom dimensions to slice the profile. BackgroundI recently migrated Graphviz's docs from Jekyll to
Read Now Read Later
Mark Hansen
By: Mark Hansen
Firefox Profiler flamegraph screenshot with colored stack frames: yellow for userland and orange for kernel.

Colouring Firefox Profiler Flamegraphs

8 months ago 6 min read VisualizationsProgrammingProfiling
This post covers: Adding colours to Firefox Profiler, and some neat tricks I learned along the way: data-oriented-programming in JavaScript, data format upgrade pipelines, and developer experience in test runners and console UI.
Read Now Read Later
Mark Hansen
By: Mark Hansen
Reverse Engineering Graphviz's Architecture by Profiling

Reverse Engineering Graphviz's Architecture by Profiling

8 months ago 7 min read ProfilingProgrammingGraphviz
Learning the architecture of a Linux application by profiling to find busy system components, and common call-graphs through the app.
Read Now Read Later
Mark Hansen
By: Mark Hansen
Newer Posts
Page 2 of 10
Older Posts
Powered by Ghost
  • Subscribe by email
  • GitLab
  • GitHub
  • Twitter