Created Profiling (asciidoc)

This commit is contained in:
Federico Ceratto 2016-04-07 16:10:00 +01:00
parent 564bb8a8dc
commit a1fe034dc5
1 changed files with 15 additions and 0 deletions

15
Profiling.asciidoc Normal file
View File

@ -0,0 +1,15 @@
==== Profiling Nim with Valgrind
[source,bash]
----
# build your application as:
nim -d:release --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>
----