Archived post by lwwwwwws

on mac it’s super easy using instruments.app which comes with xcode… just pick “time profiler”, choose a running process at the top, hit record for a few seconds then fiddle with the viewing options at the bottom ⏱️ actually there’s even a basic version you can get from activity monitor by hitting “sample process” from the three dots menu on linux you can do `perf record -p ` and then one of many options for viewing the output: perf.wiki.kernel.org/index.php/Tutorial#Flame_Graph

for windows i have no clue though, i’d love to know… i’m a clueless baby about windows development, you might have to install full visual studio