@@ -1688,6 +1688,16 @@ functions is listed.)
1688
1688
1689
1689
See also L<https://github.com/google/sanitizers/wiki/AddressSanitizer>.
1690
1690
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
+
1691
1701
1692
1702
=head1 PROFILING
1693
1703
@@ -1867,6 +1877,33 @@ event count threshold.
1867
1877
1868
1878
=back
1869
1879
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
+
1870
1907
=head1 MISCELLANEOUS TRICKS
1871
1908
1872
1909
=head2 PERL_DESTRUCT_LEVEL
0 commit comments