Skip to content

Commit c442265

Browse files
committed
Revises section on profiler
Which was masterfully done by @MasterDuke17. Closes #1921. Also removes accidental MD, refs #2022.
1 parent 40794f1 commit c442265

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Language/performance.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ When using the L<MoarVM|http://moarvm.org> backend, the
3737
L<Rakudo|http://rakudo.org> compiler's C<--profile> command line option writes
3838
the profile data to an HTML file.
3939
40-
It will open to the "Overview" section, which gives some overall data about how
40+
This file will open to the "Overview" section, which gives some overall data about how
4141
the program ran, e.g., total run time, time spent doing garbage collection. One
4242
important piece of information you'll get here is percentage of the total call
43-
frames (i.e., blocks) that were interpreted (slowest, in red), speshed (faster,
43+
frames (i.e., blocks) that were interpreted (slowest, in red), L<speshed|/language/glossary#index-entry-Spesh> (faster,
4444
in orange), and JITted (fastest, in green).
4545
4646
The next section, "Routines", is probably where you'll spend the most time. It has
@@ -49,7 +49,7 @@ times it ran, the inclusive time (time spent in that routine + time spent in all
4949
routines called from it), exclusive time (just the time spent in that routine), and
5050
whether it was interpreted, speshed, or JITted (same color code as the "Overview"
5151
page). Sorting by exclusive time is a good way to know where to start optimizing.
52-
Routines with a filename that starts like `SETTING::src/core/` or `gen/moar/` are
52+
Routines with a filename that starts like C<SETTING::src/core/> or C<gen/moar/> are
5353
from the compiler, a good way to just see the stuff from your own code is to put
5454
the filename of the script you profiled in the "Name" search box.
5555
@@ -107,7 +107,7 @@ of SQL statements, suitable for opening in SQLite.
107107
=end code
108108
109109
To learn how to interpret the profile info, use the C<prof-m: your code goes
110-
here> evalbot (explained above) and ask questions on the channel.
110+
here> evalbot (explained above) and ask questions on the IRC channel.
111111
112112
=head2 Profile compiling
113113

0 commit comments

Comments
 (0)