This is a Nim Wrapper For Coz Profiler
Install Coz: https://github.com/plasma-umass/coz
apt install coz-profiler
Setup
nimble install https://github.com/s0kil/nimcoz
Build
nim c --debuginfo:on --debugger:native --passC:"-gdwarf-3" --passL:"-ldl" program.nim
Run
coz run --- ./program
View Profile
profile.coz
into https://plasma-umass.org/coz/xdg-open /usr/share/coz-profiler/viewer/index.htm