File | /usr/local/lib/perl/5.10.0/Class/MOP/Package.pm |
Statements Executed | 4062 |
Total Time | 0.0141732 seconds |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
11000 | 1 | 1 | 245ms | 394ms | new | MARC::Moose::Field::Std::
4000 | 1 | 1 | 64.3ms | 89.4ms | new | MARC::Moose::Field::Control::
1000 | 1 | 1 | 18.8ms | 32.0ms | new | MARC::Moose::Record::
1000 | 1 | 1 | 9.59ms | 867ms | parse | MARC::Moose::Parser::Marcxml::
1000 | 1 | 1 | 6.51ms | 9.75ms | fields | MARC::Moose::Record::
1000 | 1 | 1 | 5.76ms | 10.7ms | _leader | MARC::Moose::Record::
1344 | 5 | 1 | 5.13ms | 6.39ms | _package_stash | Class::MOP::Package::
1680 | 22 | 12 | 4.69ms | 4.69ms | name(xsub) | Class::MOP::Package::
813 | 1 | 1 | 4.30ms | 25.2ms | get_package_symbol | Class::MOP::Package::
1350 | 14 | 5 | 4.00ms | 4.00ms | name(xsub) | Class::MOP::Mixin::AttributeCore::
1025 | 11 | 3 | 4.00ms | 4.00ms | associated_class | Class::MOP::Attribute::
1007 | 6 | 2 | 3.93ms | 3.93ms | _attribute_map | Class::MOP::Mixin::HasAttributes::
546 | 6 | 3 | 2.79ms | 2.79ms | init_arg | Class::MOP::Mixin::AttributeCore::
397 | 2 | 2 | 2.45ms | 21.7ms | add_package_symbol | Class::MOP::Package::
691 | 8 | 7 | 1.83ms | 1.83ms | body(xsub) | Class::MOP::Method::
344 | 10 | 3 | 1.68ms | 1.68ms | instance_metaclass | Class::MOP::Class::
104 | 3 | 2 | 1.63ms | 21.3ms | superclasses | Class::MOP::Class::
266 | 9 | 3 | 1.38ms | 1.38ms | attribute_metaclass | Class::MOP::Mixin::HasAttributes::
302 | 2 | 2 | 1.28ms | 1.28ms | has_initializer | Class::MOP::Mixin::AttributeCore::
256 | 8 | 2 | 1.28ms | 1.28ms | method_metaclass | Class::MOP::Mixin::HasMethods::
170 | 47 | 6 | 1.18ms | 12.8ms | meta | Class::MOP::Object::
238 | 8 | 1 | 1.14ms | 1.14ms | wrapped_method_metaclass | Class::MOP::Mixin::HasMethods::
265 | 5 | 3 | 1.12ms | 6.71ms | get_meta_instance | Class::MOP::Class::Immutable::Class::MOP::Class::
293 | 23 | 2 | 1.10ms | 1.10ms | associated_attribute | Class::MOP::Method::Accessor::
234 | 1 | 1 | 1.09ms | 1.09ms | definition_context | Class::MOP::Mixin::AttributeCore::
229 | 2 | 1 | 1.05ms | 3.29ms | _method_map | Class::MOP::Class::Immutable::Class::MOP::Class::
191 | 1 | 1 | 1.04ms | 1.04ms | has_writer | Class::MOP::Mixin::AttributeCore::
284 | 4 | 2 | 1.04ms | 1.04ms | has_default | Class::MOP::Mixin::AttributeCore::
191 | 1 | 1 | 1.02ms | 1.02ms | has_accessor | Class::MOP::Mixin::AttributeCore::
185 | 3 | 2 | 1.02ms | 1.02ms | has_builder | Class::MOP::Mixin::AttributeCore::
191 | 1 | 1 | 984µs | 984µs | has_reader | Class::MOP::Mixin::AttributeCore::
191 | 1 | 1 | 906µs | 906µs | has_predicate | Class::MOP::Mixin::AttributeCore::
371 | 1 | 2 | 895µs | 895µs | package_name(xsub) | Class::MOP::Method::
191 | 1 | 1 | 824µs | 824µs | has_clearer | Class::MOP::Mixin::AttributeCore::
208 | 2 | 2 | 793µs | 793µs | is_inline | Class::MOP::Method::Generated::
9 | 1 | 1 | 787µs | 787µs | _new | Moose::Meta::Method::Accessor::
166 | 4 | 1 | 756µs | 756µs | constructor_class | Class::MOP::Class::
151 | 1 | 1 | 740µs | 740µs | reader | Class::MOP::Mixin::AttributeCore::
177 | 1 | 1 | 689µs | 689µs | accessor_type | Class::MOP::Method::Accessor::
166 | 4 | 1 | 646µs | 646µs | destructor_class | Class::MOP::Class::
104 | 1 | 1 | 612µs | 6.17ms | get_or_add_package_symbol | Class::MOP::Package::
102 | 2 | 1 | 567µs | 567µs | immutable_trait | Class::MOP::Class::
84 | 7 | 1 | 532µs | 532µs | constructor_class | Moose::Meta::Class::
84 | 7 | 1 | 524µs | 524µs | destructor_class | Moose::Meta::Class::
127 | 4 | 2 | 513µs | 513µs | type_constraints | Moose::Meta::TypeConstraint::Registry::
124 | 4 | 2 | 492µs | 492µs | associated_metaclass | Class::MOP::Method::Constructor::
123 | 1 | 1 | 477µs | 477µs | _set_insertion_order | Class::MOP::Mixin::AttributeCore::
18 | 1 | 1 | 473µs | 483µs | _new | Moose::Meta::TypeConstraint::
7 | 1 | 1 | 462µs | 505µs | _new | Moose::Meta::TypeConstraint::Class::
4 | 1 | 1 | 423µs | 423µs | _new | Moose::Meta::Method::Overridden::
13 | 1 | 1 | 421µs | 3.45ms | _new | Moose::Meta::Method::
8 | 1 | 1 | 382µs | 427µs | _new | Moose::Meta::Attribute::
41 | 38 | 4 | 368µs | 4.15ms | meta | Class::MOP::Mixin::
69 | 2 | 1 | 358µs | 1.45ms | linearized_isa | Class::MOP::Class::Immutable::Class::MOP::Class::
77 | 6 | 1 | 340µs | 340µs | error_class | Moose::Meta::Class::
71 | 9 | 4 | 296µs | 296µs | associated_metaclass | Class::MOP::Method::
47 | 3 | 2 | 281µs | 2.67ms | get_all_attributes | Class::MOP::Class::Immutable::Class::MOP::Class::
58 | 1 | 1 | 279µs | 279µs | constructor_name | Class::MOP::Class::
42 | 3 | 3 | 249µs | 249µs | _compiled_type_constraint | Moose::Meta::TypeConstraint::
4 | 1 | 1 | 234µs | 234µs | _new | Moose::Meta::TypeConstraint::Parameterizable::
43 | 1 | 1 | 227µs | 268µs | _class_name | Class::MOP::Instance::
45 | 1 | 1 | 225µs | 225µs | _expected_method_class | Class::MOP::Method::Inlined::
10 | 1 | 1 | 221µs | 221µs | _new | Moose::Meta::Instance::
42 | 4 | 3 | 201µs | 201µs | name | Moose::Meta::TypeConstraint::
38 | 2 | 2 | 196µs | 196µs | options | Class::MOP::Method::Constructor::
38 | 1 | 1 | 184µs | 184µs | accessor | Class::MOP::Mixin::AttributeCore::
35 | 4 | 2 | 183µs | 183µs | should_coerce | Moose::Meta::Mixin::AttributeCore::
36 | 1 | 1 | 182µs | 182µs | predicate | Class::MOP::Mixin::AttributeCore::
30 | 2 | 1 | 171µs | 1.43ms | _method_map | Class::MOP::Class::Immutable::Moose::Meta::Class::
30 | 2 | 2 | 165µs | 165µs | hand_optimized_type_constraint | Moose::Meta::TypeConstraint::
38 | 2 | 1 | 157µs | 157µs | has_hand_optimized_type_constraint | Moose::Meta::TypeConstraint::
26 | 1 | 1 | 134µs | 221µs | is_weak_ref | Moose::Meta::Mixin::AttributeCore::
26 | 3 | 2 | 130µs | 130µs | has_trigger | Moose::Meta::Mixin::AttributeCore::
20 | 1 | 1 | 118µs | 282µs | is_immutable | Class::MOP::Class::Immutable::Class::MOP::Class::
25 | 1 | 1 | 118µs | 118µs | definition_context | Class::MOP::Method::Generated::
8 | 1 | 2 | 114µs | 114µs | get_all_package_symbols(xsub) | Class::MOP::Package::
16 | 2 | 1 | 107µs | 240µs | namespace | Class::MOP::Package::
21 | 2 | 2 | 107µs | 183µs | type_constraint | Moose::Meta::Mixin::AttributeCore::
24 | 3 | 2 | 106µs | 106µs | has_type_constraint | Moose::Meta::Mixin::AttributeCore::
18 | 2 | 2 | 105µs | 105µs | is_required | Moose::Meta::Mixin::AttributeCore::
14 | 2 | 2 | 103µs | 689µs | has_package_symbol | Class::MOP::Package::
20 | 1 | 1 | 100µs | 100µs | _set_original_method | Class::MOP::Method::
22 | 1 | 1 | 94µs | 94µs | _has_compiled_type_constraint | Moose::Meta::TypeConstraint::
1 | 1 | 1 | 90µs | 109µs | meta | MARC::Moose::Field::Control::
14 | 2 | 1 | 87µs | 87µs | immutable_trait | Moose::Meta::Class::
16 | 2 | 2 | 78µs | 194µs | is_lazy | Moose::Meta::Mixin::AttributeCore::
8 | 8 | 1 | 77µs | 211µs | meta | Moose::Meta::TypeConstraint::
15 | 2 | 1 | 73µs | 73µs | constraint | Moose::Meta::TypeConstraint::
10 | 1 | 1 | 62µs | 175µs | has_handles | Moose::Meta::Mixin::AttributeCore::
10 | 1 | 1 | 60µs | 143µs | should_auto_deref | Moose::Meta::Mixin::AttributeCore::
14 | 2 | 1 | 54µs | 54µs | parent | Moose::Meta::TypeConstraint::
2 | 1 | 1 | 52µs | 120µs | initialize | Class::MOP::Package::
8 | 1 | 1 | 49µs | 164µs | linearized_isa | Class::MOP::Class::Immutable::Moose::Meta::Class::
8 | 1 | 1 | 46µs | 116µs | is_immutable | Class::MOP::Class::Immutable::Moose::Meta::Class::
2 | 1 | 1 | 45µs | 45µs | _new | Class::MOP::Package::
7 | 1 | 1 | 43µs | 43µs | class | Moose::Meta::TypeConstraint::Class::
9 | 1 | 1 | 40µs | 40µs | writer | Class::MOP::Mixin::AttributeCore::
4 | 4 | 2 | 40µs | 111µs | meta | Moose::Meta::Role::Composite::
4 | 3 | 3 | 38µs | 709µs | meta | Moose::Meta::Role::Method::Required::
2 | 2 | 1 | 36µs | 72µs | meta | Moose::Meta::TypeConstraint::Registry::
8 | 1 | 1 | 36µs | 36µs | associated_methods | Class::MOP::Attribute::
4 | 4 | 2 | 35µs | 100µs | meta | Moose::Meta::TypeCoercion::
3 | 3 | 2 | 33µs | 85µs | meta | Moose::Meta::Role::Application::
1 | 1 | 1 | 30µs | 38µs | new | MARC::Moose::Parser::Marcxml::
3 | 3 | 2 | 27µs | 75µs | meta | Moose::Meta::Role::Application::ToClass::
6 | 1 | 1 | 24µs | 24µs | associated_metaclass | Class::MOP::Instance::
6 | 1 | 1 | 23µs | 23µs | has_parent | Moose::Meta::TypeConstraint::
2 | 2 | 2 | 21µs | 50µs | meta | Moose::Meta::Role::Application::ToInstance::
2 | 2 | 2 | 19µs | 56µs | meta | Moose::Meta::Role::Application::RoleSummation::
2 | 2 | 2 | 17µs | 49µs | meta | Moose::Meta::Role::
2 | 1 | 1 | 14µs | 42µs | get_meta_instance | Class::MOP::Class::Immutable::Moose::Meta::Class::
1 | 1 | 1 | 14µs | 34µs | meta | Moose::Meta::TypeConstraint::Parameterizable::
1 | 1 | 1 | 13µs | 35µs | meta | Moose::Meta::TypeConstraint::DuckType::
1 | 1 | 1 | 13µs | 35µs | meta | Moose::Meta::TypeConstraint::Union::
1 | 1 | 1 | 13µs | 37µs | meta | Moose::Meta::TypeConstraint::Enum::
1 | 1 | 1 | 13µs | 32µs | meta | Moose::Meta::TypeConstraint::Role::
1 | 1 | 1 | 12µs | 36µs | meta | Moose::Meta::TypeConstraint::Parameterized::
1 | 1 | 1 | 11µs | 34µs | meta | Moose::Meta::TypeConstraint::Class::
1 | 1 | 1 | 10µs | 30µs | meta | MARC::Moose::Record::
1 | 1 | 1 | 10µs | 27µs | meta | MARC::Moose::Parser::
1 | 1 | 1 | 9µs | 24µs | meta | MARC::Moose::Parser::MarcxmlSax::
1 | 1 | 1 | 8µs | 26µs | meta | MARC::Moose::Parser::Marcxml::
1 | 1 | 1 | 8µs | 20µs | meta | MARC::Moose::Field::Std::
1 | 1 | 1 | 8µs | 28µs | meta | MARC::Moose::Field::
1 | 1 | 1 | 8µs | 22µs | meta | Moose::Meta::Role::Application::ToRole::
1 | 1 | 1 | 8µs | 22µs | meta | Moose::Meta::TypeCoercion::Union::
0 | 0 | 0 | 0s | 0s | clone | Class::MOP::Attribute::
0 | 0 | 0 | 0s | 0s | _get_mutable_metaclass_name | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _immutable_cannot_call | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _immutable_metaclass | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_attribute | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_package_symbol | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | alias_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | class_precedence_list | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | get_all_method_names | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | get_all_methods | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | is_mutable | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | meta | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_attribute | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | superclasses | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _get_mutable_metaclass_name | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _immutable_cannot_call | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _immutable_metaclass | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_attribute | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_package_symbol | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_role | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | alias_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | calculate_all_roles | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | calculate_all_roles_with_inheritance | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | class_precedence_list | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | does_role | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | get_all_attributes | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | get_all_method_names | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | get_all_methods | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | is_mutable | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | meta | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_attribute | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | superclasses | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | attributes | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | slot_hash | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | slots | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | original_method | Class::MOP::Method::
0 | 0 | 0 | 0s | 0s | builder | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | clearer | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | has_init_arg | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | has_insertion_order | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | initializer | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | insertion_order | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _full_method_map | Class::MOP::Mixin::HasMethods::
0 | 0 | 0 | 0s | 0s | authority | Class::MOP::Module::
0 | 0 | 0 | 0s | 0s | version | Class::MOP::Module::
0 | 0 | 0 | 0s | 0s | list_all_package_symbols | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | reinitialize | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | remove_package_glob | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Field::Control::
0 | 0 | 0 | 0s | 0s | as_formatted | MARC::Moose::Field::Control::
0 | 0 | 0 | 0s | 0s | value | MARC::Moose::Field::Control::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Field::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Field::Std::
0 | 0 | 0 | 0s | 0s | as_formatted | MARC::Moose::Field::Std::
0 | 0 | 0 | 0s | 0s | ind1 | MARC::Moose::Field::Std::
0 | 0 | 0 | 0s | 0s | ind2 | MARC::Moose::Field::Std::
0 | 0 | 0 | 0s | 0s | subf | MARC::Moose::Field::Std::
0 | 0 | 0 | 0s | 0s | new | MARC::Moose::Field::
0 | 0 | 0 | 0s | 0s | tag | MARC::Moose::Field::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Parser::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Parser::Marcxml::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Parser::MarcxmlSax::
0 | 0 | 0 | 0s | 0s | new | MARC::Moose::Parser::MarcxmlSax::
0 | 0 | 0 | 0s | 0s | parse | MARC::Moose::Parser::MarcxmlSax::
0 | 0 | 0 | 0s | 0s | xs | MARC::Moose::Parser::MarcxmlSax::
0 | 0 | 0 | 0s | 0s | new | MARC::Moose::Parser::
0 | 0 | 0 | 0s | 0s | DESTROY | MARC::Moose::Record::
0 | 0 | 0 | 0s | 0s | leader | MARC::Moose::Record::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Error::Default::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Error::Default::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Array::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Bool::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Code::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Counter::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Hash::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Number::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::String::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | applied_traits | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | has_applied_traits | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_role_applications | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | roles | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Instance::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Instance::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Augmented::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Constructor::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Destructor::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Method::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Method::
0 | 0 | 0 | 0s | 0s | _does_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _is_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _isa_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _set_handles | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | documentation | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | handles | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | has_documentation | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | is_lazy_build | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | trigger | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::RoleSummation::
0 | 0 | 0 | 0s | 0s | role_params | Moose::Meta::Role::Application::RoleSummation::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | class | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | role | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToInstance::
0 | 0 | 0 | 0s | 0s | rebless_params | Moose::Meta::Role::Application::ToInstance::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToRole::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | get_method_aliases | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | get_method_exclusions | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | associated_role | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | is | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | metaclass | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | original_options | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | _method_map | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | application_role_summation_class | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | name | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::Conflicting::
0 | 0 | 0 | 0s | 0s | roles | Moose::Meta::Role::Method::Conflicting::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | name | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_after_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_around_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_before_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_excluded_roles | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_class_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_instance_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_role_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | conflicting_method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | excludes_role | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_after_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_after_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_around_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_around_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_before_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_before_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_excluded_roles_list | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_excluded_roles_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_override_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_required_method_list | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_required_methods_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_roles | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_after_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_around_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_before_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | remove_required_methods | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | required_method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | requires_method | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeCoercion::Union::
0 | 0 | 0 | 0s | 0s | _compiled_type_coercion | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | type_coercion_map | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | type_constraint | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::DuckType::
0 | 0 | 0 | 0s | 0s | methods | Moose::Meta::TypeConstraint::DuckType::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Enum::
0 | 0 | 0 | 0s | 0s | values | Moose::Meta::TypeConstraint::Enum::
0 | 0 | 0 | 0s | 0s | constraint_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | has_constraint_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | has_type_parameter | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | type_parameter | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | get_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | has_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | set_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Role::
0 | 0 | 0 | 0s | 0s | role | Moose::Meta::TypeConstraint::Role::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Union::
0 | 0 | 0 | 0s | 0s | type_constraints | Moose::Meta::TypeConstraint::Union::
0 | 0 | 0 | 0s | 0s | _package_defined_in | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | _set_constraint | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | coercion | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | has_coercion | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | has_message | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | message | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | meta | Moose::Object::
0 | 0 | 0 | 0s | 0s | import | Moose::Util::TypeConstraints::
0 | 0 | 0 | 0s | 0s | unimport | Moose::Util::TypeConstraints::
0 | 0 | 0 | 0s | 0s | import | Moose::
0 | 0 | 0 | 0s | 0s | unimport | Moose::
Line | Stmts. | Exclusive Time | Avg. | Code |
---|---|---|---|---|
1 | ||||
2 | package Class::MOP::Package; | |||
3 | ||||
4 | 3 | 40µs | 13µs | use strict; # spent 13µs making 1 call to strict::import |
5 | 3 | 31µs | 10µs | use warnings; # spent 21µs making 1 call to warnings::import |
6 | ||||
7 | 3 | 27µs | 9µs | use Scalar::Util 'blessed', 'reftype'; # spent 50µs making 1 call to Exporter::import |
8 | 3 | 32µs | 10µs | use Carp 'confess'; # spent 32µs making 1 call to Exporter::import |
9 | 3 | 169µs | 56µs | use Package::Stash; # spent 4µs making 1 call to import |
10 | ||||
11 | 1 | 800ns | 800ns | our $VERSION = '1.09'; |
12 | 1 | 22µs | 22µs | $VERSION = eval $VERSION; |
13 | 1 | 500ns | 500ns | our $AUTHORITY = 'cpan:STEVAN'; |
14 | ||||
15 | 3 | 652µs | 217µs | use base 'Class::MOP::Object'; # spent 90µs making 1 call to base::import, max recursion depth 2 |
16 | ||||
17 | # creation ... | |||
18 | ||||
19 | # spent 120µs (52+68) within Class::MOP::Package::initialize which was called 2 times, avg 60µs/call:
# 2 times (52µs+68µs) by Moose::Exporter::build_import_methods at line 81 of /usr/local/lib/perl/5.10.0/Moose/Exporter.pm, avg 60µs/call | |||
20 | 10 | 32µs | 3µs | my ( $class, @args ) = @_; |
21 | ||||
22 | unshift @args, "package" if @args % 2; | |||
23 | ||||
24 | my %options = @args; | |||
25 | my $package_name = $options{package}; | |||
26 | ||||
27 | ||||
28 | # we hand-construct the class | |||
29 | # until we can bootstrap it | |||
30 | 6 | 34µs | 6µs | if ( my $meta = Class::MOP::get_metaclass_by_name($package_name) ) { # spent 12µs making 2 calls to Class::MOP::get_metaclass_by_name, avg 6µs/call |
31 | return $meta; | |||
32 | } else { | |||
33 | my $meta = ( ref $class || $class )->_new({ # spent 45µs making 2 calls to Class::MOP::Package::_new, avg 22µs/call | |||
34 | 'package' => $package_name, | |||
35 | %options, | |||
36 | }); | |||
37 | Class::MOP::store_metaclass_by_name($package_name, $meta); # spent 11µs making 2 calls to Class::MOP::store_metaclass_by_name, avg 6µs/call | |||
38 | ||||
39 | return $meta; | |||
40 | } | |||
41 | } | |||
42 | ||||
43 | sub reinitialize { | |||
44 | my ( $class, @args ) = @_; | |||
45 | ||||
46 | unshift @args, "package" if @args % 2; | |||
47 | ||||
48 | my %options = @args; | |||
49 | my $package_name = delete $options{package}; | |||
50 | ||||
51 | (defined $package_name && $package_name | |||
52 | && (!blessed $package_name || $package_name->isa('Class::MOP::Package'))) | |||
53 | || confess "You must pass a package name or an existing Class::MOP::Package instance"; | |||
54 | ||||
55 | $package_name = $package_name->name | |||
56 | if blessed $package_name; | |||
57 | ||||
58 | Class::MOP::remove_metaclass_by_name($package_name); | |||
59 | ||||
60 | $class->initialize($package_name, %options); # call with first arg form for compat | |||
61 | } | |||
62 | ||||
63 | # spent 45µs within Class::MOP::Package::_new which was called 2 times, avg 22µs/call:
# 2 times (45µs+0s) by Class::MOP::Package::initialize at line 33, avg 22µs/call | |||
64 | 8 | 37µs | 5µs | my $class = shift; |
65 | ||||
66 | return Class::MOP::Class->initialize($class)->new_object(@_) | |||
67 | if $class ne __PACKAGE__; | |||
68 | ||||
69 | my $params = @_ == 1 ? $_[0] : {@_}; | |||
70 | ||||
71 | return bless { | |||
72 | package => $params->{package}, | |||
73 | ||||
74 | # NOTE: | |||
75 | # because of issues with the Perl API | |||
76 | # to the typeglob in some versions, we | |||
77 | # need to just always grab a new | |||
78 | # reference to the hash in the accessor. | |||
79 | # Ideally we could just store a ref and | |||
80 | # it would Just Work, but oh well :\ | |||
81 | ||||
82 | namespace => \undef, | |||
83 | ||||
84 | } => $class; | |||
85 | } | |||
86 | ||||
87 | # Attributes | |||
88 | ||||
89 | # NOTE: | |||
90 | # all these attribute readers will be bootstrapped | |||
91 | # away in the Class::MOP bootstrap section | |||
92 | ||||
93 | # spent 6.39ms (5.13+1.25) within Class::MOP::Package::_package_stash which was called 1344 times, avg 5µs/call:
# 813 times (2.87ms+0s) by Class::MOP::Package::get_package_symbol at line 123, avg 4µs/call
# 397 times (1.42ms+0s) by Moose::import or Moose::unimport or Moose::Object::meta or MARC::Moose::Field::new or Moose::Meta::Role::_new or Moose::Meta::Role::meta or MARC::Moose::Field::tag or Class::MOP::Mixin::meta or Class::MOP::Object::meta or MARC::Moose::Record::new or MARC::Moose::Field::meta or Moose::Meta::Class::_new or MARC::Moose::Parser::new or Moose::Meta::Class::roles or Moose::Meta::Method::_new or MARC::Moose::Parser::meta or MARC::Moose::Record::meta or MARC::Moose::Record::leader or MARC::Moose::Field::DESTROY or Moose::Meta::Instance::_new or MARC::Moose::Record::fields or Class::MOP::Module::version or Class::MOP::Instance::slots or MARC::Moose::Field::Std::new or Moose::Meta::Attribute::_new or MARC::Moose::Parser::DESTROY or MARC::Moose::Record::_leader or MARC::Moose::Record::DESTROY or Class::MOP::Attribute::clone or Moose::Meta::Role::get_roles or MARC::Moose::Field::Std::ind2 or MARC::Moose::Field::Std::ind1 or Class::MOP::Module::authority or MARC::Moose::Field::Std::meta or MARC::Moose::Field::Std::subf or Class::MOP::Package::namespace or Moose::Meta::TypeCoercion::meta or Class::MOP::Class::superclasses or Moose::Meta::TypeCoercion::_new or Moose::Meta::Role::Method::_new or Moose::Meta::Class::error_class or Class::MOP::Instance::slot_hash or MARC::Moose::Field::Control::new or Moose::Meta::Role::excludes_role or Moose::Meta::Role::Attribute::is or Class::MOP::Instance::attributes or MARC::Moose::Field::Std::DESTROY or Moose::Meta::TypeConstraint::meta or Moose::Meta::TypeConstraint::_new or Class::MOP::Instance::_class_name or MARC::Moose::Parser::Marcxml::new or Moose::Meta::TypeConstraint::name or MARC::Moose::Field::Control::meta or Moose::Meta::Role::Composite::_new or Moose::Meta::Role::Attribute::_new or MARC::Moose::Parser::Marcxml::meta or Moose::Meta::Role::Composite::name or Class::MOP::Class::immutable_trait or Moose::Meta::Role::Composite::meta or MARC::Moose::Field::Control::value or Moose::Meta::Role::requires_method or Class::MOP::Class::constructor_name or MARC::Moose::Parser::Marcxml::parse or Moose::Meta::Method::Accessor::_new or MARC::Moose::Parser::MarcxmlSax::xs or Moose::Meta::Class::immutable_trait or Class::MOP::Method::original_method or Class::MOP::Class::destructor_class or Moose::Meta::Role::method_metaclass or Moose::Meta::TypeConstraint::parent or Moose::Util::TypeConstraints::import or Moose::Meta::Method::Augmented::_new or Moose::Meta::Role::Application::_new or Moose::Meta::TypeConstraint::message or MARC::Moose::Field::Control::DESTROY or Moose::Meta::Role::Application::meta or Class::MOP::Class::constructor_class or Moose::Meta::Class::destructor_class or MARC::Moose::Parser::MarcxmlSax::new or Class::MOP::Class::instance_metaclass or Moose::Meta::Class::constructor_class or Moose::Meta::TypeConstraint::coercion or Moose::Meta::Method::Destructor::_new or Moose::Meta::Role::add_excluded_roles or MARC::Moose::Parser::MarcxmlSax::meta or MARC::Moose::Field::Std::as_formatted or MARC::Moose::Parser::Marcxml::DESTROY or Moose::Meta::Method::Overridden::_new or Moose::Meta::Method::Constructor::_new or Moose::Meta::TypeCoercion::Union::_new or Moose::Meta::Attribute::applied_traits or Moose::Meta::TypeCoercion::Union::meta or MARC::Moose::Parser::MarcxmlSax::parse or Moose::Util::TypeConstraints::unimport or Moose::Meta::TypeConstraint::Enum::_new or Moose::Meta::TypeConstraint::Enum::meta or Moose::Meta::TypeConstraint::Role::role or Moose::Meta::TypeConstraint::Role::_new or Moose::Meta::TypeConstraint::Role::meta or Class::MOP::Package::add_package_symbol or Class::MOP::Attribute::associated_class or Moose::Meta::TypeConstraint::constraint or Moose::Meta::Role::Attribute::metaclass or Moose::Meta::TypeConstraint::has_parent or Moose::Meta::TypeConstraint::Union::meta or Class::MOP::Method::Generated::is_inline or Moose::Meta::TypeConstraint::Class::_new or MARC::Moose::Parser::MarcxmlSax::DESTROY or Class::MOP::Mixin::AttributeCore::reader or Class::MOP::Method::Constructor::options or Class::MOP::Method::associated_metaclass or Moose::Meta::TypeConstraint::has_message or Moose::Meta::TypeConstraint::Class::meta or Class::MOP::Mixin::AttributeCore::writer or Moose::Meta::TypeConstraint::Union::_new or Class::MOP::Method::_set_original_method or Class::MOP::Mixin::AttributeCore::builder or Moose::Meta::Role::Composite::_method_map or Moose::Meta::Role::Method::Required::_new or Moose::Meta::Role::get_excluded_roles_map or MARC::Moose::Field::Control::as_formatted or Class::MOP::Mixin::AttributeCore::clearer or Class::MOP::Attribute::associated_methods or Moose::Meta::TypeConstraint::Enum::values or Moose::Meta::Role::Method::Required::meta or Moose::Meta::TypeConstraint::Class::class or Moose::Meta::Role::Method::Required::name or Moose::Meta::TypeConstraint::has_coercion or Moose::Meta::Mixin::AttributeCore::is_lazy or Moose::Meta::Attribute::has_applied_traits or Moose::Meta::Role::get_excluded_roles_list or Moose::Meta::TypeCoercion::type_constraint or Class::MOP::Instance::associated_metaclass or Moose::Meta::Class::_get_role_applications or Class::MOP::Mixin::AttributeCore::accessor or Class::MOP::Mixin::AttributeCore::init_arg or Moose::Meta::Mixin::AttributeCore::handles or Moose::Meta::Mixin::AttributeCore::trigger or Moose::Meta::Role::remove_required_methods or Moose::Meta::TypeConstraint::DuckType::meta or Moose::Meta::Role::get_required_methods_map or Moose::Meta::TypeConstraint::DuckType::_new or Class::MOP::Mixin::AttributeCore::predicate or Class::MOP::Method::Accessor::accessor_type or Moose::Meta::TypeConstraint::Registry::_new or Moose::Meta::Role::get_required_method_list or Moose::Meta::TypeConstraint::Registry::meta or Moose::Meta::Role::_get_compatible_metaclass or Moose::Meta::Role::Application::ToRole::meta or Moose::Meta::Role::application_to_role_class or Moose::Meta::TypeCoercion::type_coercion_map or Moose::Meta::Role::Application::ToRole::_new or Moose::Meta::TypeConstraint::_set_constraint or Moose::Meta::Role::add_after_method_modifier or Class::MOP::Mixin::AttributeCore::has_writer or Moose::Meta::Role::required_method_metaclass or Moose::Meta::Role::Method::Conflicting::_new or Class::MOP::Mixin::AttributeCore::has_reader or Moose::Meta::Role::has_after_method_modifiers or Class::MOP::Mixin::AttributeCore::has_default or Moose::Meta::Class::_get_compatible_metaclass or Moose::Meta::Role::get_after_method_modifiers or Class::MOP::Mixin::AttributeCore::has_clearer or Moose::Meta::Role::Application::ToClass::role or Moose::Meta::Role::application_to_class_class or Class::MOP::Mixin::AttributeCore::has_builder or Moose::Meta::Role::add_around_method_modifier or Moose::Meta::Role::add_before_method_modifier or Moose::Meta::Role::Attribute::associated_role or Moose::Meta::Role::Method::Conflicting::roles or Class::MOP::Mixin::AttributeCore::initializer or Moose::Meta::Role::Application::ToClass::_new or Moose::Meta::Role::Application::ToClass::meta or Moose::Meta::Role::has_around_method_modifiers or Class::MOP::Mixin::AttributeCore::has_init_arg or Class::MOP::Mixin::AttributeCore::has_accessor or Moose::Meta::Mixin::AttributeCore::has_trigger or Moose::Meta::Role::get_before_method_modifiers or Moose::Meta::Role::has_before_method_modifiers or Moose::Meta::Mixin::AttributeCore::is_required or Moose::Meta::Method::_get_compatible_metaclass or Moose::Meta::TypeConstraint::DuckType::methods or Moose::Meta::Mixin::AttributeCore::has_handles or Moose::Meta::Role::get_around_method_modifiers or Moose::Meta::Role::Application::ToClass::class or Moose::Meta::Mixin::AttributeCore::is_weak_ref or Moose::Meta::Role::Attribute::original_options or Class::MOP::Mixin::HasMethods::method_metaclass or Moose::Meta::Mixin::AttributeCore::_is_metadata or Moose::Meta::Mixin::AttributeCore::_set_handles or Class::MOP::Mixin::AttributeCore::has_predicate or Class::MOP::Mixin::HasMethods::_full_method_map or Moose::Meta::Role::conflicting_method_metaclass or Moose::Meta::Mixin::AttributeCore::documentation or Moose::Error::Default::_get_compatible_metaclass or Moose::Meta::TypeConstraint::Parameterized::meta or Moose::Meta::Role::Application::ToInstance::_new or Moose::Meta::Instance::_get_compatible_metaclass or Moose::Meta::TypeConstraint::Parameterized::_new or Moose::Meta::Role::application_to_instance_class or Moose::Meta::Role::Application::ToInstance::meta or Moose::Meta::TypeConstraint::_package_defined_in or Moose::Meta::Mixin::AttributeCore::_isa_metadata or Moose::Meta::Mixin::AttributeCore::is_lazy_build or Class::MOP::Mixin::HasAttributes::_attribute_map or Moose::Meta::Mixin::AttributeCore::should_coerce or Class::MOP::Mixin::AttributeCore::insertion_order or Class::MOP::Method::Generated::definition_context or Moose::Meta::Attribute::_get_compatible_metaclass or Class::MOP::Mixin::AttributeCore::has_initializer or Moose::Meta::Mixin::AttributeCore::_does_metadata or Moose::Meta::Role::get_after_method_modifiers_map or Moose::Meta::TypeConstraint::Parameterizable::_new or Class::MOP::Method::Accessor::associated_attribute or Moose::Meta::TypeConstraint::Parameterizable::meta or Moose::Meta::Mixin::AttributeCore::type_constraint or Moose::Meta::Role::Application::get_method_aliases or Moose::Meta::Role::get_before_method_modifiers_map or Moose::Meta::TypeCoercion::_compiled_type_coercion or Moose::Meta::Role::get_around_method_modifiers_map or Moose::Meta::Role::Application::RoleSummation::meta or Moose::Meta::Role::Application::RoleSummation::_new or Class::MOP::Method::Inlined::_expected_method_class or Moose::Meta::Role::get_override_method_modifiers_map or Moose::Meta::TypeConstraint::Union::type_constraints or Class::MOP::Mixin::AttributeCore::definition_context or Moose::Meta::Mixin::AttributeCore::has_documentation or Moose::Meta::Mixin::AttributeCore::should_auto_deref or Class::MOP::Mixin::AttributeCore::has_insertion_order or Moose::Meta::Role::Application::get_method_exclusions or Class::MOP::Method::Constructor::associated_metaclass or Class::MOP::Mixin::HasAttributes::attribute_metaclass or Class::MOP::Class::Immutable::Class::MOP::Class::meta or Class::MOP::Mixin::AttributeCore::_set_insertion_order or Moose::Meta::TypeConstraint::_compiled_type_constraint or Class::MOP::Class::Immutable::Moose::Meta::Class::meta or Moose::Meta::Mixin::AttributeCore::has_type_constraint or Class::MOP::Mixin::HasMethods::wrapped_method_metaclass or Moose::Meta::TypeConstraint::Registry::type_constraints or Moose::Meta::Role::Application::ToInstance::rebless_params or Moose::Meta::TypeConstraint::Parameterized::type_parameter or Moose::Meta::TypeConstraint::Registry::get_parent_registry or Moose::Meta::TypeConstraint::Registry::has_parent_registry or Moose::Meta::TypeConstraint::_has_compiled_type_constraint or Moose::Meta::TypeConstraint::Registry::set_parent_registry or Class::MOP::Class::Immutable::Moose::Meta::Class::add_role or Moose::Meta::Role::Application::RoleSummation::role_params or Moose::Meta::TypeConstraint::hand_optimized_type_constraint or Class::MOP::Class::Immutable::Moose::Meta::Class::does_role or Class::MOP::Class::Immutable::Class::MOP::Class::is_mutable or Class::MOP::Class::Immutable::Class::MOP::Class::add_method or Class::MOP::Class::Immutable::Moose::Meta::Class::add_method or Class::MOP::Class::Immutable::Class::MOP::Class::_method_map or Class::MOP::Class::Immutable::Moose::Meta::Class::is_mutable or Class::MOP::Class::Immutable::Moose::Meta::Class::_method_map or Class::MOP::Class::Immutable::Class::MOP::Class::superclasses or Class::MOP::Class::Immutable::Class::MOP::Class::is_immutable or Class::MOP::Class::Immutable::Class::MOP::Class::alias_method or Moose::Meta::Role::Composite::application_role_summation_class or Moose::Meta::TypeConstraint::Parameterized::has_type_parameter or Class::MOP::Class::Immutable::Class::MOP::Class::remove_method or Class::MOP::Class::Immutable::Moose::Meta::Class::superclasses or Class::MOP::Class::Immutable::Class::MOP::Class::add_attribute or Class::MOP::Class::Immutable::Moose::Meta::Class::is_immutable or Class::MOP::Class::Immutable::Moose::Meta::Class::alias_method or Class::MOP::Class::Immutable::Class::MOP::Class::linearized_isa or Moose::Meta::TypeConstraint::has_hand_optimized_type_constraint or Class::MOP::Class::Immutable::Moose::Meta::Class::add_attribute or Class::MOP::Class::Immutable::Moose::Meta::Class::remove_method or Class::MOP::Class::Immutable::Class::MOP::Class::get_all_methods or Class::MOP::Class::Immutable::Moose::Meta::Class::linearized_isa or Class::MOP::Class::Immutable::Class::MOP::Class::remove_attribute or Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_methods or Moose::Meta::TypeConstraint::Parameterizable::constraint_generator or Class::MOP::Class::Immutable::Class::MOP::Class::get_meta_instance or Class::MOP::Class::Immutable::Moose::Meta::Class::remove_attribute or Class::MOP::Class::Immutable::Class::MOP::Class::add_package_symbol or Class::MOP::Class::Immutable::Moose::Meta::Class::get_meta_instance or Class::MOP::Class::Immutable::Class::MOP::Class::get_all_attributes or Moose::Meta::Role::_get_compatible_metaclass_by_role_reconciliation or Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_attributes or Moose::Meta::Attribute::Custom::Trait::Bool::register_implementation or Moose::Meta::Class::_get_compatible_metaclass_by_role_reconciliation or Moose::Meta::Attribute::Custom::Trait::Hash::register_implementation or Moose::Meta::Attribute::Custom::Trait::Code::register_implementation or Class::MOP::Class::Immutable::Moose::Meta::Class::add_package_symbol or Class::MOP::Class::Immutable::Moose::Meta::Class::calculate_all_roles or Class::MOP::Class::Immutable::Class::MOP::Class::_immutable_metaclass or Moose::Meta::Method::_get_compatible_metaclass_by_role_reconciliation or Class::MOP::Class::Immutable::Class::MOP::Class::get_all_method_names or Moose::Meta::Attribute::Custom::Trait::Array::register_implementation or Moose::Meta::TypeConstraint::Parameterizable::has_constraint_generator or Class::MOP::Class::Immutable::Class::MOP::Class::remove_package_symbol or Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_method_names or Class::MOP::Class::Immutable::Class::MOP::Class::class_precedence_list or Class::MOP::Class::Immutable::Moose::Meta::Class::_immutable_metaclass or Moose::Meta::Attribute::Custom::Trait::String::register_implementation or Moose::Meta::Attribute::Custom::Trait::Number::register_implementation or Class::MOP::Class::Immutable::Class::MOP::Class::_immutable_cannot_call or Moose::Error::Default::_get_compatible_metaclass_by_role_reconciliation or Class::MOP::Class::Immutable::Moose::Meta::Class::class_precedence_list or Moose::Meta::Attribute::Custom::Trait::Counter::register_implementation or Moose::Meta::Instance::_get_compatible_metaclass_by_role_reconciliation or Class::MOP::Class::Immutable::Moose::Meta::Class::remove_package_symbol or Class::MOP::Class::Immutable::Moose::Meta::Class::_immutable_cannot_call or Moose::Meta::Attribute::_get_compatible_metaclass_by_role_reconciliation or Class::MOP::Class::Immutable::Class::MOP::Class::_get_mutable_metaclass_name or Class::MOP::Class::Immutable::Moose::Meta::Class::_get_mutable_metaclass_name or Class::MOP::Class::Immutable::Moose::Meta::Class::calculate_all_roles_with_inheritance at line 106, avg 4µs/call
# 104 times (724µs+1.21ms) by Class::MOP::Package::get_or_add_package_symbol at line 128, avg 19µs/call
# 16 times (62µs+0s) at line 97, avg 4µs/call
# 14 times (53µs+43µs) by Class::MOP::Package::has_package_symbol at line 118, avg 7µs/call | |||
94 | 1344 | 3.23ms | 2µs | $_[0]->{_package_stash} ||= Package::Stash->new($_[0]->name) # spent 1.02ms making 73 calls to Package::Stash::new, avg 14µs/call
# spent 238µs making 73 calls to Class::MOP::Package::name, avg 3µs/call |
95 | } | |||
96 | sub namespace { | |||
97 | 16 | 127µs | 8µs | $_[0]->_package_stash->namespace # spent 71µs making 16 calls to Package::Stash::namespace, avg 4µs/call
# spent 62µs making 16 calls to Class::MOP::Package::_package_stash, avg 4µs/call |
98 | } | |||
99 | ||||
100 | # Class attributes | |||
101 | ||||
102 | # ... these functions have to touch the symbol table itself,.. yuk | |||
103 | ||||
104 | # spent 21.7ms (2.45+19.3) within Class::MOP::Package::add_package_symbol which was called 397 times, avg 55µs/call:
# 393 times (2.43ms+19.0ms) by Class::MOP::Mixin::HasMethods::add_method at line 92 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 55µs/call
# 4 times (24µs+246µs) by Moose::Exporter::build_import_methods at line 87 of /usr/local/lib/perl/5.10.0/Moose/Exporter.pm, avg 68µs/call | |||
105 | 794 | 3.12ms | 4µs | my $self = shift; |
106 | # spent 1.04ms within Class::MOP::Mixin::AttributeCore::has_default which was called 284 times, avg 4µs/call:
# 265 times (949µs+0s) by Class::MOP::Method::Constructor::_generate_slot_initializer at line 136 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 4µs/call
# 10 times (42µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 212 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 6 times (28µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 223 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# 3 times (16µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 207 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# spent 89.4ms (64.3+25.1) within MARC::Moose::Field::Control::new which was called 4000 times, avg 22µs/call:
# 4000 times (64.3ms+25.1ms) by MARC::Moose::Parser::Marcxml::__ANON__[/home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm:62] at line 36 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm, avg 22µs/call
# spent 1.45ms (358µs+1.09) within Class::MOP::Class::Immutable::Class::MOP::Class::linearized_isa which was called 69 times, avg 21µs/call:
# 54 times (292µs+703µs) by Class::MOP::Class::find_attribute_by_name at line 792 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 18µs/call
# 15 times (66µs+388µs) by Class::MOP::Class::get_all_attributes at line 804 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 30µs/call
# spent 477µs within Class::MOP::Mixin::AttributeCore::_set_insertion_order which was called 123 times, avg 4µs/call:
# 123 times (477µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 36 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 4µs/call
# spent 194µs (78+116) within Moose::Meta::Mixin::AttributeCore::is_lazy which was called 16 times, avg 12µs/call:
# 10 times (55µs+116µs) by Moose::Meta::Method::Accessor::_inline_check_lazy at line 195 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 17µs/call
# 6 times (23µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 212 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# spent 1.68ms within Class::MOP::Class::instance_metaclass which was called 344 times, avg 5µs/call:
# 84 times (404µs+0s) by Class::MOP::Attribute::_process_accessors at line 322 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# 58 times (278µs+0s) by Class::MOP::Class::_create_meta_instance at line 624 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 52 times (278µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 52 times (256µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 33 times (114µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 3µs/call
# 22 times (81µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (86µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (85µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (39µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 10 times (58µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 122 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 6µs/call
# spent 234µs within Moose::Meta::TypeConstraint::Parameterizable::_new which was called 4 times, avg 59µs/call:
# 4 times (234µs+0s) by Moose::Meta::TypeConstraint::new at line 70 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 59µs/call
# spent 279µs within Class::MOP::Class::constructor_name which was called 58 times, avg 5µs/call:
# 58 times (279µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# spent 100µs (35+65) within Moose::Meta::TypeCoercion::meta which was called 4 times, avg 25µs/call:
# once (12µs+19µs) at line 18 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm
# once (8µs+16µs) at line 28 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm
# once (8µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# once (7µs+15µs) at line 20 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm
# spent 824µs within Class::MOP::Mixin::AttributeCore::has_clearer which was called 191 times, avg 4µs/call:
# 191 times (824µs+0s) by Class::MOP::Attribute::install_accessors at line 372 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# spent 1.43ms (171µs+1.26) within Class::MOP::Class::Immutable::Moose::Meta::Class::_method_map which was called 30 times, avg 48µs/call:
# 28 times (156µs+1.24ms) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 136 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 50µs/call
# 2 times (15µs+20µs) by Class::MOP::Mixin::HasMethods::get_method at line 126 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 17µs/call
# spent 1.28ms within Class::MOP::Mixin::HasMethods::method_metaclass which was called 256 times, avg 5µs/call:
# 64 times (291µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 51 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 5µs/call
# 52 times (292µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 52 times (236µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 33 times (151µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 22 times (82µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (93µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (84µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (48µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 157µs within Moose::Meta::TypeConstraint::has_hand_optimized_type_constraint which was called 38 times, avg 4µs/call:
# 29 times (125µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 191 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 4µs/call
# 9 times (32µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 231 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 4µs/call
# spent 394ms (245+149) within MARC::Moose::Field::Std::new which was called 11000 times, avg 36µs/call:
# 11000 times (245ms+149ms) by MARC::Moose::Parser::Marcxml::__ANON__[/home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm:62] at line 49 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm, avg 36µs/call
# spent 37µs (13+23) within Moose::Meta::TypeConstraint::Enum::meta which was called
# once (13µs+23µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Enum.pm
# spent 35µs (13+21) within Moose::Meta::TypeConstraint::Union::meta which was called
# once (13µs+21µs) at line 21 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Union.pm
# spent 56µs (19+36) within Moose::Meta::Role::Application::RoleSummation::meta which was called 2 times, avg 28µs/call:
# once (12µs+22µs) at line 20 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application/RoleSummation.pm
# once (8µs+14µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 1.14ms within Class::MOP::Mixin::HasMethods::wrapped_method_metaclass which was called 238 times, avg 5µs/call:
# 52 times (276µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 52 times (269µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 46 times (194µs+0s) by Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:935] at line 908 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 33 times (140µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 22 times (86µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (76µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 11 times (57µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 11 times (44µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 793µs within Class::MOP::Method::Generated::is_inline which was called 208 times, avg 4µs/call:
# 177 times (662µs+0s) by Class::MOP::Method::Accessor::_initialize_body at line 80 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 31 times (131µs+0s) by Class::MOP::Method::Constructor::_initialize_body at line 86 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 4µs/call
# spent 36µs (12+24) within Moose::Meta::TypeConstraint::Parameterized::meta which was called
# once (12µs+24µs) at line 17 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Parameterized.pm
# spent 505µs (462+43) within Moose::Meta::TypeConstraint::Class::_new which was called 7 times, avg 72µs/call:
# 7 times (462µs+43µs) by Moose::Meta::TypeConstraint::Class::new at line 24 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Class.pm, avg 72µs/call
# spent 21.3ms (1.63+19.7) within Class::MOP::Class::superclasses which was called 104 times, avg 205µs/call:
# 65 times (807µs+4.42ms) by Class::MOP::Class::_check_metaclass_compatibility at line 209 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 80µs/call
# 37 times (699µs+14.2ms) by Moose::Meta::Class::superclasses at line 287 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm, avg 403µs/call
# 2 times (121µs+1.10ms) by Class::MOP::Class::create at line 527 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 612µs/call
# spent 211µs (77+134) within Moose::Meta::TypeConstraint::meta which was called 8 times, avg 26µs/call:
# once (11µs+27µs) at line 22 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (11µs+19µs) at line 56 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (8µs+18µs) at line 33 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (12µs+12µs) at line 60 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (12µs+13µs) at line 38 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (7µs+18µs) at line 34 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (10µs+13µs) at line 43 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# once (7µs+14µs) at line 23 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# spent 12.8ms (1.18+11.6) within Class::MOP::Object::meta which was called 170 times, avg 75µs/call:
# 58 times (371µs+834µs) by Class::MOP::Class::_immutable_metaclass at line 1190 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 21µs/call
# 31 times (214µs+456µs) by Class::MOP::Method::Meta::wrap at line 56 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Meta.pm, avg 22µs/call
# 13 times (71µs+191µs) at line 698 of /usr/local/lib/perl/5.10.0/Class/MOP.pm, avg 20µs/call
# 10 times (57µs+3.35ms) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm, avg 341µs/call
# 9 times (63µs+154µs) by Moose::Meta::Attribute::new at line 63 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 24µs/call
# 8 times (67µs+108µs) by Class::MOP::Class::_construct_class_instance at line 101 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 22µs/call
# once (12µs+959µs) at line 337 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+723µs) at line 492 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (9µs+641µs) at line 252 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+519µs) at line 302 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+501µs) at line 566 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+489µs) at line 615 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+472µs) at line 520 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+471µs) at line 559 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+466µs) at line 583 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+448µs) at line 634 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+436µs) at line 592 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (14µs+20µs) at line 683 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+16µs) at line 655 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (11µs+16µs) at line 36 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (14µs+12µs) at line 373 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+17µs) at line 41 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (8µs+17µs) at line 618 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (9µs+15µs) at line 50 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (7µs+18µs) at line 43 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (9µs+14µs) at line 26 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
# once (7µs+17µs) at line 60 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (7µs+17µs) at line 55 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
# once (7µs+16µs) at line 600 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+11µs) at line 671 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+11µs) at line 649 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (6µs+16µs) at line 686 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+14µs) at line 276 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+12µs) at line 510 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+12µs) at line 573 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+11µs) at line 538 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+12µs) at line 321 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+12µs) at line 640 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+12µs) at line 340 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+12µs) at line 526 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) by Class::MOP::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP.pm:516] at line 516 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 532 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 383 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 661 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 544 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 364 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 355 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# spent 22µs (8+15) within Moose::Meta::Role::Application::ToRole::meta which was called
# once (8µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 164µs (49+115) within Class::MOP::Class::Immutable::Moose::Meta::Class::linearized_isa which was called 8 times, avg 21µs/call:
# 8 times (49µs+115µs) by Class::MOP::Class::find_next_method_by_name at line 1032 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 21µs/call
# spent 740µs within Class::MOP::Mixin::AttributeCore::reader which was called 151 times, avg 5µs/call:
# 151 times (740µs+0s) by Class::MOP::Attribute::install_accessors at line 360 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 196µs within Class::MOP::Method::Constructor::options which was called 38 times, avg 5µs/call:
# 31 times (157µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 119 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 5µs/call
# 7 times (38µs+0s) by Moose::Meta::Method::Constructor::_initialize_body at line 77 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# spent 427µs (382+46) within Moose::Meta::Attribute::_new which was called 8 times, avg 53µs/call:
# 8 times (382µs+46µs) by Class::MOP::Attribute::new at line 56 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 53µs/call
# spent 35µs (13+22) within Moose::Meta::TypeConstraint::DuckType::meta which was called
# once (13µs+22µs) at line 19 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/DuckType.pm
# spent 532µs within Moose::Meta::Class::constructor_class which was called 84 times, avg 6µs/call:
# 22 times (98µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (97µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 9µs/call
# 11 times (96µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 9µs/call
# 11 times (70µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 11 times (68µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 11 times (65µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 7 times (37µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# spent 1.02ms within Class::MOP::Mixin::AttributeCore::has_builder which was called 185 times, avg 5µs/call:
# 178 times (986µs+0s) by Class::MOP::Method::Constructor::_generate_slot_initializer at line 136 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 6µs/call
# 4 times (14µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 212 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 3 times (15µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 207 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# spent 492µs within Class::MOP::Method::Constructor::associated_metaclass which was called 124 times, avg 4µs/call:
# 31 times (134µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 34 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 4µs/call
# 31 times (125µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 112 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 4µs/call
# 31 times (120µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 108 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 4µs/call
# 31 times (112µs+0s) by Class::MOP::Method::Constructor::_attributes at line 77 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 4µs/call
# spent 483µs (473+10) within Moose::Meta::TypeConstraint::_new which was called 18 times, avg 27µs/call:
# 18 times (473µs+10µs) by Moose::Meta::TypeConstraint::new at line 70 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 27µs/call
# spent 24µs within Class::MOP::Instance::associated_metaclass which was called 6 times, avg 4µs/call:
# 6 times (24µs+0s) at line 71 of /usr/local/lib/perl/5.10.0/Class/MOP/Instance.pm, avg 4µs/call
# spent 165µs within Moose::Meta::TypeConstraint::hand_optimized_type_constraint which was called 30 times, avg 6µs/call:
# 23 times (107µs+0s) by Moose::Meta::TypeConstraint::_compile_hand_optimized_type_constraint at line 211 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 5µs/call
# 7 times (58µs+0s) by Moose::Meta::TypeConstraint::Class::_create_hand_optimized_type_constraint at line 39 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Class.pm, avg 8µs/call
# spent 1.02ms within Class::MOP::Mixin::AttributeCore::has_accessor which was called 191 times, avg 5µs/call:
# 191 times (1.02ms+0s) by Class::MOP::Attribute::install_accessors at line 356 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 130µs within Moose::Meta::Mixin::AttributeCore::has_trigger which was called 26 times, avg 5µs/call:
# 10 times (54µs+0s) by Moose::Meta::Method::Constructor::_generate_triggers at line 175 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# 8 times (46µs+0s) by Moose::Meta::Method::Accessor::_inline_get_old_value_for_trigger at line 259 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 6µs/call
# 8 times (29µs+0s) by Moose::Meta::Method::Accessor::_inline_trigger at line 270 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# spent 268µs (227+41) within Class::MOP::Instance::_class_name which was called 43 times, avg 6µs/call:
# 43 times (227µs+41µs) by Class::MOP::Instance::create_instance at line 77 of /usr/local/lib/perl/5.10.0/Class/MOP/Instance.pm, avg 6µs/call
# spent 42µs (14+27) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_meta_instance which was called 2 times, avg 21µs/call:
# 2 times (14µs+27µs) by Moose::Meta::Attribute::inline_set at line 587 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 21µs/call
# spent 221µs within Moose::Meta::Instance::_new which was called 10 times, avg 22µs/call:
# 10 times (221µs+0s) by Class::MOP::Instance::new at line 39 of /usr/local/lib/perl/5.10.0/Class/MOP/Instance.pm, avg 22µs/call
# spent 105µs within Moose::Meta::Mixin::AttributeCore::is_required which was called 18 times, avg 6µs/call:
# 10 times (54µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 207 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# 8 times (51µs+0s) by Moose::Meta::Method::Accessor::_inline_check_required at line 183 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 6µs/call
# spent 32.0ms (18.8+13.2) within MARC::Moose::Record::new which was called 1000 times, avg 32µs/call:
# 1000 times (18.8ms+13.2ms) by MARC::Moose::Parser::Marcxml::__ANON__[/home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm:62] at line 21 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm, avg 32µs/call
# spent 1.10ms within Class::MOP::Method::Accessor::associated_attribute which was called 293 times, avg 4µs/call:
# 52 times (214µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method at line 101 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 52 times (187µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method_inline at line 150 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 16 times (52µs+0s) by Moose::Meta::Method::Accessor::_value_needs_copy at line 116 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 3µs/call
# 15 times (59µs+0s) by Class::MOP::Method::Accessor::_generate_accessor_method at line 93 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 15 times (55µs+0s) by Class::MOP::Method::Accessor::_generate_accessor_method_inline at line 134 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 13 times (43µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method_inline at line 178 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 3µs/call
# 13 times (40µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method at line 117 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 3µs/call
# 11 times (41µs+0s) by Moose::Meta::Method::Accessor::_eval_environment at line 37 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 11 times (36µs+0s) by Moose::Meta::Method::Accessor::_inline_get at line 277 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 3µs/call
# 10 times (49µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 122 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 5µs/call
# 10 times (37µs+0s) by Moose::Meta::Method::Accessor::_inline_auto_deref at line 288 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 10 times (35µs+0s) by Moose::Meta::Method::Accessor::_inline_check_lazy at line 193 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 3µs/call
# 8 times (39µs+0s) by Moose::Meta::Method::Accessor::_inline_trigger at line 269 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 5µs/call
# 8 times (35µs+0s) by Moose::Meta::Method::Accessor::_inline_check_constraint at line 161 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 8 times (30µs+0s) by Moose::Meta::Method::Accessor::_inline_check_coercion at line 173 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 8 times (29µs+0s) by Moose::Meta::Method::Accessor::_inline_get_old_value_for_trigger at line 258 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 8 times (27µs+0s) by Moose::Meta::Method::Accessor::_inline_store at line 252 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 3µs/call
# 8 times (27µs+0s) by Moose::Meta::Method::Accessor::_inline_check_required at line 181 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 3µs/call
# 7 times (29µs+0s) by Moose::Meta::Method::Accessor::_generate_accessor_method_inline at line 54 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 3 times (12µs+0s) by Moose::Meta::Method::Accessor::_generate_reader_method_inline at line 97 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 3 times (11µs+0s) by Class::MOP::Method::Accessor::_generate_writer_method_inline at line 165 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# 3 times (11µs+0s) by Class::MOP::Method::Accessor::_generate_writer_method at line 110 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# once (5µs+0s) by Moose::Meta::Method::Accessor::_generate_writer_method_inline at line 77 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm
# spent 1.38ms within Class::MOP::Mixin::HasAttributes::attribute_metaclass which was called 266 times, avg 5µs/call:
# 66 times (299µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 21 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 5µs/call
# 52 times (303µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 52 times (269µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 33 times (140µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 22 times (106µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 11 times (91µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (74µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 11 times (47µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 8 times (49µs+0s) by Moose::Meta::Class::_process_new_attribute at line 431 of /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm, avg 6µs/call
# spent 867ms (9.59+858) within MARC::Moose::Parser::Marcxml::parse which was called 1000 times, avg 867µs/call:
# 1000 times (9.59ms+858ms) by main::parse_with_marc_moose at line 83 of /home/tamil/util/marc-moose/t/test-parsing, avg 867µs/call
# spent 36µs within Class::MOP::Attribute::associated_methods which was called 8 times, avg 4µs/call:
# 8 times (36µs+0s) by Moose::Meta::Attribute::_check_associated_methods at line 539 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 4µs/call
# spent 28µs (8+20) within MARC::Moose::Field::meta which was called
# once (8µs+20µs) at line 16 of /home/tamil/util/marc-moose/lib/MARC/Moose/Field.pm
# spent 118µs within Class::MOP::Method::Generated::definition_context which was called 25 times, avg 5µs/call:
# 25 times (118µs+0s) by Class::MOP::Method::Generated::_add_line_directive at line 94 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Generated.pm, avg 5µs/call
# spent 26µs (8+18) within MARC::Moose::Parser::Marcxml::meta which was called
# once (8µs+18µs) at line 64 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm
# spent 249µs within Moose::Meta::TypeConstraint::_compiled_type_constraint which was called 42 times, avg 6µs/call:
# 29 times (167µs+0s) by Moose::Meta::TypeConstraint::compile_type_constraint at line 183 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 6µs/call
# 7 times (48µs+0s) by Moose::Meta::Method::Accessor::_eval_environment at line 41 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 7µs/call
# 6 times (34µs+0s) by Moose::Meta::Method::Constructor::_initialize_body at line 94 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 6µs/call
# spent 38µs (30+8) within MARC::Moose::Parser::Marcxml::new which was called
# once (30µs+8µs) by main::parse_with_marc_moose at line 81 of /home/tamil/util/marc-moose/t/test-parsing
# spent 184µs within Class::MOP::Mixin::AttributeCore::accessor which was called 38 times, avg 5µs/call:
# 38 times (184µs+0s) by Class::MOP::Attribute::install_accessors at line 356 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 24µs (9+14) within MARC::Moose::Parser::MarcxmlSax::meta which was called
# once (9µs+14µs) at line 43 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/MarcxmlSax.pm
# spent 9.75ms (6.51+3.24) within MARC::Moose::Record::fields which was called 1000 times, avg 10µs/call:
# 1000 times (6.51ms+3.24ms) by MARC::Moose::Parser::Marcxml::__ANON__[/home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm:62] at line 59 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm, avg 10µs/call
# spent 787µs within Moose::Meta::Method::Accessor::_new which was called 9 times, avg 87µs/call:
# 9 times (787µs+0s) by Class::MOP::Method::Accessor::new at line 32 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 87µs/call
# spent 175µs (62+113) within Moose::Meta::Mixin::AttributeCore::has_handles which was called 10 times, avg 17µs/call:
# 10 times (62µs+113µs) by Moose::Meta::Attribute::install_accessors at line 533 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 17µs/call
# spent 3.29ms (1.05+2.24) within Class::MOP::Class::Immutable::Class::MOP::Class::_method_map which was called 229 times, avg 14µs/call:
# 216 times (975µs+2.12ms) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 136 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 14µs/call
# 13 times (76µs+112µs) by Class::MOP::Mixin::HasMethods::get_method at line 126 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 14µs/call
# spent 50µs (21+30) within Moose::Meta::Role::Application::ToInstance::meta which was called 2 times, avg 25µs/call:
# once (10µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# once (10µs+15µs) at line 18 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application/ToInstance.pm
# spent 240µs (107+133) within Class::MOP::Package::namespace which was called 16 times, avg 15µs/call:
# 9 times (54µs+76µs) by Class::MOP::Mixin::HasMethods::_get_local_methods at line 201 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 14µs/call
# 7 times (53µs+57µs) by Class::MOP::Mixin::HasMethods::get_method_list at line 182 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 16µs/call
# spent 513µs within Moose::Meta::TypeConstraint::Registry::type_constraints which was called 127 times, avg 4µs/call:
# 56 times (203µs+0s) by Moose::Meta::TypeConstraint::Registry::get_type_constraint at line 41 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm, avg 4µs/call
# 41 times (198µs+0s) by Moose::Meta::TypeConstraint::Registry::has_type_constraint at line 35 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm, avg 5µs/call
# 29 times (108µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 52 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm, avg 4µs/call
# once (5µs+0s) by Moose::Util::TypeConstraints::list_all_type_constraints at line 62 of /usr/local/lib/perl/5.10.0/Moose/Util/TypeConstraints.pm
# spent 182µs within Class::MOP::Mixin::AttributeCore::predicate which was called 36 times, avg 5µs/call:
# 36 times (182µs+0s) by Class::MOP::Attribute::install_accessors at line 368 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 87µs within Moose::Meta::Class::immutable_trait which was called 14 times, avg 6µs/call:
# 7 times (49µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 7 times (38µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1187 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# spent 296µs within Class::MOP::Method::associated_metaclass which was called 71 times, avg 4µs/call:
# 14 times (57µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 34 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 4µs/call
# 8 times (32µs+0s) by Class::MOP::Method::Inlined::_uninlined_body at line 20 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 4µs/call
# 7 times (38µs+0s) by Moose::Meta::Method::Constructor::_initialize_body at line 62 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# 7 times (32µs+0s) by Class::MOP::Method::Constructor::_attributes at line 77 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 5µs/call
# 7 times (28µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 81 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Destructor.pm, avg 4µs/call
# 7 times (28µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 88 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Destructor.pm, avg 4µs/call
# 7 times (28µs+0s) by Moose::Meta::Method::Constructor::_generate_instance at line 131 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 7 times (27µs+0s) by Moose::Meta::Method::Constructor::_generate_BUILDARGS at line 145 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 7 times (26µs+0s) by Moose::Meta::Method::Constructor::_generate_BUILDALL at line 163 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# spent 106µs within Moose::Meta::Mixin::AttributeCore::has_type_constraint which was called 24 times, avg 4µs/call:
# 12 times (48µs+0s) by Moose::Meta::Method::Constructor::_generate_type_constraint_and_coercion at line 293 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 8 times (40µs+0s) by Moose::Meta::Method::Accessor::_inline_check_constraint at line 163 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 5µs/call
# 4 times (17µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 244 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# spent 906µs within Class::MOP::Mixin::AttributeCore::has_predicate which was called 191 times, avg 5µs/call:
# 191 times (906µs+0s) by Class::MOP::Attribute::install_accessors at line 368 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 201µs within Moose::Meta::TypeConstraint::name which was called 42 times, avg 5µs/call:
# 29 times (124µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 52 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm, avg 4µs/call
# 7 times (42µs+0s) by Moose::Util::TypeConstraints::register_type_constraint at line 267 of /usr/local/lib/perl/5.10.0/Moose/Util/TypeConstraints.pm, avg 6µs/call
# 5 times (25µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype or Moose::Meta::TypeConstraint::__ANON__[/usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm:268] at line 268 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 5µs/call
# once (10µs+0s) by Moose::Meta::TypeConstraint::_compile_type or Moose::Meta::TypeConstraint::__ANON__[/usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm:281] at line 281 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm
# spent 2.79ms within Class::MOP::Mixin::AttributeCore::init_arg which was called 546 times, avg 5µs/call:
# 265 times (1.55ms+0s) by Class::MOP::Method::Constructor::_generate_slot_initializer at line 142 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 6µs/call
# 252 times (1.14ms+0s) by Moose::Meta::Attribute::new at line 62 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 5µs/call
# 13 times (53µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 207 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 6 times (23µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 238 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 6 times (21µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 214 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# 4 times (14µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 212 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# spent 646µs within Class::MOP::Class::destructor_class which was called 166 times, avg 4µs/call:
# 51 times (203µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 41 times (178µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 41 times (149µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 33 times (117µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 49µs (17+33) within Moose::Meta::Role::meta which was called 2 times, avg 25µs/call:
# once (9µs+17µs) at line 43 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role.pm
# once (8µs+16µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 34µs (14+20) within Moose::Meta::TypeConstraint::Parameterizable::meta which was called
# once (14µs+20µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Parameterizable.pm
# spent 709µs (38+671) within Moose::Meta::Role::Method::Required::meta which was called 4 times, avg 177µs/call:
# 2 times (12µs+31µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm, avg 22µs/call
# once (10µs+621µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Method/Conflicting.pm
# once (16µs+19µs) at line 20 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Method/Required.pm
# spent 3.45ms (421µs+3.02) within Moose::Meta::Method::_new which was called 13 times, avg 265µs/call:
# 13 times (421µs+3.02ms) by Class::MOP::Method::wrap at line 44 of /usr/local/lib/perl/5.10.0/Class/MOP/Method.pm, avg 265µs/call
# spent 94µs within Moose::Meta::TypeConstraint::_has_compiled_type_constraint which was called 22 times, avg 4µs/call:
# 22 times (94µs+0s) by Moose::Meta::TypeConstraint::new at line 71 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 4µs/call
# spent 32µs (13+19) within Moose::Meta::TypeConstraint::Role::meta which was called
# once (13µs+19µs) at line 16 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Role.pm
# spent 1.09ms within Class::MOP::Mixin::AttributeCore::definition_context which was called 234 times, avg 5µs/call:
# 234 times (1.09ms+0s) by Class::MOP::Attribute::_process_accessors at line 304 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 27µs (10+18) within MARC::Moose::Parser::meta which was called
# once (10µs+18µs) at line 30 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser.pm
# spent 34µs (11+23) within Moose::Meta::TypeConstraint::Class::meta which was called
# once (11µs+23µs) at line 16 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Class.pm
# spent 40µs within Class::MOP::Mixin::AttributeCore::writer which was called 9 times, avg 4µs/call:
# 9 times (40µs+0s) by Class::MOP::Attribute::install_accessors at line 364 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# spent 43µs within Moose::Meta::TypeConstraint::Class::class which was called 7 times, avg 6µs/call:
# 7 times (43µs+0s) by Moose::Meta::TypeConstraint::Class::_create_hand_optimized_type_constraint at line 34 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Class.pm, avg 6µs/call
# spent 183µs (107+76) within Moose::Meta::Mixin::AttributeCore::type_constraint which was called 21 times, avg 9µs/call:
# 11 times (63µs+76µs) by Moose::Meta::Method::Accessor::_eval_environment at line 38 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 13µs/call
# 10 times (44µs+0s) by Moose::Meta::Method::Constructor::_initialize_body at line 90 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# spent 30µs (10+20) within MARC::Moose::Record::meta which was called
# once (10µs+20µs) at line 104 of /home/tamil/util/marc-moose/lib/MARC/Moose/Record.pm
# spent 85µs (33+53) within Moose::Meta::Role::Application::meta which was called 3 times, avg 28µs/call:
# once (14µs+25µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application.pm
# once (12µs+13µs) at line 21 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application.pm
# once (7µs+14µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 116µs (46+70) within Class::MOP::Class::Immutable::Moose::Meta::Class::is_immutable which was called 8 times, avg 15µs/call:
# 8 times (46µs+70µs) by Class::MOP::Class::_real_ref_name at line 122 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 15µs/call
# spent 689µs within Class::MOP::Method::Accessor::accessor_type which was called 177 times, avg 4µs/call:
# 177 times (689µs+0s) by Class::MOP::Method::Accessor::_initialize_body at line 80 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Accessor.pm, avg 4µs/call
# spent 423µs within Moose::Meta::Method::Overridden::_new which was called 4 times, avg 106µs/call:
# 4 times (423µs+0s) by Class::MOP::Method::wrap at line 44 of /usr/local/lib/perl/5.10.0/Class/MOP/Method.pm, avg 106µs/call
# spent 2.67ms (281µs+2.39) within Class::MOP::Class::Immutable::Class::MOP::Class::get_all_attributes which was called 47 times, avg 57µs/call:
# 27 times (165µs+678µs) by Class::MOP::Class::_construct_instance at line 597 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 31µs/call
# 12 times (60µs+1.37ms) by Class::MOP::Class::_create_meta_instance at line 624 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 119µs/call
# 8 times (56µs+337µs) by Moose::Meta::Attribute::new at line 63 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 49µs/call
# spent 282µs (118+164) within Class::MOP::Class::Immutable::Class::MOP::Class::is_immutable which was called 20 times, avg 14µs/call:
# 20 times (118µs+164µs) by Class::MOP::Class::_real_ref_name at line 122 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 14µs/call
# spent 340µs within Moose::Meta::Class::error_class which was called 77 times, avg 4µs/call:
# 22 times (82µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (67µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 11 times (54µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 11 times (50µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 11 times (45µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (42µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 567µs within Class::MOP::Class::immutable_trait which was called 102 times, avg 6µs/call:
# 51 times (358µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 51 times (209µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1187 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 1.04ms within Class::MOP::Mixin::AttributeCore::has_writer which was called 191 times, avg 5µs/call:
# 191 times (1.04ms+0s) by Class::MOP::Attribute::install_accessors at line 364 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 22µs (8+15) within Moose::Meta::TypeCoercion::Union::meta which was called
# once (8µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 75µs (27+47) within Moose::Meta::Role::Application::ToClass::meta which was called 3 times, avg 25µs/call:
# once (13µs+19µs) at line 16 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application/ToClass.pm
# once (8µs+14µs) at line 20 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Application/ToClass.pm
# once (7µs+14µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 10.7ms (5.76+4.91) within MARC::Moose::Record::_leader which was called 1000 times, avg 11µs/call:
# 1000 times (5.76ms+4.91ms) by MARC::Moose::Parser::Marcxml::__ANON__[/home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm:62] at line 29 of /home/tamil/util/marc-moose/lib/MARC/Moose/Parser/Marcxml.pm, avg 11µs/call
# spent 225µs within Class::MOP::Method::Inlined::_expected_method_class which was called 45 times, avg 5µs/call:
# 45 times (225µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 53 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 5µs/call
# spent 4.15ms (368µs+3.78) within Class::MOP::Mixin::meta which was called 41 times, avg 101µs/call:
# 4 times (20µs+52µs) at line 723 of /usr/local/lib/perl/5.10.0/Class/MOP.pm, avg 18µs/call
# once (13µs+1.03ms) at line 192 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (10µs+658µs) at line 11 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (10µs+629µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Attribute.pm
# once (12µs+498µs) at line 234 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+473µs) at line 399 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (15µs+15µs) at line 23 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (12µs+17µs) at line 35 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (11µs+17µs) at line 15 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (12µs+16µs) at line 16 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (8µs+19µs) at line 12 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (10µs+16µs) at line 21 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Attribute.pm
# once (9µs+16µs) at line 268 of /usr/local/lib/perl/5.10.0/Moose.pm
# once (7µs+17µs) at line 29 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (7µs+17µs) at line 195 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (11µs+13µs) at line 42 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (13µs+11µs) at line 677 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+17µs) at line 33 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Attribute.pm
# once (8µs+16µs) at line 27 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Attribute.pm
# once (11µs+12µs) at line 19 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (12µs+12µs) at line 20 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (12µs+11µs) at line 420 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+16µs) at line 13 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (7µs+16µs) at line 207 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (11µs+12µs) at line 21 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (7µs+16µs) at line 461 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (12µs+11µs) at line 454 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (10µs+12µs) at line 17 of /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
# once (7µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# once (8µs+12µs) at line 447 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+11µs) at line 427 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (8µs+11µs) at line 475 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 413 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 237 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 440 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 434 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 482 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# once (7µs+11µs) at line 468 of /usr/local/lib/perl/5.10.0/Class/MOP.pm
# spent 1.28ms within Class::MOP::Mixin::AttributeCore::has_initializer which was called 302 times, avg 4µs/call:
# 286 times (1.21ms+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 148 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# 16 times (69µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_assignment at line 273 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 4µs/call
# spent 984µs within Class::MOP::Mixin::AttributeCore::has_reader which was called 191 times, avg 5µs/call:
# 191 times (984µs+0s) by Class::MOP::Attribute::install_accessors at line 360 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# spent 4.00ms within Class::MOP::Attribute::associated_class which was called 1025 times, avg 4µs/call:
# 357 times (1.40ms+0s) by Class::MOP::Attribute::inline_set at line 419 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# 191 times (980µs+0s) by Class::MOP::Attribute::install_accessors at line 354 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 5µs/call
# 177 times (578µs+0s) by Class::MOP::Attribute::_process_accessors or Class::MOP::Attribute::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm:342] at line 334 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 84 times (288µs+0s) by Class::MOP::Attribute::_process_accessors at line 322 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 78 times (273µs+0s) by Class::MOP::Attribute::inline_get at line 411 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 57 times (175µs+0s) by Class::MOP::Attribute::_process_accessors at line 312 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 26 times (106µs+0s) by Moose::Meta::Attribute::inline_set at line 587 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 4µs/call
# 21 times (74µs+0s) by Moose::Meta::Attribute::_process_accessors at line 566 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 4µs/call
# 13 times (41µs+0s) by Class::MOP::Attribute::inline_has at line 428 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 11 times (40µs+0s) by Moose::Meta::Attribute::_process_accessors at line 557 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 4µs/call
# 10 times (41µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 122 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# spent 6.71ms (1.12+5.58) within Class::MOP::Class::Immutable::Class::MOP::Class::get_meta_instance which was called 265 times, avg 25µs/call:
# 231 times (926µs+5.18ms) by Class::MOP::Attribute::inline_set at line 419 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 26µs/call
# 27 times (158µs+324µs) by Class::MOP::Class::_construct_instance at line 577 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 18µs/call
# 5 times (22µs+54µs) by Class::MOP::Attribute::get_raw_value at line 274 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 15µs/call
# once (12µs+18µs) by Moose::Meta::Attribute::inline_set at line 587 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
# once (7µs+10µs) by Class::MOP::Attribute::has_value at line 282 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm
# spent 54µs within Moose::Meta::TypeConstraint::parent which was called 14 times, avg 4µs/call:
# 9 times (30µs+0s) by Moose::Meta::TypeConstraint::_collect_all_parents at line 292 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 3µs/call
# 5 times (24µs+0s) by Moose::Meta::TypeConstraint::_collect_all_parents at line 289 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 5µs/call
# spent 756µs within Class::MOP::Class::constructor_class which was called 166 times, avg 5µs/call:
# 51 times (231µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 41 times (223µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# 41 times (167µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 33 times (135µs+0s) by Class::MOP::Class::_check_metaclass_compatibility or Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:222] at line 220 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# spent 73µs within Moose::Meta::TypeConstraint::constraint which was called 15 times, avg 5µs/call:
# 9 times (43µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 236 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 5µs/call
# 6 times (29µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 194 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 5µs/call
# spent 524µs within Moose::Meta::Class::destructor_class which was called 84 times, avg 6µs/call:
# 22 times (87µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 301 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 11 times (95µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 230 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 9µs/call
# 11 times (87µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 361 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 8µs/call
# 11 times (76µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 358 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 11 times (75µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 296 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 7µs/call
# 11 times (69µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 299 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 6µs/call
# 7 times (34µs+0s) by Class::MOP::Class::_immutable_options at line 1132 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 5µs/call
# spent 3.93ms within Class::MOP::Mixin::HasAttributes::_attribute_map which was called 1007 times, avg 4µs/call:
# 422 times (1.66ms+0s) by Class::MOP::Class::get_all_attributes at line 804 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 181 times (786µs+0s) by Class::MOP::Mixin::HasAttributes::has_attribute at line 57 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 4µs/call
# 126 times (486µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute at line 66 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 4µs/call
# 123 times (413µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 35 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 3µs/call
# 123 times (393µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 38 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 3µs/call
# 32 times (195µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute_list at line 85 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 6µs/call
# spent 109µs (90+19) within MARC::Moose::Field::Control::meta which was called
# once (90µs+19µs) at line 17 of /home/tamil/util/marc-moose/lib/MARC/Moose/Field/Control.pm
# spent 183µs within Moose::Meta::Mixin::AttributeCore::should_coerce which was called 35 times, avg 5µs/call:
# 16 times (94µs+0s) by Moose::Meta::Method::Accessor::_value_needs_copy at line 117 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 6µs/call
# 10 times (52µs+0s) by Moose::Meta::Method::Constructor::_generate_type_constraint_and_coercion at line 296 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 5µs/call
# 8 times (32µs+0s) by Moose::Meta::Method::Accessor::_inline_check_coercion at line 175 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# once (6µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 245 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm
# spent 111µs (40+71) within Moose::Meta::Role::Composite::meta which was called 4 times, avg 28µs/call:
# once (13µs+22µs) at line 21 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Composite.pm
# once (12µs+18µs) at line 33 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Composite.pm
# once (7µs+17µs) at line 31 of /usr/local/lib/perl/5.10.0/Moose/Meta/Role/Composite.pm
# once (7µs+15µs) at line 236 of /usr/local/lib/perl/5.10.0/Moose.pm
# spent 20µs (8+12) within MARC::Moose::Field::Std::meta which was called
# once (8µs+12µs) at line 39 of /home/tamil/util/marc-moose/lib/MARC/Moose/Field/Std.pm
# spent 23µs within Moose::Meta::TypeConstraint::has_parent which was called 6 times, avg 4µs/call:
# 6 times (23µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 202 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm, avg 4µs/call
# spent 221µs (134+87) within Moose::Meta::Mixin::AttributeCore::is_weak_ref which was called 26 times, avg 9µs/call:
# 26 times (134µs+87µs) by Moose::Meta::Attribute::inline_set at line 591 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 9µs/call
# spent 100µs within Class::MOP::Method::_set_original_method which was called 20 times, avg 5µs/call:
# 20 times (100µs+0s) by Class::MOP::Method::clone at line 135 of /usr/local/lib/perl/5.10.0/Class/MOP/Method.pm, avg 5µs/call
# spent 72µs (36+36) within Moose::Meta::TypeConstraint::Registry::meta which was called 2 times, avg 36µs/call:
# once (24µs+20µs) at line 16 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm
# once (12µs+17µs) at line 25 of /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint/Registry.pm
# spent 143µs (60+83) within Moose::Meta::Mixin::AttributeCore::should_auto_deref which was called 10 times, avg 14µs/call:
# 10 times (60µs+83µs) by Moose::Meta::Method::Accessor::_inline_auto_deref at line 290 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 14µs/call # spent 17.8ms making 397 calls to Package::Stash::add_package_symbol, avg 45µs/call
# spent 1.42ms making 397 calls to Class::MOP::Package::_package_stash, avg 4µs/call | |||
107 | } | |||
108 | ||||
109 | sub remove_package_glob { | |||
110 | my $self = shift; | |||
111 | $self->_package_stash->remove_package_glob(@_); | |||
112 | } | |||
113 | ||||
114 | # ... these functions deal with stuff on the namespace level | |||
115 | ||||
116 | # spent 689µs (103+586) within Class::MOP::Package::has_package_symbol which was called 14 times, avg 49µs/call:
# 10 times (75µs+395µs) by Moose::Meta::Attribute::_process_accessors at line 566 of /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm, avg 47µs/call
# 4 times (27µs+191µs) by Moose::Exporter::build_import_methods at line 85 of /usr/local/lib/perl/5.10.0/Moose/Exporter.pm, avg 55µs/call | |||
117 | 28 | 127µs | 5µs | my $self = shift; |
118 | $self->_package_stash->has_package_symbol(@_); # spent 491µs making 14 calls to Package::Stash::has_package_symbol, avg 35µs/call
# spent 96µs making 14 calls to Class::MOP::Package::_package_stash, avg 7µs/call | |||
119 | } | |||
120 | ||||
121 | # spent 25.2ms (4.30+20.9) within Class::MOP::Package::get_package_symbol which was called 813 times, avg 31µs/call:
# 813 times (4.30ms+20.9ms) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 138 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 31µs/call | |||
122 | 1626 | 5.60ms | 3µs | my $self = shift; |
123 | $self->_package_stash->get_package_symbol(@_); # spent 18.1ms making 813 calls to Package::Stash::get_package_symbol, avg 22µs/call
# spent 2.87ms making 813 calls to Class::MOP::Package::_package_stash, avg 4µs/call | |||
124 | } | |||
125 | ||||
126 | # spent 6.17ms (612µs+5.56) within Class::MOP::Package::get_or_add_package_symbol which was called 104 times, avg 59µs/call:
# 104 times (612µs+5.56ms) at line 814 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 59µs/call | |||
127 | 208 | 895µs | 4µs | my $self = shift; |
128 | $self->_package_stash->get_or_add_package_symbol(@_); # spent 3.63ms making 104 calls to Package::Stash::get_or_add_package_symbol, avg 35µs/call
# spent 1.93ms making 104 calls to Class::MOP::Package::_package_stash, avg 19µs/call | |||
129 | } | |||
130 | ||||
131 | sub remove_package_symbol { | |||
132 | my $self = shift; | |||
133 | $self->_package_stash->remove_package_symbol(@_); | |||
134 | } | |||
135 | ||||
136 | sub list_all_package_symbols { | |||
137 | my $self = shift; | |||
138 | $self->_package_stash->list_all_package_symbols(@_); | |||
139 | } | |||
140 | ||||
141 | 1 | 4µs | 4µs | 1; |
142 | ||||
143 | __END__ | |||
144 | ||||
145 | =pod | |||
146 | ||||
147 | =head1 NAME | |||
148 | ||||
149 | Class::MOP::Package - Package Meta Object | |||
150 | ||||
151 | =head1 DESCRIPTION | |||
152 | ||||
153 | The Package Protocol provides an abstraction of a Perl 5 package. A | |||
154 | package is basically namespace, and this module provides methods for | |||
155 | looking at and changing that namespace's symbol table. | |||
156 | ||||
157 | =head1 METHODS | |||
158 | ||||
159 | =over 4 | |||
160 | ||||
161 | =item B<< Class::MOP::Package->initialize($package_name) >> | |||
162 | ||||
163 | This method creates a new C<Class::MOP::Package> instance which | |||
164 | represents specified package. If an existing metaclass object exists | |||
165 | for the package, that will be returned instead. | |||
166 | ||||
167 | =item B<< Class::MOP::Package->reinitialize($package) >> | |||
168 | ||||
169 | This method forcibly removes any existing metaclass for the package | |||
170 | before calling C<initialize>. In contrast to C<initialize>, you may | |||
171 | also pass an existing C<Class::MOP::Package> instance instead of just | |||
172 | a package name as C<$package>. | |||
173 | ||||
174 | Do not call this unless you know what you are doing. | |||
175 | ||||
176 | =item B<< $metapackage->name >> | |||
177 | ||||
178 | This is returns the package's name, as passed to the constructor. | |||
179 | ||||
180 | =item B<< $metapackage->namespace >> | |||
181 | ||||
182 | This returns a hash reference to the package's symbol table. The keys | |||
183 | are symbol names and the values are typeglob references. | |||
184 | ||||
185 | =item B<< $metapackage->add_package_symbol($variable_name, $initial_value) >> | |||
186 | ||||
187 | This method accepts a variable name and an optional initial value. The | |||
188 | C<$variable_name> must contain a leading sigil. | |||
189 | ||||
190 | This method creates the variable in the package's symbol table, and | |||
191 | sets it to the initial value if one was provided. | |||
192 | ||||
193 | =item B<< $metapackage->get_package_symbol($variable_name) >> | |||
194 | ||||
195 | Given a variable name, this method returns the variable as a reference | |||
196 | or undef if it does not exist. The C<$variable_name> must contain a | |||
197 | leading sigil. | |||
198 | ||||
199 | =item B<< $metapackage->get_or_add_package_symbol($variable_name) >> | |||
200 | ||||
201 | Given a variable name, this method returns the variable as a reference. | |||
202 | If it does not exist, a default value will be generated if possible. The | |||
203 | C<$variable_name> must contain a leading sigil. | |||
204 | ||||
205 | =item B<< $metapackage->has_package_symbol($variable_name) >> | |||
206 | ||||
207 | Returns true if there is a package variable defined for | |||
208 | C<$variable_name>. The C<$variable_name> must contain a leading sigil. | |||
209 | ||||
210 | =item B<< $metapackage->remove_package_symbol($variable_name) >> | |||
211 | ||||
212 | This will remove the package variable specified C<$variable_name>. The | |||
213 | C<$variable_name> must contain a leading sigil. | |||
214 | ||||
215 | =item B<< $metapackage->remove_package_glob($glob_name) >> | |||
216 | ||||
217 | Given the name of a glob, this will remove that glob from the | |||
218 | package's symbol table. Glob names do not include a sigil. Removing | |||
219 | the glob removes all variables and subroutines with the specified | |||
220 | name. | |||
221 | ||||
222 | =item B<< $metapackage->list_all_package_symbols($type_filter) >> | |||
223 | ||||
224 | This will list all the glob names associated with the current | |||
225 | package. These names do not have leading sigils. | |||
226 | ||||
227 | You can provide an optional type filter, which should be one of | |||
228 | 'SCALAR', 'ARRAY', 'HASH', or 'CODE'. | |||
229 | ||||
230 | =item B<< $metapackage->get_all_package_symbols($type_filter) >> | |||
231 | ||||
232 | This works much like C<list_all_package_symbols>, but it returns a | |||
233 | hash reference. The keys are glob names and the values are references | |||
234 | to the value for that name. | |||
235 | ||||
236 | =item B<< Class::MOP::Package->meta >> | |||
237 | ||||
238 | This will return a L<Class::MOP::Class> instance for this class. | |||
239 | ||||
240 | =back | |||
241 | ||||
242 | =head1 AUTHORS | |||
243 | ||||
244 | Stevan Little E<lt>stevan@iinteractive.comE<gt> | |||
245 | ||||
246 | =head1 COPYRIGHT AND LICENSE | |||
247 | ||||
248 | Copyright 2006-2010 by Infinity Interactive, Inc. | |||
249 | ||||
250 | L<http://www.iinteractive.com> | |||
251 | ||||
252 | This library is free software; you can redistribute it and/or modify | |||
253 | it under the same terms as Perl itself. | |||
254 | ||||
255 | =cut | |||
# spent 1.83ms within Class::MOP::Method::body which was called 690 times, avg 3µs/call:
# 370 times (924µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 66 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 163 times (505µs+0s) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 150 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 3µs/call
# 46 times (125µs+0s) by Class::MOP::MiniTrait::apply at line 21 of /usr/local/lib/perl/5.10.0/Class/MOP/MiniTrait.pm, avg 3µs/call
# 46 times (119µs+0s) by Class::MOP::Method::Wrapped::add_around_modifier at line 168 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm, avg 3µs/call
# 46 times (100µs+0s) by Class::MOP::Method::Wrapped::wrap at line 77 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm, avg 2µs/call
# 8 times (20µs+0s) by Class::MOP::Method::Inlined::_uninlined_body at line 28 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 2µs/call
# 7 times (20µs+0s) by Moose::Meta::Method::Constructor::_generate_BUILDARGS at line 147 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# 4 times (16µs+0s) by Moose::Meta::Method::Overridden::new at line 28 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Overridden.pm, avg 4µs/call | ||||
# spent 895µs within Class::MOP::Method::package_name which was called 370 times, avg 2µs/call:
# 370 times (895µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 67 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 2µs/call | ||||
# spent 4.00ms within Class::MOP::Mixin::AttributeCore::name which was called 1349 times, avg 3µs/call:
# 441 times (1.41ms+0s) by Class::MOP::Attribute::slots at line 226 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 357 times (855µs+0s) by Class::MOP::Attribute::inline_set at line 419 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 2µs/call
# 286 times (920µs+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 146 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 123 times (384µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 30 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasAttributes.pm, avg 3µs/call
# 78 times (216µs+0s) by Class::MOP::Attribute::inline_get at line 411 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 13 times (35µs+0s) by Class::MOP::Attribute::inline_has at line 428 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 11 times (31µs+0s) by Moose::Meta::Method::Constructor::_generate_type_constraint_check at line 321 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# 10 times (35µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 203 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# 10 times (32µs+0s) by Class::MOP::Attribute::_process_accessors or Class::MOP::Attribute::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm:342] at line 327 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 8 times (32µs+0s) by Class::MOP::Attribute::get_raw_value at line 274 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# 6 times (27µs+0s) by Moose::Meta::Method::Accessor::_inline_check_constraint at line 165 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm, avg 4µs/call
# 3 times (8µs+0s) by Moose::Meta::Method::Constructor::_generate_slot_initializer at line 207 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# 2 times (8µs+0s) by Class::MOP::Attribute::has_value at line 282 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 4µs/call
# once (5µs+0s) by Moose::Meta::Method::Accessor::_inline_check_required at line 185 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Accessor.pm | ||||
# spent 114µs within Class::MOP::Package::get_all_package_symbols which was called 7 times, avg 16µs/call:
# 7 times (114µs+0s) by namespace::autoclean::import or namespace::autoclean::__ANON__[/usr/local/share/perl/5.10.0/namespace/autoclean.pm:57] at line 55 of /usr/local/share/perl/5.10.0/namespace/autoclean.pm, avg 16µs/call | ||||
# spent 4.69ms within Class::MOP::Package::name which was called 1679 times, avg 3µs/call:
# 393 times (1.12ms+0s) by Class::MOP::Mixin::HasMethods::add_method at line 62 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 3µs/call
# 347 times (839µs+0s) by Class::MOP::Class::linearized_isa at line 866 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 2µs/call
# 178 times (430µs+0s) by Class::MOP::Mixin::HasMethods::_code_is_mine at line 102 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 177 times (591µs+0s) by Class::MOP::Attribute::_process_accessors or Class::MOP::Attribute::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm:342] at line 334 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 114 times (291µs+0s) by Class::MOP::Class::is_anon_class at line 442 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 3µs/call
# 73 times (238µs+0s) by Class::MOP::Package::_package_stash at line 94 of /usr/local/lib/perl/5.10.0/Class/MOP/Package.pm, avg 3µs/call
# 64 times (155µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 51 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 57 times (159µs+0s) by Class::MOP::Attribute::_process_accessors at line 312 of /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm, avg 3µs/call
# 46 times (113µs+0s) by Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm:935] at line 921 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 2µs/call
# 45 times (183µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 35 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Inlined.pm, avg 4µs/call
# 38 times (131µs+0s) by Class::MOP::Class::_inline_constructor at line 1298 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 3µs/call
# 35 times (105µs+0s) by Class::MOP::Class::new_object at line 569 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 3µs/call
# 31 times (81µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 108 of /usr/local/lib/perl/5.10.0/Class/MOP/Method/Constructor.pm, avg 3µs/call
# 31 times (77µs+0s) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 30 of /usr/local/lib/perl/5.10.0/Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 13 times (50µs+0s) at line 825 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 4µs/call
# 7 times (37µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 88 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Destructor.pm, avg 5µs/call
# 7 times (23µs+0s) by Class::MOP::Class::_inline_destructor at line 1332 of /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm, avg 3µs/call
# 7 times (19µs+0s) by Moose::Meta::Method::Constructor::_initialize_body at line 62 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Constructor.pm, avg 3µs/call
# 6 times (17µs+0s) at line 71 of /usr/local/lib/perl/5.10.0/Class/MOP/Instance.pm, avg 3µs/call
# 4 times (15µs+0s) by Moose::Meta::Method::Overridden::new at line 19 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Overridden.pm, avg 4µs/call
# 4 times (14µs+0s) by Moose::Meta::Method::Overridden::new at line 43 of /usr/local/lib/perl/5.10.0/Moose/Meta/Method/Overridden.pm, avg 4µs/call
# 2 times (6µs+0s) by Class::MOP::Module::_instantiate_module at line 59 of /usr/local/lib/perl/5.10.0/Class/MOP/Module.pm, avg 3µs/call |