Filename | /opt/perl-5.18.1/lib/site_perl/5.18.1/darwin-thread-multi-2level/Moose/Meta/Role/Method/Required.pm |
Statements | Executed 15 statements in 328µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12µs | 49µs | BEGIN@14 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 11µs | 11µs | BEGIN@3 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 9µs | 75µs | BEGIN@17 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 9µs | 24µs | BEGIN@10 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 9µs | 13µs | BEGIN@11 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 8µs | 494µ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 11µs within Moose::Meta::Role::Method::Required::BEGIN@3 which was called:
# once (11µs+0s) by Moose::Meta::Role::BEGIN@21 at line 5 | ||||
4 | 1 | 6µs | $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 46µs | 1 | 11µs | } # spent 11µ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 | 29µs | 2 | 39µs | # spent 24µs (9+15) within Moose::Meta::Role::Method::Required::BEGIN@10 which was called:
# once (9µs+15µs) by Moose::Meta::Role::BEGIN@21 at line 10 # spent 24µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@10
# spent 15µs making 1 call to strict::import |
11 | 2 | 27µs | 2 | 17µs | # spent 13µs (9+4) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (9µs+4µs) by Moose::Meta::Role::BEGIN@21 at line 11 # spent 13µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 4µs making 1 call to warnings::import |
12 | 2 | 60µs | 2 | 980µs | # spent 494µs (8+486) within Moose::Meta::Role::Method::Required::BEGIN@12 which was called:
# once (8µs+486µs) by Moose::Meta::Role::BEGIN@21 at line 12 # spent 494µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@12
# spent 486µs making 1 call to metaclass::import |
13 | |||||
14 | # spent 49µs (12+37) within Moose::Meta::Role::Method::Required::BEGIN@14 which was called:
# once (12µs+37µs) by Moose::Meta::Role::BEGIN@21 at line 15 | ||||
15 | 2 | 46µs | 2 | 86µs | fallback => 1; # spent 49µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@14
# spent 37µs making 1 call to overload::import |
16 | |||||
17 | 2 | 102µs | 2 | 141µs | # spent 75µs (9+66) within Moose::Meta::Role::Method::Required::BEGIN@17 which was called:
# once (9µs+66µs) by Moose::Meta::Role::BEGIN@21 at line 17 # spent 75µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@17
# spent 66µ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 | 5µs | 3 | 423µs | __PACKAGE__->meta->add_attribute('name' => ( # spent 396µ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 7µ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 | 6µs | 1; | ||
31 | |||||
32 | # ABSTRACT: A Moose metaclass for required methods in Roles | ||||
33 | |||||
34 | __END__ |