Profile of /home/leont/Code/cpan/experimental/test.pl

← Index
NYTProf Performance Profile «line view»
For test.pl
Run on Mon Apr 5 14:31:27 2021
Reported on Mon Apr 5 14:31:40 2021

Filename | /home/leont/Code/cpan/experimental/test.pl
Statements | Executed 8 statements in 197µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 1.29ms | 12.2ms | main::::BEGIN@4 main::BEGIN@4
1 | 1 | 1 | 527µs | 6.94ms | main::::BEGIN@3 main::BEGIN@3
5 | 5 | 4 | 17µs | 17µs | UNIVERSAL::::VERSIONUNIVERSAL::VERSION (xsub)
1 | 1 | 1 | 14µs | 14µs | main::::BEGIN@2 main::BEGIN@2
2 | 2 | 2 | 2µs | 2µs | UNIVERSAL::::canUNIVERSAL::can (xsub)

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  |
2 | 2 | 25µs | 1 | 14µs | # spent 14µs within main::BEGIN@2 which was called: # once (14µs+0s) by main::NULL at line 2 use v5.32; # spent 14µs making 1 call to main::BEGIN@2
3 | 2 | 59µs | 2 | 6.98ms | # spent 6.94ms (527µs+6.42) within main::BEGIN@3 which was called: # once (527µs+6.42ms) by main::NULL at line 3 use experimental "isa"; # spent 6.94ms making 1 call to main::BEGIN@3 # spent 38µs making 1 call to experimental::import
4 | 2 | 97µs | 2 | 12.2ms | # spent 12.2ms (1.29+10.9) within main::BEGIN@4 which was called: # once (1.29ms+10.9ms) by main::NULL at line 4 use CPAN::Meta; # spent 12.2ms making 1 call to main::BEGIN@4 # spent 500ns making 1 call to main::__ANON__
5 | 1 | 3µs | 1 | 82µs | my $c = CPAN::Meta->create({ "meta-spec" => { version => 2}, name => "a", version => 1, dynamic_config => 0, abstract => "x", author => [], license => [ "perl_5" ], release_status => "stable"}); # spent 82µs making 1 call to CPAN::Meta::create
6 | 1 | 13µs | 1 | 8µs | say $c isa CPAN::Meta; # spent 8µs making 1 call to main::CORE:say
|  |  |  |  | # spent 17µs within UNIVERSAL::VERSION which was called 5 times, avg 3µs/call: # once (5µs+0s) by CPAN::Meta::Converter::BEGIN@28 at line 28 of CPAN/Meta/Converter.pm # once (4µs+0s) by CPAN::Meta::BEGIN@61 at line 61 of CPAN/Meta.pm # once (3µs+0s) by CPAN::Meta::Prereqs::BEGIN@18 at line 18 of CPAN/Meta/Prereqs.pm # once (2µs+0s) by CPAN::Meta::Prereqs::BEGIN@17 at line 24 of Scalar/Util.pm # once (2µs+0s) by CPAN::Meta::create at line 270 of CPAN/Meta.pm sub UNIVERSAL::VERSION; # xsub
|  |  |  |  | # spent 2µs within UNIVERSAL::can which was called 2 times, avg 1µs/call: # once (1µs+0s) by CPAN::Meta::BEGIN@59 at line 44 of CPAN/Meta/Converter.pm # once (1µs+0s) by CPAN::Meta::Prereqs::BEGIN@18 at line 52 of CPAN/Meta/Requirements.pm sub UNIVERSAL::can; # xsub