Skip to content

Commit a7b106d

Browse files
committed
perlhacktips: point at some more tools
1 parent a742fa0 commit a7b106d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

pod/perlhacktips.pod

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,6 +1688,16 @@ functions is listed.)
16881688

16891689
See also L<https://github.com/google/sanitizers/wiki/AddressSanitizer>.
16901690

1691+
=head2 Dr Memory
1692+
1693+
Dr. Memory is a tool similar to valgrind which is usable on Windows
1694+
and Linux.
1695+
1696+
It supports heap checking like C<memcheck> from valgrind. There are
1697+
also other tools included.
1698+
1699+
See L<https://drmemory.org/>.
1700+
16911701

16921702
=head1 PROFILING
16931703

@@ -1867,6 +1877,33 @@ event count threshold.
18671877

18681878
=back
18691879

1880+
=head2 C<profiler> profiling (Cygwin)
1881+
1882+
Cygwin allows for C<gprof> profiling and C<gcov> coverage testing, but
1883+
this only profiles the main executable.
1884+
1885+
You can use the C<profiler> tool to perform sample based profiling, it
1886+
requires no special preparation of the executables beyond debugging
1887+
symbols.
1888+
1889+
This produces sampling data which can be processed with C<gprof>.
1890+
1891+
There is L<limited
1892+
documentation|https://www.cygwin.com/cygwin-ug-net/profiler.html> on
1893+
the Cygwin web site.
1894+
1895+
=head2 Visual Studio Profiling
1896+
1897+
You can use the Visual Studio profiler to profile perl if you've built
1898+
perl with MSVC, even though we build perl at the command-line. You
1899+
will need to build perl with C<CFG=Debug> or C<CFG=DebugSymbols>.
1900+
1901+
The Visual Studio profiler is a sampling profiler.
1902+
1903+
See L<the visual studio
1904+
documentation|https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/profiling/beginners-guide-to-performance-profiling.md>
1905+
to get started.
1906+
18701907
=head1 MISCELLANEOUS TRICKS
18711908

18721909
=head2 PERL_DESTRUCT_LEVEL

0 commit comments

Comments
 (0)