Filename | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Moo/sification.pm |
Statements | Executed 17 statements in 358µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 38µs | 42µs | BEGIN@2 | Moo::sification::
1 | 1 | 1 | 7µs | 46µs | BEGIN@3 | Moo::sification::
1 | 1 | 1 | 6µs | 37µs | BEGIN@6 | Moo::sification::
2 | 2 | 2 | 6µs | 6µs | import | Moo::sification::
1 | 1 | 1 | 5µs | 15µs | BEGIN@4 | Moo::sification::
1 | 1 | 1 | 4µs | 23µs | BEGIN@8 | Moo::sification::
1 | 1 | 1 | 3µs | 3µs | BEGIN@7 | Moo::sification::
0 | 0 | 0 | 0s | 0s | DESTROY | Moo::HandleMoose::AuthorityHack::
0 | 0 | 0 | 0s | 0s | unimport | Moo::sification::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moo::sification; | ||||
2 | 2 | 35µs | 2 | 46µs | # spent 42µs (38+4) within Moo::sification::BEGIN@2 which was called:
# once (38µs+4µs) by OpenAPI::Modern::BEGIN@11 at line 2 # spent 42µs making 1 call to Moo::sification::BEGIN@2
# spent 4µs making 1 call to strict::import |
3 | 2 | 25µs | 2 | 85µs | # spent 46µs (7+39) within Moo::sification::BEGIN@3 which was called:
# once (7µs+39µs) by OpenAPI::Modern::BEGIN@11 at line 3 # spent 46µs making 1 call to Moo::sification::BEGIN@3
# spent 39µs making 1 call to warnings::import |
4 | 2 | 24µs | 2 | 25µs | # spent 15µs (5+10) within Moo::sification::BEGIN@4 which was called:
# once (5µs+10µs) by OpenAPI::Modern::BEGIN@11 at line 4 # spent 15µs making 1 call to Moo::sification::BEGIN@4
# spent 10µs making 1 call to warnings::unimport |
5 | |||||
6 | 2 | 44µs | 2 | 68µs | # spent 37µs (6+31) within Moo::sification::BEGIN@6 which was called:
# once (6µs+31µs) by OpenAPI::Modern::BEGIN@11 at line 6 # spent 37µs making 1 call to Moo::sification::BEGIN@6
# spent 31µs making 1 call to Exporter::import |
7 | 1 | 27µs | 1 | 3µs | # spent 3µs within Moo::sification::BEGIN@7 which was called:
# once (3µs+0s) by OpenAPI::Modern::BEGIN@11 at line 7 # spent 3µs making 1 call to Moo::sification::BEGIN@7 |
8 | 2 | 187µs | 2 | 42µs | # spent 23µs (4+19) within Moo::sification::BEGIN@8 which was called:
# once (4µs+19µs) by OpenAPI::Modern::BEGIN@11 at line 8 # spent 23µs making 1 call to Moo::sification::BEGIN@8
# spent 19µs making 1 call to Exporter::import |
9 | |||||
10 | sub unimport { | ||||
11 | croak "Can't disable Moo::sification after inflation has been done" | ||||
12 | if $Moo::HandleMoose::SETUP_DONE; | ||||
13 | our $disabled = 1; | ||||
14 | } | ||||
15 | |||||
16 | sub Moo::HandleMoose::AuthorityHack::DESTROY { | ||||
17 | unless (our $disabled or _in_global_destruction) { | ||||
18 | require Moo::HandleMoose; | ||||
19 | Moo::HandleMoose->import; | ||||
20 | } | ||||
21 | } | ||||
22 | |||||
23 | # spent 6µs within Moo::sification::import which was called 2 times, avg 3µs/call:
# once (4µs+0s) by OpenAPI::Modern::BEGIN@11 at line 33 of Moo.pm
# once (2µs+0s) by MooX::TypeTiny::import at line 34 of Moo/Role.pm | ||||
24 | return | ||||
25 | 2 | 5µs | if our $setup_done; | ||
26 | 1 | 0s | if ($INC{"Moose.pm"}) { | ||
27 | require Moo::HandleMoose; | ||||
28 | Moo::HandleMoose->import; | ||||
29 | } else { | ||||
30 | 1 | 2µs | $Moose::AUTHORITY = bless({}, 'Moo::HandleMoose::AuthorityHack'); | ||
31 | } | ||||
32 | 1 | 5µs | $setup_done = 1; | ||
33 | } | ||||
34 | |||||
35 | 1 | 4µs | 1; |