| Filename | /Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Mixin/AttributeCore.pm |
| Statements | Executed 23 statements in 348µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 8µs | 8µs | Moose::Meta::Mixin::AttributeCore::BEGIN@2 |
| 1 | 1 | 1 | 6µs | 9µs | Moose::Meta::Mixin::AttributeCore::BEGIN@10 |
| 1 | 1 | 1 | 6µs | 56µs | Moose::Meta::Mixin::AttributeCore::BEGIN@12 |
| 1 | 1 | 1 | 5µs | 16µs | Moose::Meta::Mixin::AttributeCore::BEGIN@9 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Mixin::AttributeCore; | ||||
| 2 | # spent 8µs within Moose::Meta::Mixin::AttributeCore::BEGIN@2 which was called:
# once (8µs+0s) by base::import at line 4 | ||||
| 3 | 1 | 4µs | $Moose::Meta::Mixin::AttributeCore::AUTHORITY = 'cpan:STEVAN'; | ||
| 4 | 1 | 27µs | 1 | 8µs | } # spent 8µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@2 |
| 5 | { | ||||
| 6 | 2 | 700ns | $Moose::Meta::Mixin::AttributeCore::VERSION = '2.1005'; | ||
| 7 | } | ||||
| 8 | |||||
| 9 | 2 | 20µs | 2 | 27µs | # spent 16µs (5+11) within Moose::Meta::Mixin::AttributeCore::BEGIN@9 which was called:
# once (5µs+11µs) by base::import at line 9 # spent 16µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@9
# spent 11µs making 1 call to strict::import |
| 10 | 2 | 21µs | 2 | 13µs | # spent 9µs (6+3) within Moose::Meta::Mixin::AttributeCore::BEGIN@10 which was called:
# once (6µs+3µs) by base::import at line 10 # spent 9µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@10
# spent 3µs making 1 call to warnings::import |
| 11 | |||||
| 12 | 2 | 222µs | 2 | 56µs | # spent 56µs (6+50) within Moose::Meta::Mixin::AttributeCore::BEGIN@12 which was called:
# once (6µs+50µs) by base::import at line 12 # spent 56µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@12
# spent 50µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 50µs |
| 13 | |||||
| 14 | 1 | 6µs | 3 | 565µs | __PACKAGE__->meta->add_attribute( # spent 284µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 276µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
| 15 | 'isa' => ( | ||||
| 16 | reader => '_isa_metadata', | ||||
| 17 | Class::MOP::_definition_context(), | ||||
| 18 | ) | ||||
| 19 | ); | ||||
| 20 | |||||
| 21 | 1 | 3µs | 3 | 265µs | __PACKAGE__->meta->add_attribute( # spent 253µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 22 | 'does' => ( | ||||
| 23 | reader => '_does_metadata', | ||||
| 24 | Class::MOP::_definition_context(), | ||||
| 25 | ) | ||||
| 26 | ); | ||||
| 27 | |||||
| 28 | 1 | 3µs | 3 | 260µs | __PACKAGE__->meta->add_attribute( # spent 248µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 29 | 'is' => ( | ||||
| 30 | reader => '_is_metadata', | ||||
| 31 | Class::MOP::_definition_context(), | ||||
| 32 | ) | ||||
| 33 | ); | ||||
| 34 | |||||
| 35 | 1 | 3µs | 3 | 2.74ms | __PACKAGE__->meta->add_attribute( # spent 2.72ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 18µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 36 | 'required' => ( | ||||
| 37 | reader => 'is_required', | ||||
| 38 | Class::MOP::_definition_context(), | ||||
| 39 | ) | ||||
| 40 | ); | ||||
| 41 | |||||
| 42 | 1 | 3µs | 3 | 278µs | __PACKAGE__->meta->add_attribute( # spent 265µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 9µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 43 | 'lazy' => ( | ||||
| 44 | reader => 'is_lazy', Class::MOP::_definition_context(), | ||||
| 45 | ) | ||||
| 46 | ); | ||||
| 47 | |||||
| 48 | 1 | 3µs | 3 | 264µs | __PACKAGE__->meta->add_attribute( # spent 252µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 9µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 49 | 'lazy_build' => ( | ||||
| 50 | reader => 'is_lazy_build', | ||||
| 51 | Class::MOP::_definition_context(), | ||||
| 52 | ) | ||||
| 53 | ); | ||||
| 54 | |||||
| 55 | 1 | 3µs | 3 | 263µs | __PACKAGE__->meta->add_attribute( # spent 251µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 56 | 'coerce' => ( | ||||
| 57 | reader => 'should_coerce', | ||||
| 58 | Class::MOP::_definition_context(), | ||||
| 59 | ) | ||||
| 60 | ); | ||||
| 61 | |||||
| 62 | 1 | 3µs | 3 | 259µs | __PACKAGE__->meta->add_attribute( # spent 246µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 63 | 'weak_ref' => ( | ||||
| 64 | reader => 'is_weak_ref', | ||||
| 65 | Class::MOP::_definition_context(), | ||||
| 66 | ) | ||||
| 67 | ); | ||||
| 68 | |||||
| 69 | 1 | 3µs | 3 | 310µs | __PACKAGE__->meta->add_attribute( # spent 298µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 70 | 'auto_deref' => ( | ||||
| 71 | reader => 'should_auto_deref', | ||||
| 72 | Class::MOP::_definition_context(), | ||||
| 73 | ) | ||||
| 74 | ); | ||||
| 75 | |||||
| 76 | 1 | 3µs | 3 | 402µs | __PACKAGE__->meta->add_attribute( # spent 390µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 77 | 'type_constraint' => ( | ||||
| 78 | reader => 'type_constraint', | ||||
| 79 | predicate => 'has_type_constraint', | ||||
| 80 | Class::MOP::_definition_context(), | ||||
| 81 | ) | ||||
| 82 | ); | ||||
| 83 | |||||
| 84 | 1 | 3µs | 3 | 406µs | __PACKAGE__->meta->add_attribute( # spent 394µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 85 | 'trigger' => ( | ||||
| 86 | reader => 'trigger', | ||||
| 87 | predicate => 'has_trigger', | ||||
| 88 | Class::MOP::_definition_context(), | ||||
| 89 | ) | ||||
| 90 | ); | ||||
| 91 | |||||
| 92 | 1 | 3µs | 3 | 552µs | __PACKAGE__->meta->add_attribute( # spent 540µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 9µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 93 | 'handles' => ( | ||||
| 94 | reader => 'handles', | ||||
| 95 | writer => '_set_handles', | ||||
| 96 | predicate => 'has_handles', | ||||
| 97 | Class::MOP::_definition_context(), | ||||
| 98 | ) | ||||
| 99 | ); | ||||
| 100 | |||||
| 101 | 1 | 3µs | 3 | 404µs | __PACKAGE__->meta->add_attribute( # spent 392µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 9µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 102 | 'documentation' => ( | ||||
| 103 | reader => 'documentation', | ||||
| 104 | predicate => 'has_documentation', | ||||
| 105 | Class::MOP::_definition_context(), | ||||
| 106 | ) | ||||
| 107 | ); | ||||
| 108 | |||||
| 109 | 1 | 14µs | 1; | ||
| 110 | |||||
| 111 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||||
| 112 | |||||
| 113 | __END__ |