Filename | /Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Role/Method/Required.pm |
Statements | Executed 23 statements in 233µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
8 | 2 | 1 | 28µs | 179µs | new | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 11µs | 38µs | BEGIN@14 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 11µs | 14µs | BEGIN@11 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 10µs | 108µs | BEGIN@17 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 8µs | 8µs | BEGIN@3 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 5µs | 15µs | BEGIN@10 | Moose::Meta::Role::Method::Required::
1 | 1 | 1 | 5µs | 330µs | BEGIN@12 | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | __ANON__[:14] | 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 | 4µs | $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 27µs | 1 | 8µs | } # spent 8µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@3 |
6 | { | ||||
7 | 2 | 800ns | $Moose::Meta::Role::Method::Required::VERSION = '2.1005'; | ||
8 | } | ||||
9 | |||||
10 | 2 | 18µs | 2 | 25µs | # spent 15µs (5+10) within Moose::Meta::Role::Method::Required::BEGIN@10 which was called:
# once (5µs+10µs) by Moose::Meta::Role::BEGIN@21 at line 10 # spent 15µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@10
# spent 10µs making 1 call to strict::import |
11 | 2 | 19µs | 2 | 17µs | # spent 14µs (11+3) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called:
# once (11µs+3µs) by Moose::Meta::Role::BEGIN@21 at line 11 # spent 14µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11
# spent 3µs making 1 call to warnings::import |
12 | 2 | 41µs | 2 | 655µs | # spent 330µs (5+325) within Moose::Meta::Role::Method::Required::BEGIN@12 which was called:
# once (5µs+325µs) by Moose::Meta::Role::BEGIN@21 at line 12 # spent 330µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@12
# spent 325µs making 1 call to metaclass::import |
13 | |||||
14 | # spent 38µs (11+27) within Moose::Meta::Role::Method::Required::BEGIN@14 which was called:
# once (11µs+27µs) by Moose::Meta::Role::BEGIN@21 at line 15 | ||||
15 | 2 | 27µs | 2 | 65µs | fallback => 1; # spent 38µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@14
# spent 27µs making 1 call to overload::import |
16 | |||||
17 | 2 | 67µs | 2 | 206µs | # spent 108µs (10+98) within Moose::Meta::Role::Method::Required::BEGIN@17 which was called:
# once (10µs+98µs) by Moose::Meta::Role::BEGIN@21 at line 17 # spent 108µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@17
# spent 98µ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 | 3µs | 3 | 301µs | __PACKAGE__->meta->add_attribute('name' => ( # spent 283µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 13µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
23 | reader => 'name', | ||||
24 | required => 1, | ||||
25 | Class::MOP::_definition_context(), | ||||
26 | )); | ||||
27 | |||||
28 | 8 | 23µs | 8 | 152µs | # spent 179µs (28+152) within Moose::Meta::Role::Method::Required::new which was called 8 times, avg 22µs/call:
# 6 times (21µs+82µs) by Moose::Meta::Role::add_required_methods at line 267 of Moose/Meta/Role.pm, avg 17µs/call
# 2 times (7µs+69µs) by Moose::Meta::Role::add_conflicting_method at line 284 of Moose/Meta/Role.pm, avg 38µs/call # spent 82µs making 6 calls to Moose::Meta::Role::Method::Required::_new, avg 14µs/call
# spent 69µs making 2 calls to Moose::Meta::Role::Method::Conflicting::_new, avg 35µs/call |
29 | |||||
30 | 1 | 4µs | 1; | ||
31 | |||||
32 | # ABSTRACT: A Moose metaclass for required methods in Roles | ||||
33 | |||||
34 | __END__ |