| Filename | /home/doy/coding/src/Moose/blib/lib//Moose/Meta/Role/Method/Required.pm |
| Statements | Executed 32 statements in 1.42ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 12 | 2 | 1 | 319µs | 1.79ms | Moose::Meta::Role::Method::Required::new |
| 1 | 1 | 1 | 76µs | 243µs | Moose::Meta::Role::Method::Required::BEGIN@8 |
| 1 | 1 | 1 | 74µs | 94µs | Moose::Meta::Role::Method::Required::BEGIN@4 |
| 1 | 1 | 1 | 39µs | 281µs | Moose::Meta::Role::Method::Required::BEGIN@11 |
| 1 | 1 | 1 | 38µs | 109µs | Moose::Meta::Role::Method::Required::BEGIN@5 |
| 1 | 1 | 1 | 38µs | 2.71ms | Moose::Meta::Role::Method::Required::BEGIN@6 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Role::Method::Required::__ANON__[:8] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | package Moose::Meta::Role::Method::Required; | ||||
| 3 | |||||
| 4 | 3 | 102µs | 2 | 113µs | # spent 94µs (74+19) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called:
# once (74µs+19µs) by Moose::Meta::Role::BEGIN@19 at line 4 # spent 94µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4
# spent 19µs making 1 call to strict::import |
| 5 | 3 | 99µs | 2 | 179µs | # spent 109µs (38+70) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called:
# once (38µs+70µs) by Moose::Meta::Role::BEGIN@19 at line 5 # spent 109µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5
# spent 70µs making 1 call to warnings::import |
| 6 | 3 | 320µs | 2 | 5.38ms | # spent 2.71ms (38µs+2.67) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called:
# once (38µs+2.67ms) by Moose::Meta::Role::BEGIN@19 at line 6 # spent 2.71ms making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6
# spent 2.67ms making 1 call to metaclass::import |
| 7 | |||||
| 8 | # spent 243µs (76+166) within Moose::Meta::Role::Method::Required::BEGIN@8 which was called:
# once (76µs+166µs) by Moose::Meta::Role::BEGIN@19 at line 9 | ||||
| 9 | 3 | 138µs | 2 | 409µs | fallback => 1; # spent 243µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@8
# spent 166µs making 1 call to overload::import |
| 10 | |||||
| 11 | 3 | 354µs | 2 | 523µs | # spent 281µs (39+242) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (39µs+242µs) by Moose::Meta::Role::BEGIN@19 at line 11 # spent 281µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 242µs making 1 call to base::import |
| 12 | |||||
| 13 | 1 | 3µs | our $VERSION = '1.19'; | ||
| 14 | 1 | 78µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 15 | 1 | 4µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 16 | |||||
| 17 | # This is not a Moose::Meta::Role::Method because it has no implementation, it | ||||
| 18 | # is just a name | ||||
| 19 | |||||
| 20 | 1 | 25µs | 2 | 2.52ms | __PACKAGE__->meta->add_attribute('name' => ( # spent 2.40ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 113µs making 1 call to Moose::Meta::Role::Method::Required::meta |
| 21 | reader => 'name', | ||||
| 22 | required => 1, | ||||
| 23 | )); | ||||
| 24 | |||||
| 25 | 12 | 272µs | 12 | 1.47ms | # spent 1.79ms (319µs+1.47) within Moose::Meta::Role::Method::Required::new which was called 12 times, avg 149µs/call:
# 10 times (265µs+957µs) by Moose::Meta::Role::add_required_methods at line 261 of Moose/Meta/Role.pm, avg 122µs/call
# 2 times (53µs+516µs) by Moose::Meta::Role::add_conflicting_method at line 278 of Moose/Meta/Role.pm, avg 284µs/call # spent 956µs making 10 calls to Moose::Meta::Role::Method::Required::_new, avg 96µs/call
# spent 516µs making 2 calls to Moose::Meta::Role::Method::Conflicting::_new, avg 258µs/call |
| 26 | |||||
| 27 | 1 | 22µs | 1; | ||
| 28 | |||||
| 29 | __END__ |