In one of my Nim projects I'm having performance issues. I'm now trying to use nimprof
to see what's going on. I have an import nimprof
in my main source file, and I'm compiling with --profiler:on
. When I run the program I can see the messages:
writing profile_results.txt...
... done
However, profile_results.txt
only contains this:
total executions of each stack trace:
Entry: 1/1 Calls: 2741/2741 = 1.0e+02% [sum: 2741; 2741/2741 = 1.0e+02%]
The run time was about 1 minute -- so I don't think it is just not enough time to sample anything. Is there any way to get something more meaningful out of nimprof
?