| Filename | /Users/ap13/perl5/lib/perl5/darwin-2level/Moose/Meta/Role/Method/Required.pm |
| Statements | Executed 13 statements in 249µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 13µs | 56µs | Moose::Meta::Role::Method::Required::BEGIN@8 |
| 1 | 1 | 1 | 12µs | 25µs | Moose::Meta::Role::Method::Required::BEGIN@4 |
| 1 | 1 | 1 | 9µs | 36µs | Moose::Meta::Role::Method::Required::BEGIN@11 |
| 1 | 1 | 1 | 8µs | 547µs | Moose::Meta::Role::Method::Required::BEGIN@6 |
| 1 | 1 | 1 | 7µs | 11µs | Moose::Meta::Role::Method::Required::BEGIN@5 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Role::Method::Required::__ANON__[:8] |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Role::Method::Required::new |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Role::Method::Required; | ||||
| 2 | 1 | 600ns | our $VERSION = '2.1403'; | ||
| 3 | |||||
| 4 | 2 | 22µs | 2 | 37µs | # spent 25µs (12+12) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called:
# once (12µs+12µs) by Moose::Meta::Role::BEGIN@13 at line 4 # spent 25µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4
# spent 12µs making 1 call to strict::import |
| 5 | 2 | 24µs | 2 | 15µs | # spent 11µs (7+4) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called:
# once (7µs+4µs) by Moose::Meta::Role::BEGIN@13 at line 5 # spent 11µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5
# spent 4µs making 1 call to warnings::import |
| 6 | 2 | 67µs | 2 | 1.09ms | # spent 547µs (8+540) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called:
# once (8µs+540µs) by Moose::Meta::Role::BEGIN@13 at line 6 # spent 547µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6
# spent 540µs making 1 call to metaclass::import |
| 7 | |||||
| 8 | # spent 56µs (13+43) within Moose::Meta::Role::Method::Required::BEGIN@8 which was called:
# once (13µs+43µs) by Moose::Meta::Role::BEGIN@13 at line 9 | ||||
| 9 | 2 | 34µs | 2 | 99µs | fallback => 1; # spent 56µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@8
# spent 43µs making 1 call to overload::import |
| 10 | |||||
| 11 | 2 | 87µs | 2 | 64µs | # spent 36µs (9+27) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (9µs+27µs) by Moose::Meta::Role::BEGIN@13 at line 11 # spent 36µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 27µs making 1 call to parent::import |
| 12 | |||||
| 13 | # This is not a Moose::Meta::Role::Method because it has no implementation, it | ||||
| 14 | # is just a name | ||||
| 15 | |||||
| 16 | 1 | 7µs | 3 | 536µs | __PACKAGE__->meta->add_attribute('name' => ( # spent 509µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 20µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 8µs making 1 call to Class::MOP::_definition_context |
| 17 | reader => 'name', | ||||
| 18 | required => 1, | ||||
| 19 | Class::MOP::_definition_context(), | ||||
| 20 | )); | ||||
| 21 | |||||
| 22 | sub new { shift->_new(@_) } | ||||
| 23 | |||||
| 24 | 1 | 8µs | 1; | ||
| 25 | |||||
| 26 | # ABSTRACT: A Moose metaclass for required methods in Roles | ||||
| 27 | |||||
| 28 | __END__ |