NYTProf test.pl

Performance Profile Index
For test.pl
Run on Mon Apr 5 14:31:27 2021
Reported on Mon Apr 5 14:31:40 2021
Profile of test.pl for 20.0ms (of 20.5ms), executing 1317 statements and 395 subroutine calls in 21 source files and 6 string evals.

The Flame Graph above is a visualization of the time spent in distinct call stacks. The colors and x-axis position are not meaningful.

Top 15 Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 3.88ms | 7.00ms | CPAN::Meta::::BEGIN@59 CPAN::Meta::BEGIN@59
1 | 1 | 1 | 2.63ms | 3.09ms | experimental::::BEGIN@8 experimental::BEGIN@8
1 | 1 | 1 | 2.38ms | 2.40ms | CPAN::Meta::Converter::::BEGIN@26CPAN::Meta::Converter::BEGIN@26
1 | 1 | 1 | 1.93ms | 2.01ms | CPAN::Meta::Prereqs::::BEGIN@18 CPAN::Meta::Prereqs::BEGIN@18
1 | 1 | 1 | 1.47ms | 1.48ms | experimental::::BEGIN@4 experimental::BEGIN@4
1 | 1 | 1 | 1.29ms | 12.2ms | main::::BEGIN@4 main::BEGIN@4
1 | 1 | 1 | 765µs | 3.58ms | CPAN::Meta::Feature::::BEGIN@8 CPAN::Meta::Feature::BEGIN@8
1 | 1 | 1 | 604µs | 778µs | CPAN::Meta::Prereqs::::BEGIN@17 CPAN::Meta::Prereqs::BEGIN@17
1 | 1 | 1 | 604µs | 604µs | experimental::::BEGIN@7 experimental::BEGIN@7
1 | 1 | 1 | 564µs | 623µs | CPAN::Meta::Converter::::BEGIN@28CPAN::Meta::Converter::BEGIN@28
1 | 1 | 1 | 563µs | 900µs | experimental::::BEGIN@5 experimental::BEGIN@5
1 | 1 | 1 | 527µs | 6.94ms | main::::BEGIN@3 main::BEGIN@3
1 | 1 | 1 | 249µs | 283µs | experimental::::BEGIN@3 experimental::BEGIN@3
1 | 1 | 1 | 238µs | 262µs | Carp::::BEGIN@169 Carp::BEGIN@169
6 | 6 | 1 | 201µs | 201µs | version::regex::::CORE:regcomp version::regex::CORE:regcomp (opcode)

You can view a treemap of subroutine exclusive time, grouped by package.
NYTProf also generates call-graph files in Graphviz format: inter-package calls, all inter-subroutine calls (probably too complex to render easily).
You can hover over some table cells and headings to view extra information.
Some table column headings can be clicked on to sort the table by that column.

Source Code Files — ordered by exclusive time then name
Stmts | Exclusive Time | Reports | Source File
--- | --- | --- | ---
79 | 4.01ms | line | CPAN/Meta/Converter.pm (including 1 string eval)
92 | 2.78ms | line | Carp.pm (including 4 string evals)
103 | 2.71ms | line | experimental.pm
153 | 2.41ms | line | CPAN/Meta/Validator.pm
37 | 1.94ms | line | CPAN/Meta/Requirements.pm (including 1 string eval)
77 | 1.41ms | line | CPAN/Meta.pm
15 | 822µs | line | CPAN/Meta/Prereqs.pm
16 | 546µs | line | Parse/CPAN/Meta.pm
15 | 446µs | line | List/Util.pm
16 | 440µs | line | version/regex.pm
21 | 395µs | line | version.pm
184 | 254µs | line | strict.pm
15 | 233µs | line | Scalar/Util.pm
309 | 213µs | line | warnings.pm
8 | 197µs | line | /home/leont/Code/cpan/experimental/test.pl
10 | 190µs | line | CPAN/Meta/Feature.pm
10 | 173µs | line | overloading.pm
98 | 116µs | line | Exporter.pm
68 | 47µs | line | feature.pm
8 | 6µs | line | warnings/register.pm
0 | 0s | line | XSLoader.pm
1334 | 19.3ms | Total (-17 statements are unaccounted for)
63 | 921µs | Average
| 440µs | Median
| 0.00032 | Deviation