From 75abf7250325d90a74189ea7e4852d36c3fdd67c Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 17 Sep 2012 00:31:41 +0200 Subject: profiler improvements --- doc/estp.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/estp.txt b/doc/estp.txt index a3cbee516..48df19739 100644 --- a/doc/estp.txt +++ b/doc/estp.txt @@ -21,8 +21,7 @@ your own profiler. The setting ``--profiler:on`` defines the conditional symbol ``profiler``. After your program has finished the profiler will create a -file ``profile_resultsX.txt``(where ``X`` is a previously unused number) -containing the profiling results. +file ``profile_results.txt`` containing the profiling results. Since the profiler works by examining stack traces, it's essential that the option ``--stackTrace:on`` is active! Unfortunately this means that a @@ -35,7 +34,7 @@ Example results file The results file lists stack traces ordered by significance. The following example file has been generated by profiling the Nimrod compiler -itself: It shows that in total 4.1% of the runtime has been spent +itself: It shows that in total 5.4% of the runtime has been spent in ``crcFromRope`` or its children. In general the stack traces show you immediately where the problem is because -- cgit 1.4.1-2-gfad0