Filename | /Users/ap13/perl5/lib/perl5/darwin-2level/Moose/Meta/Mixin/AttributeCore.pm |
Statements | Executed 21 statements in 388µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 15µs | 32µs | BEGIN@4 | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 9µs | 17µs | BEGIN@5 | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 8µs | 35µs | BEGIN@7 | Moose::Meta::Mixin::AttributeCore::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Mixin::AttributeCore; | ||||
2 | 1 | 700ns | our $VERSION = '2.1403'; | ||
3 | |||||
4 | 2 | 24µs | 2 | 50µs | # spent 32µs (15+17) within Moose::Meta::Mixin::AttributeCore::BEGIN@4 which was called:
# once (15µs+17µs) by parent::import at line 4 # spent 32µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@4
# spent 17µs making 1 call to strict::import |
5 | 2 | 24µs | 2 | 24µs | # spent 17µs (9+8) within Moose::Meta::Mixin::AttributeCore::BEGIN@5 which was called:
# once (9µs+8µs) by parent::import at line 5 # spent 17µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@5
# spent 8µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 221µs | 2 | 35µs | # spent 35µs (8+27) within Moose::Meta::Mixin::AttributeCore::BEGIN@7 which was called:
# once (8µs+27µs) by parent::import at line 7 # spent 35µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@7
# spent 27µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 27µs |
8 | |||||
9 | 1 | 10µs | 3 | 939µs | __PACKAGE__->meta->add_attribute( # spent 533µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 398µs making 1 call to Class::MOP::Mixin::meta
# spent 7µs making 1 call to Class::MOP::_definition_context |
10 | 'isa' => ( | ||||
11 | reader => '_isa_metadata', | ||||
12 | Class::MOP::_definition_context(), | ||||
13 | ) | ||||
14 | ); | ||||
15 | |||||
16 | 1 | 5µs | 3 | 318µs | __PACKAGE__->meta->add_attribute( # spent 302µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 11µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
17 | 'does' => ( | ||||
18 | reader => '_does_metadata', | ||||
19 | Class::MOP::_definition_context(), | ||||
20 | ) | ||||
21 | ); | ||||
22 | |||||
23 | 1 | 4µs | 3 | 311µs | __PACKAGE__->meta->add_attribute( # spent 296µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
24 | 'is' => ( | ||||
25 | reader => '_is_metadata', | ||||
26 | Class::MOP::_definition_context(), | ||||
27 | ) | ||||
28 | ); | ||||
29 | |||||
30 | 1 | 4µs | 3 | 301µs | __PACKAGE__->meta->add_attribute( # spent 286µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
31 | 'required' => ( | ||||
32 | reader => 'is_required', | ||||
33 | Class::MOP::_definition_context(), | ||||
34 | ) | ||||
35 | ); | ||||
36 | |||||
37 | 1 | 5µs | 3 | 320µs | __PACKAGE__->meta->add_attribute( # spent 306µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
38 | 'lazy' => ( | ||||
39 | reader => 'is_lazy', Class::MOP::_definition_context(), | ||||
40 | ) | ||||
41 | ); | ||||
42 | |||||
43 | 1 | 7µs | 3 | 358µs | __PACKAGE__->meta->add_attribute( # spent 334µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 18µs making 1 call to Class::MOP::Mixin::meta
# spent 6µs making 1 call to Class::MOP::_definition_context |
44 | 'lazy_build' => ( | ||||
45 | reader => 'is_lazy_build', | ||||
46 | Class::MOP::_definition_context(), | ||||
47 | ) | ||||
48 | ); | ||||
49 | |||||
50 | 1 | 4µs | 3 | 302µs | __PACKAGE__->meta->add_attribute( # spent 287µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
51 | 'coerce' => ( | ||||
52 | reader => 'should_coerce', | ||||
53 | Class::MOP::_definition_context(), | ||||
54 | ) | ||||
55 | ); | ||||
56 | |||||
57 | 1 | 5µs | 3 | 357µs | __PACKAGE__->meta->add_attribute( # spent 342µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
58 | 'weak_ref' => ( | ||||
59 | reader => 'is_weak_ref', | ||||
60 | Class::MOP::_definition_context(), | ||||
61 | ) | ||||
62 | ); | ||||
63 | |||||
64 | 1 | 5µs | 3 | 321µs | __PACKAGE__->meta->add_attribute( # spent 305µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 11µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
65 | 'auto_deref' => ( | ||||
66 | reader => 'should_auto_deref', | ||||
67 | Class::MOP::_definition_context(), | ||||
68 | ) | ||||
69 | ); | ||||
70 | |||||
71 | 1 | 6µs | 3 | 553µs | __PACKAGE__->meta->add_attribute( # spent 537µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 11µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
72 | 'type_constraint' => ( | ||||
73 | reader => 'type_constraint', | ||||
74 | predicate => 'has_type_constraint', | ||||
75 | Class::MOP::_definition_context(), | ||||
76 | ) | ||||
77 | ); | ||||
78 | |||||
79 | 1 | 7µs | 3 | 483µs | __PACKAGE__->meta->add_attribute( # spent 465µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 13µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
80 | 'trigger' => ( | ||||
81 | reader => 'trigger', | ||||
82 | predicate => 'has_trigger', | ||||
83 | Class::MOP::_definition_context(), | ||||
84 | ) | ||||
85 | ); | ||||
86 | |||||
87 | 1 | 5µs | 3 | 615µs | __PACKAGE__->meta->add_attribute( # spent 600µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
88 | 'handles' => ( | ||||
89 | reader => 'handles', | ||||
90 | writer => '_set_handles', | ||||
91 | predicate => 'has_handles', | ||||
92 | Class::MOP::_definition_context(), | ||||
93 | ) | ||||
94 | ); | ||||
95 | |||||
96 | 1 | 5µs | 3 | 465µs | __PACKAGE__->meta->add_attribute( # spent 450µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
97 | 'documentation' => ( | ||||
98 | reader => 'documentation', | ||||
99 | predicate => 'has_documentation', | ||||
100 | Class::MOP::_definition_context(), | ||||
101 | ) | ||||
102 | ); | ||||
103 | |||||
104 | 1 | 46µs | 1; | ||
105 | |||||
106 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||||
107 | |||||
108 | __END__ |