Skip to content

Profiling

konqoro edited this page Jul 10, 2017 · 3 revisions

Embedded Stack Trace Profiler: http://nim-lang.org/docs/estp.html

Profiling Nim with Valgrind

# build your application as:
nim --debugger:native c application.nim

# profile calls with:
valgrind --tool=callgrind ./application

# terminate the application and visualize the calls with:
callgrind_annotate callgrind.out.<pid>
Clone this wiki locally
You can’t perform that action at this time.