Hardware performance counters are great but you usually only use them on one-off whole program debug runs. I've prototyped sampling them at every OxCaml Runtime Events span instead, at almost no cost. Eventually this could surface issues across a whole fleet of services. toao.com/blog/free-pe...
Free Hardware Performance Counters in OxCaml Runtime Events - Sadiq Jaffer
toao.com