Filename | /usr/share/perl/5.36/ExtUtils/MakeMaker/Config.pm |
Statements | Executed 22 statements in 2.03ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
5 | 5 | 5 | 27µs | 56µs | import | ExtUtils::MakeMaker::Config::
1 | 1 | 1 | 7µs | 8µs | BEGIN@3 | ExtUtils::MakeMaker::Config::
1 | 1 | 1 | 4µs | 9µs | BEGIN@17 | ExtUtils::MakeMaker::Config::
1 | 1 | 1 | 2µs | 12µs | BEGIN@4 | ExtUtils::MakeMaker::Config::
1 | 1 | 1 | 2µs | 2µs | BEGIN@9 | ExtUtils::MakeMaker::Config::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package ExtUtils::MakeMaker::Config; | ||||
2 | |||||
3 | 2 | 14µs | 2 | 9µs | # spent 8µs (7+1000ns) within ExtUtils::MakeMaker::Config::BEGIN@3 which was called:
# once (7µs+1000ns) by ExtUtils::MakeMaker::BEGIN@10 at line 3 # spent 8µs making 1 call to ExtUtils::MakeMaker::Config::BEGIN@3
# spent 1µs making 1 call to strict::import |
4 | 2 | 30µs | 2 | 22µs | # spent 12µs (2+10) within ExtUtils::MakeMaker::Config::BEGIN@4 which was called:
# once (2µs+10µs) by ExtUtils::MakeMaker::BEGIN@10 at line 4 # spent 12µs making 1 call to ExtUtils::MakeMaker::Config::BEGIN@4
# spent 10µs making 1 call to warnings::import |
5 | |||||
6 | 1 | 200ns | our $VERSION = '7.64'; | ||
7 | 1 | 900ns | $VERSION =~ tr/_//d; | ||
8 | |||||
9 | 2 | 30µs | 1 | 2µs | # spent 2µs within ExtUtils::MakeMaker::Config::BEGIN@9 which was called:
# once (2µs+0s) by ExtUtils::MakeMaker::BEGIN@10 at line 9 # spent 2µs making 1 call to ExtUtils::MakeMaker::Config::BEGIN@9 |
10 | |||||
11 | # Give us an overridable config. | ||||
12 | 1 | 1.88ms | 2553 | 23.6ms | our %Config = %Config::Config; # spent 21.3ms making 1276 calls to Config::FETCH, avg 17µs/call
# spent 1.53ms making 1 call to Config::AUTOLOAD
# spent 815µs making 1276 calls to Config::NEXTKEY, avg 638ns/call |
13 | |||||
14 | # spent 56µs (27+29) within ExtUtils::MakeMaker::Config::import which was called 5 times, avg 11µs/call:
# once (9µs+8µs) by ExtUtils::MakeMaker::BEGIN@10 at line 10 of ExtUtils/MakeMaker.pm
# once (5µs+6µs) by ExtUtils::MM::BEGIN@5 at line 5 of ExtUtils/MM.pm
# once (4µs+6µs) by ExtUtils::MM_Any::BEGIN@16 at line 16 of ExtUtils/MM_Any.pm
# once (4µs+5µs) by ExtUtils::MM_Unix::BEGIN@9 at line 9 of ExtUtils/MM_Unix.pm
# once (4µs+4µs) by ExtUtils::Liblist::Kid::BEGIN@17 at line 17 of ExtUtils/Liblist/Kid.pm | ||||
15 | 5 | 8µs | 5 | 29µs | my $caller = caller; # spent 29µs making 5 calls to Contextual::Return::__ANON__[Contextual/Return.pm:30], avg 6µs/call |
16 | |||||
17 | 2 | 45µs | 2 | 13µs | # spent 9µs (4+5) within ExtUtils::MakeMaker::Config::BEGIN@17 which was called:
# once (4µs+5µs) by ExtUtils::MakeMaker::BEGIN@10 at line 17 # spent 9µs making 1 call to ExtUtils::MakeMaker::Config::BEGIN@17
# spent 4µs making 1 call to strict::unimport |
18 | 5 | 18µs | *{$caller.'::Config'} = \%Config; | ||
19 | } | ||||
20 | |||||
21 | 1 | 5µs | 1; | ||
22 | |||||
23 | |||||
24 | =head1 NAME | ||||
25 | |||||
26 | ExtUtils::MakeMaker::Config - Wrapper around Config.pm | ||||
27 | |||||
28 | |||||
29 | =head1 SYNOPSIS | ||||
30 | |||||
31 | use ExtUtils::MakeMaker::Config; | ||||
32 | print $Config{installbin}; # or whatever | ||||
33 | |||||
34 | |||||
35 | =head1 DESCRIPTION | ||||
36 | |||||
37 | B<FOR INTERNAL USE ONLY> | ||||
38 | |||||
39 | A very thin wrapper around Config.pm so MakeMaker is easier to test. | ||||
40 | |||||
41 | =cut |