Filename | /usr/local/lib/perl/5.14.2/Moose/Meta/Role/Method/Required.pm |
Statements | Executed 15 statements in 237µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 41µs | BEGIN@14 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 8µs | 8µs | BEGIN@3 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 8µs | 11µs | BEGIN@10 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 7µs | 50µs | BEGIN@17 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 7µs | 12µs | BEGIN@11 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 6µs | 415µs | BEGIN@12 | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | __ANON__[:14] | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | new | Moose::Meta::Role::Method::Required::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | |||||
2 | package Moose::Meta::Role::Method::Required; | ||||
3 | # spent 8µs within Moose::Meta::Role::Method::Required::BEGIN@3 which was called:
# once (8µs+0s) by Moose::Meta::Role::BEGIN@21 at line 5 | ||||
4 | 1 | 8µs | $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 31µs | 1 | 8µs | } # spent 8µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@3 |
6 | { | ||||
7 | 2 | 1µs | $Moose::Meta::Role::Method::Required::VERSION = '2.1005'; | ||
8 | } | ||||
9 | |||||
10 | 2 | 21µs | 2 | 14µs | # spent 11µs (8+3) within Moose::Meta::Role::Method::Required::BEGIN@10 which was called:
# once (8µs+3µs) by Moose::Meta::Role::BEGIN@21 at line 10 # spent 11µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@10
# spent 3µs making 1 call to strict::import |
11 | 2 | 20µs | 2 | 17µs | # spent 12µs (7+5) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (7µs+5µs) by Moose::Meta::Role::BEGIN@21 at line 11 # spent 12µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 5µs making 1 call to warnings::import |
12 | 2 | 47µs | 2 | 824µs | # spent 415µs (6+409) within Moose::Meta::Role::Method::Required::BEGIN@12 which was called:
# once (6µs+409µs) by Moose::Meta::Role::BEGIN@21 at line 12 # spent 415µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@12
# spent 409µs making 1 call to metaclass::import |
13 | |||||
14 | # spent 41µs (9+32) within Moose::Meta::Role::Method::Required::BEGIN@14 which was called:
# once (9µs+32µs) by Moose::Meta::Role::BEGIN@21 at line 15 | ||||
15 | 2 | 34µs | 2 | 73µs | fallback => 1; # spent 41µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@14
# spent 32µs making 1 call to overload::import |
16 | |||||
17 | 2 | 65µs | 2 | 92µs | # spent 50µs (7+43) within Moose::Meta::Role::Method::Required::BEGIN@17 which was called:
# once (7µs+43µs) by Moose::Meta::Role::BEGIN@21 at line 17 # spent 50µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@17
# spent 43µs making 1 call to base::import |
18 | |||||
19 | # This is not a Moose::Meta::Role::Method because it has no implementation, it | ||||
20 | # is just a name | ||||
21 | |||||
22 | 1 | 4µs | 3 | 441µs | __PACKAGE__->meta->add_attribute('name' => ( # spent 420µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 16µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 6µs making 1 call to Class::MOP::_definition_context |
23 | reader => 'name', | ||||
24 | required => 1, | ||||
25 | Class::MOP::_definition_context(), | ||||
26 | )); | ||||
27 | |||||
28 | sub new { shift->_new(@_) } | ||||
29 | |||||
30 | 1 | 5µs | 1; | ||
31 | |||||
32 | # ABSTRACT: A Moose metaclass for required methods in Roles | ||||
33 | |||||
34 | __END__ |