| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Role/Method/Required.pm |
| Statements | Executed 30 statements in 1.30ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 10 | 1 | 1 | 227µs | 885µs | Moose::Meta::Role::Method::Required::new |
| 1 | 1 | 1 | 72µs | 90µs | Moose::Meta::Role::Method::Required::BEGIN@4 |
| 1 | 1 | 1 | 46µs | 208µs | Moose::Meta::Role::Method::Required::BEGIN@8 |
| 1 | 1 | 1 | 45µs | 3.06ms | Moose::Meta::Role::Method::Required::BEGIN@6 |
| 1 | 1 | 1 | 39µs | 278µs | Moose::Meta::Role::Method::Required::BEGIN@11 |
| 1 | 1 | 1 | 37µs | 105µs | Moose::Meta::Role::Method::Required::BEGIN@5 |
| 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 | 100µs | 2 | 108µs | # spent 90µs (72+18) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called:
# once (72µs+18µs) by Moose::Meta::Role::BEGIN@19 at line 4 # spent 90µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4
# spent 18µs making 1 call to strict::import |
| 5 | 3 | 122µs | 2 | 173µs | # spent 105µs (37+68) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called:
# once (37µs+68µs) by Moose::Meta::Role::BEGIN@19 at line 5 # spent 105µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5
# spent 68µs making 1 call to warnings::import |
| 6 | 3 | 287µs | 2 | 6.07ms | # spent 3.06ms (45µs+3.01) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called:
# once (45µs+3.01ms) by Moose::Meta::Role::BEGIN@19 at line 6 # spent 3.06ms making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6
# spent 3.01ms making 1 call to metaclass::import |
| 7 | |||||
| 8 | # spent 208µs (46+163) within Moose::Meta::Role::Method::Required::BEGIN@8 which was called:
# once (46µs+163µs) by Moose::Meta::Role::BEGIN@19 at line 9 | ||||
| 9 | 3 | 129µs | 2 | 371µs | fallback => 1; # spent 208µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@8
# spent 162µs making 1 call to overload::import |
| 10 | |||||
| 11 | 3 | 338µs | 2 | 517µs | # spent 278µs (39+239) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (39µs+239µs) by Moose::Meta::Role::BEGIN@19 at line 11 # spent 278µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 239µs making 1 call to base::import |
| 12 | |||||
| 13 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 14 | 1 | 59µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 15 | 1 | 3µ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.59ms | __PACKAGE__->meta->add_attribute('name' => ( # spent 2.47ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 125µs making 1 call to Moose::Meta::Role::Method::Required::meta |
| 21 | reader => 'name', | ||||
| 22 | required => 1, | ||||
| 23 | )); | ||||
| 24 | |||||
| 25 | 10 | 213µs | 10 | 659µs | # spent 885µs (227+659) within Moose::Meta::Role::Method::Required::new which was called 10 times, avg 89µs/call:
# 10 times (227µs+659µs) by Moose::Meta::Role::add_required_methods at line 254 of Moose/Meta/Role.pm, avg 89µs/call # spent 659µs making 10 calls to Moose::Meta::Role::Method::Required::_new, avg 66µs/call |
| 26 | |||||
| 27 | 1 | 23µs | 1; | ||
| 28 | |||||
| 29 | __END__ |