← Index
Performance Profile   « block view • line view • sub view »
For t/test-parsing
  Run on Sun Nov 14 09:49:57 2010
Reported on Sun Nov 14 09:50:11 2010

File /usr/local/lib/perl/5.10.0/Class/MOP/Package.pm
Statements Executed 4062
Total Time 0.0141732 seconds
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1100011245ms394msMARC::Moose::Field::Std::::new MARC::Moose::Field::Std::new
40001164.3ms89.4msMARC::Moose::Field::Control::::new MARC::Moose::Field::Control::new
10001118.8ms32.0msMARC::Moose::Record::::new MARC::Moose::Record::new
1000119.59ms867msMARC::Moose::Parser::Marcxml::::parse MARC::Moose::Parser::Marcxml::parse
1000116.51ms9.75msMARC::Moose::Record::::fields MARC::Moose::Record::fields
1000115.76ms10.7msMARC::Moose::Record::::_leader MARC::Moose::Record::_leader
1344515.13ms6.39msClass::MOP::Package::::_package_stash Class::MOP::Package::_package_stash
168022124.69ms4.69msClass::MOP::Package::::name Class::MOP::Package::name(xsub)
813114.30ms25.2msClass::MOP::Package::::get_package_symbol Class::MOP::Package::get_package_symbol
13501454.00ms4.00msClass::MOP::Mixin::AttributeCore::::name Class::MOP::Mixin::AttributeCore::name(xsub)
10251134.00ms4.00msClass::MOP::Attribute::::associated_class Class::MOP::Attribute::associated_class
1007623.93ms3.93msClass::MOP::Mixin::HasAttributes::::_attribute_map Class::MOP::Mixin::HasAttributes::_attribute_map
546632.79ms2.79msClass::MOP::Mixin::AttributeCore::::init_arg Class::MOP::Mixin::AttributeCore::init_arg
397222.45ms21.7msClass::MOP::Package::::add_package_symbol Class::MOP::Package::add_package_symbol
691871.83ms1.83msClass::MOP::Method::::body Class::MOP::Method::body(xsub)
3441031.68ms1.68msClass::MOP::Class::::instance_metaclass Class::MOP::Class::instance_metaclass
104321.63ms21.3msClass::MOP::Class::::superclasses Class::MOP::Class::superclasses
266931.38ms1.38msClass::MOP::Mixin::HasAttributes::::attribute_metaclass Class::MOP::Mixin::HasAttributes::attribute_metaclass
302221.28ms1.28msClass::MOP::Mixin::AttributeCore::::has_initializer Class::MOP::Mixin::AttributeCore::has_initializer
256821.28ms1.28msClass::MOP::Mixin::HasMethods::::method_metaclass Class::MOP::Mixin::HasMethods::method_metaclass
1704761.18ms12.8msClass::MOP::Object::::meta Class::MOP::Object::meta
238811.14ms1.14msClass::MOP::Mixin::HasMethods::::wrapped_method_metaclass Class::MOP::Mixin::HasMethods::wrapped_method_metaclass
265531.12ms6.71msClass::MOP::Class::Immutable::Class::MOP::Class::::get_meta_instance Class::MOP::Class::Immutable::Class::MOP::Class::get_meta_instance
2932321.10ms1.10msClass::MOP::Method::Accessor::::associated_attribute Class::MOP::Method::Accessor::associated_attribute
234111.09ms1.09msClass::MOP::Mixin::AttributeCore::::definition_context Class::MOP::Mixin::AttributeCore::definition_context
229211.05ms3.29msClass::MOP::Class::Immutable::Class::MOP::Class::::_method_map Class::MOP::Class::Immutable::Class::MOP::Class::_method_map
191111.04ms1.04msClass::MOP::Mixin::AttributeCore::::has_writer Class::MOP::Mixin::AttributeCore::has_writer
284421.04ms1.04msClass::MOP::Mixin::AttributeCore::::has_default Class::MOP::Mixin::AttributeCore::has_default
191111.02ms1.02msClass::MOP::Mixin::AttributeCore::::has_accessor Class::MOP::Mixin::AttributeCore::has_accessor
185321.02ms1.02msClass::MOP::Mixin::AttributeCore::::has_builder Class::MOP::Mixin::AttributeCore::has_builder
19111984µs984µsClass::MOP::Mixin::AttributeCore::::has_reader Class::MOP::Mixin::AttributeCore::has_reader
19111906µs906µsClass::MOP::Mixin::AttributeCore::::has_predicate Class::MOP::Mixin::AttributeCore::has_predicate
37112895µs895µsClass::MOP::Method::::package_name Class::MOP::Method::package_name(xsub)
19111824µs824µsClass::MOP::Mixin::AttributeCore::::has_clearer Class::MOP::Mixin::AttributeCore::has_clearer
20822793µs793µsClass::MOP::Method::Generated::::is_inline Class::MOP::Method::Generated::is_inline
911787µs787µsMoose::Meta::Method::Accessor::::_new Moose::Meta::Method::Accessor::_new
16641756µs756µsClass::MOP::Class::::constructor_class Class::MOP::Class::constructor_class
15111740µs740µsClass::MOP::Mixin::AttributeCore::::reader Class::MOP::Mixin::AttributeCore::reader
17711689µs689µsClass::MOP::Method::Accessor::::accessor_type Class::MOP::Method::Accessor::accessor_type
16641646µs646µsClass::MOP::Class::::destructor_class Class::MOP::Class::destructor_class
10411612µs6.17msClass::MOP::Package::::get_or_add_package_symbol Class::MOP::Package::get_or_add_package_symbol
10221567µs567µsClass::MOP::Class::::immutable_trait Class::MOP::Class::immutable_trait
8471532µs532µsMoose::Meta::Class::::constructor_class Moose::Meta::Class::constructor_class
8471524µs524µsMoose::Meta::Class::::destructor_class Moose::Meta::Class::destructor_class
12742513µs513µsMoose::Meta::TypeConstraint::Registry::::type_constraints Moose::Meta::TypeConstraint::Registry::type_constraints
12442492µs492µsClass::MOP::Method::Constructor::::associated_metaclass Class::MOP::Method::Constructor::associated_metaclass
12311477µs477µsClass::MOP::Mixin::AttributeCore::::_set_insertion_order Class::MOP::Mixin::AttributeCore::_set_insertion_order
1811473µs483µsMoose::Meta::TypeConstraint::::_new Moose::Meta::TypeConstraint::_new
711462µs505µsMoose::Meta::TypeConstraint::Class::::_new Moose::Meta::TypeConstraint::Class::_new
411423µs423µsMoose::Meta::Method::Overridden::::_new Moose::Meta::Method::Overridden::_new
1311421µs3.45msMoose::Meta::Method::::_new Moose::Meta::Method::_new
811382µs427µsMoose::Meta::Attribute::::_new Moose::Meta::Attribute::_new
41384368µs4.15msClass::MOP::Mixin::::meta Class::MOP::Mixin::meta
6921358µs1.45msClass::MOP::Class::Immutable::Class::MOP::Class::::linearized_isa Class::MOP::Class::Immutable::Class::MOP::Class::linearized_isa
7761340µs340µsMoose::Meta::Class::::error_class Moose::Meta::Class::error_class
7194296µs296µsClass::MOP::Method::::associated_metaclass Class::MOP::Method::associated_metaclass
4732281µs2.67msClass::MOP::Class::Immutable::Class::MOP::Class::::get_all_attributes Class::MOP::Class::Immutable::Class::MOP::Class::get_all_attributes
5811279µs279µsClass::MOP::Class::::constructor_name Class::MOP::Class::constructor_name
4233249µs249µsMoose::Meta::TypeConstraint::::_compiled_type_constraint Moose::Meta::TypeConstraint::_compiled_type_constraint
411234µs234µsMoose::Meta::TypeConstraint::Parameterizable::::_new Moose::Meta::TypeConstraint::Parameterizable::_new
4311227µs268µsClass::MOP::Instance::::_class_name Class::MOP::Instance::_class_name
4511225µs225µsClass::MOP::Method::Inlined::::_expected_method_class Class::MOP::Method::Inlined::_expected_method_class
1011221µs221µsMoose::Meta::Instance::::_new Moose::Meta::Instance::_new
4243201µs201µsMoose::Meta::TypeConstraint::::name Moose::Meta::TypeConstraint::name
3822196µs196µsClass::MOP::Method::Constructor::::options Class::MOP::Method::Constructor::options
3811184µs184µsClass::MOP::Mixin::AttributeCore::::accessor Class::MOP::Mixin::AttributeCore::accessor
3542183µs183µsMoose::Meta::Mixin::AttributeCore::::should_coerce Moose::Meta::Mixin::AttributeCore::should_coerce
3611182µs182µsClass::MOP::Mixin::AttributeCore::::predicate Class::MOP::Mixin::AttributeCore::predicate
3021171µs1.43msClass::MOP::Class::Immutable::Moose::Meta::Class::::_method_mapClass::MOP::Class::Immutable::Moose::Meta::Class::_method_map
3022165µs165µsMoose::Meta::TypeConstraint::::hand_optimized_type_constraint Moose::Meta::TypeConstraint::hand_optimized_type_constraint
3821157µs157µsMoose::Meta::TypeConstraint::::has_hand_optimized_type_constraint Moose::Meta::TypeConstraint::has_hand_optimized_type_constraint
2611134µs221µsMoose::Meta::Mixin::AttributeCore::::is_weak_ref Moose::Meta::Mixin::AttributeCore::is_weak_ref
2632130µs130µsMoose::Meta::Mixin::AttributeCore::::has_trigger Moose::Meta::Mixin::AttributeCore::has_trigger
2011118µs282µsClass::MOP::Class::Immutable::Class::MOP::Class::::is_immutable Class::MOP::Class::Immutable::Class::MOP::Class::is_immutable
2511118µs118µsClass::MOP::Method::Generated::::definition_context Class::MOP::Method::Generated::definition_context
812114µs114µsClass::MOP::Package::::get_all_package_symbols Class::MOP::Package::get_all_package_symbols(xsub)
1621107µs240µsClass::MOP::Package::::namespace Class::MOP::Package::namespace
2122107µs183µsMoose::Meta::Mixin::AttributeCore::::type_constraint Moose::Meta::Mixin::AttributeCore::type_constraint
2432106µs106µsMoose::Meta::Mixin::AttributeCore::::has_type_constraint Moose::Meta::Mixin::AttributeCore::has_type_constraint
1822105µs105µsMoose::Meta::Mixin::AttributeCore::::is_required Moose::Meta::Mixin::AttributeCore::is_required
1422103µs689µsClass::MOP::Package::::has_package_symbol Class::MOP::Package::has_package_symbol
2011100µs100µsClass::MOP::Method::::_set_original_method Class::MOP::Method::_set_original_method
221194µs94µsMoose::Meta::TypeConstraint::::_has_compiled_type_constraint Moose::Meta::TypeConstraint::_has_compiled_type_constraint
11190µs109µsMARC::Moose::Field::Control::::meta MARC::Moose::Field::Control::meta
142187µs87µsMoose::Meta::Class::::immutable_trait Moose::Meta::Class::immutable_trait
162278µs194µsMoose::Meta::Mixin::AttributeCore::::is_lazy Moose::Meta::Mixin::AttributeCore::is_lazy
88177µs211µsMoose::Meta::TypeConstraint::::meta Moose::Meta::TypeConstraint::meta
152173µs73µsMoose::Meta::TypeConstraint::::constraint Moose::Meta::TypeConstraint::constraint
101162µs175µsMoose::Meta::Mixin::AttributeCore::::has_handles Moose::Meta::Mixin::AttributeCore::has_handles
101160µs143µsMoose::Meta::Mixin::AttributeCore::::should_auto_deref Moose::Meta::Mixin::AttributeCore::should_auto_deref
142154µs54µsMoose::Meta::TypeConstraint::::parent Moose::Meta::TypeConstraint::parent
21152µs120µsClass::MOP::Package::::initialize Class::MOP::Package::initialize
81149µs164µsClass::MOP::Class::Immutable::Moose::Meta::Class::::linearized_isaClass::MOP::Class::Immutable::Moose::Meta::Class::linearized_isa
81146µs116µsClass::MOP::Class::Immutable::Moose::Meta::Class::::is_immutableClass::MOP::Class::Immutable::Moose::Meta::Class::is_immutable
21145µs45µsClass::MOP::Package::::_new Class::MOP::Package::_new
71143µs43µsMoose::Meta::TypeConstraint::Class::::class Moose::Meta::TypeConstraint::Class::class
91140µs40µsClass::MOP::Mixin::AttributeCore::::writer Class::MOP::Mixin::AttributeCore::writer
44240µs111µsMoose::Meta::Role::Composite::::meta Moose::Meta::Role::Composite::meta
43338µs709µsMoose::Meta::Role::Method::Required::::meta Moose::Meta::Role::Method::Required::meta
22136µs72µsMoose::Meta::TypeConstraint::Registry::::meta Moose::Meta::TypeConstraint::Registry::meta
81136µs36µsClass::MOP::Attribute::::associated_methods Class::MOP::Attribute::associated_methods
44235µs100µsMoose::Meta::TypeCoercion::::meta Moose::Meta::TypeCoercion::meta
33233µs85µsMoose::Meta::Role::Application::::meta Moose::Meta::Role::Application::meta
11130µs38µsMARC::Moose::Parser::Marcxml::::new MARC::Moose::Parser::Marcxml::new
33227µs75µsMoose::Meta::Role::Application::ToClass::::meta Moose::Meta::Role::Application::ToClass::meta
61124µs24µsClass::MOP::Instance::::associated_metaclass Class::MOP::Instance::associated_metaclass
61123µs23µsMoose::Meta::TypeConstraint::::has_parent Moose::Meta::TypeConstraint::has_parent
22221µs50µsMoose::Meta::Role::Application::ToInstance::::meta Moose::Meta::Role::Application::ToInstance::meta
22219µs56µsMoose::Meta::Role::Application::RoleSummation::::meta Moose::Meta::Role::Application::RoleSummation::meta
22217µs49µsMoose::Meta::Role::::meta Moose::Meta::Role::meta
21114µs42µsClass::MOP::Class::Immutable::Moose::Meta::Class::::get_meta_instanceClass::MOP::Class::Immutable::Moose::Meta::Class::get_meta_instance
11114µs34µsMoose::Meta::TypeConstraint::Parameterizable::::meta Moose::Meta::TypeConstraint::Parameterizable::meta
11113µs35µsMoose::Meta::TypeConstraint::DuckType::::meta Moose::Meta::TypeConstraint::DuckType::meta
11113µs35µsMoose::Meta::TypeConstraint::Union::::meta Moose::Meta::TypeConstraint::Union::meta
11113µs37µsMoose::Meta::TypeConstraint::Enum::::meta Moose::Meta::TypeConstraint::Enum::meta
11113µs32µsMoose::Meta::TypeConstraint::Role::::meta Moose::Meta::TypeConstraint::Role::meta
11112µs36µsMoose::Meta::TypeConstraint::Parameterized::::meta Moose::Meta::TypeConstraint::Parameterized::meta
11111µs34µsMoose::Meta::TypeConstraint::Class::::meta Moose::Meta::TypeConstraint::Class::meta
11110µs30µsMARC::Moose::Record::::meta MARC::Moose::Record::meta
11110µs27µsMARC::Moose::Parser::::meta MARC::Moose::Parser::meta
1119µs24µsMARC::Moose::Parser::MarcxmlSax::::meta MARC::Moose::Parser::MarcxmlSax::meta
1118µs26µsMARC::Moose::Parser::Marcxml::::meta MARC::Moose::Parser::Marcxml::meta
1118µs20µsMARC::Moose::Field::Std::::meta MARC::Moose::Field::Std::meta
1118µs28µsMARC::Moose::Field::::meta MARC::Moose::Field::meta
1118µs22µsMoose::Meta::Role::Application::ToRole::::meta Moose::Meta::Role::Application::ToRole::meta
1118µs22µsMoose::Meta::TypeCoercion::Union::::meta Moose::Meta::TypeCoercion::Union::meta
0000s0sClass::MOP::Attribute::::clone Class::MOP::Attribute::clone
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::_get_mutable_metaclass_name Class::MOP::Class::Immutable::Class::MOP::Class::_get_mutable_metaclass_name
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::_immutable_cannot_call Class::MOP::Class::Immutable::Class::MOP::Class::_immutable_cannot_call
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::_immutable_metaclass Class::MOP::Class::Immutable::Class::MOP::Class::_immutable_metaclass
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::add_attribute Class::MOP::Class::Immutable::Class::MOP::Class::add_attribute
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::add_method Class::MOP::Class::Immutable::Class::MOP::Class::add_method
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::add_package_symbol Class::MOP::Class::Immutable::Class::MOP::Class::add_package_symbol
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::alias_method Class::MOP::Class::Immutable::Class::MOP::Class::alias_method
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::class_precedence_list Class::MOP::Class::Immutable::Class::MOP::Class::class_precedence_list
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::get_all_method_names Class::MOP::Class::Immutable::Class::MOP::Class::get_all_method_names
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::get_all_methods Class::MOP::Class::Immutable::Class::MOP::Class::get_all_methods
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::is_mutable Class::MOP::Class::Immutable::Class::MOP::Class::is_mutable
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::meta Class::MOP::Class::Immutable::Class::MOP::Class::meta
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::remove_attribute Class::MOP::Class::Immutable::Class::MOP::Class::remove_attribute
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::remove_method Class::MOP::Class::Immutable::Class::MOP::Class::remove_method
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::remove_package_symbol Class::MOP::Class::Immutable::Class::MOP::Class::remove_package_symbol
0000s0sClass::MOP::Class::Immutable::Class::MOP::Class::::superclasses Class::MOP::Class::Immutable::Class::MOP::Class::superclasses
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::_get_mutable_metaclass_nameClass::MOP::Class::Immutable::Moose::Meta::Class::_get_mutable_metaclass_name
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::_immutable_cannot_callClass::MOP::Class::Immutable::Moose::Meta::Class::_immutable_cannot_call
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::_immutable_metaclassClass::MOP::Class::Immutable::Moose::Meta::Class::_immutable_metaclass
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::add_attributeClass::MOP::Class::Immutable::Moose::Meta::Class::add_attribute
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::add_methodClass::MOP::Class::Immutable::Moose::Meta::Class::add_method
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::add_package_symbolClass::MOP::Class::Immutable::Moose::Meta::Class::add_package_symbol
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::add_roleClass::MOP::Class::Immutable::Moose::Meta::Class::add_role
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::alias_methodClass::MOP::Class::Immutable::Moose::Meta::Class::alias_method
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::calculate_all_rolesClass::MOP::Class::Immutable::Moose::Meta::Class::calculate_all_roles
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::calculate_all_roles_with_inheritanceClass::MOP::Class::Immutable::Moose::Meta::Class::calculate_all_roles_with_inheritance
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::class_precedence_listClass::MOP::Class::Immutable::Moose::Meta::Class::class_precedence_list
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::does_roleClass::MOP::Class::Immutable::Moose::Meta::Class::does_role
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::get_all_attributesClass::MOP::Class::Immutable::Moose::Meta::Class::get_all_attributes
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::get_all_method_namesClass::MOP::Class::Immutable::Moose::Meta::Class::get_all_method_names
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::get_all_methodsClass::MOP::Class::Immutable::Moose::Meta::Class::get_all_methods
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::is_mutableClass::MOP::Class::Immutable::Moose::Meta::Class::is_mutable
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::metaClass::MOP::Class::Immutable::Moose::Meta::Class::meta
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::remove_attributeClass::MOP::Class::Immutable::Moose::Meta::Class::remove_attribute
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::remove_methodClass::MOP::Class::Immutable::Moose::Meta::Class::remove_method
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::remove_package_symbolClass::MOP::Class::Immutable::Moose::Meta::Class::remove_package_symbol
0000s0sClass::MOP::Class::Immutable::Moose::Meta::Class::::superclassesClass::MOP::Class::Immutable::Moose::Meta::Class::superclasses
0000s0sClass::MOP::Instance::::attributes Class::MOP::Instance::attributes
0000s0sClass::MOP::Instance::::slot_hash Class::MOP::Instance::slot_hash
0000s0sClass::MOP::Instance::::slots Class::MOP::Instance::slots
0000s0sClass::MOP::Method::::original_method Class::MOP::Method::original_method
0000s0sClass::MOP::Mixin::AttributeCore::::builder Class::MOP::Mixin::AttributeCore::builder
0000s0sClass::MOP::Mixin::AttributeCore::::clearer Class::MOP::Mixin::AttributeCore::clearer
0000s0sClass::MOP::Mixin::AttributeCore::::has_init_arg Class::MOP::Mixin::AttributeCore::has_init_arg
0000s0sClass::MOP::Mixin::AttributeCore::::has_insertion_order Class::MOP::Mixin::AttributeCore::has_insertion_order
0000s0sClass::MOP::Mixin::AttributeCore::::initializer Class::MOP::Mixin::AttributeCore::initializer
0000s0sClass::MOP::Mixin::AttributeCore::::insertion_order Class::MOP::Mixin::AttributeCore::insertion_order
0000s0sClass::MOP::Mixin::HasMethods::::_full_method_map Class::MOP::Mixin::HasMethods::_full_method_map
0000s0sClass::MOP::Module::::authority Class::MOP::Module::authority
0000s0sClass::MOP::Module::::version Class::MOP::Module::version
0000s0sClass::MOP::Package::::list_all_package_symbols Class::MOP::Package::list_all_package_symbols
0000s0sClass::MOP::Package::::reinitialize Class::MOP::Package::reinitialize
0000s0sClass::MOP::Package::::remove_package_glob Class::MOP::Package::remove_package_glob
0000s0sClass::MOP::Package::::remove_package_symbol Class::MOP::Package::remove_package_symbol
0000s0sMARC::Moose::Field::Control::::DESTROY MARC::Moose::Field::Control::DESTROY
0000s0sMARC::Moose::Field::Control::::as_formatted MARC::Moose::Field::Control::as_formatted
0000s0sMARC::Moose::Field::Control::::value MARC::Moose::Field::Control::value
0000s0sMARC::Moose::Field::::DESTROY MARC::Moose::Field::DESTROY
0000s0sMARC::Moose::Field::Std::::DESTROY MARC::Moose::Field::Std::DESTROY
0000s0sMARC::Moose::Field::Std::::as_formatted MARC::Moose::Field::Std::as_formatted
0000s0sMARC::Moose::Field::Std::::ind1 MARC::Moose::Field::Std::ind1
0000s0sMARC::Moose::Field::Std::::ind2 MARC::Moose::Field::Std::ind2
0000s0sMARC::Moose::Field::Std::::subf MARC::Moose::Field::Std::subf
0000s0sMARC::Moose::Field::::new MARC::Moose::Field::new
0000s0sMARC::Moose::Field::::tag MARC::Moose::Field::tag
0000s0sMARC::Moose::Parser::::DESTROY MARC::Moose::Parser::DESTROY
0000s0sMARC::Moose::Parser::Marcxml::::DESTROY MARC::Moose::Parser::Marcxml::DESTROY
0000s0sMARC::Moose::Parser::MarcxmlSax::::DESTROY MARC::Moose::Parser::MarcxmlSax::DESTROY
0000s0sMARC::Moose::Parser::MarcxmlSax::::new MARC::Moose::Parser::MarcxmlSax::new
0000s0sMARC::Moose::Parser::MarcxmlSax::::parse MARC::Moose::Parser::MarcxmlSax::parse
0000s0sMARC::Moose::Parser::MarcxmlSax::::xs MARC::Moose::Parser::MarcxmlSax::xs
0000s0sMARC::Moose::Parser::::new MARC::Moose::Parser::new
0000s0sMARC::Moose::Record::::DESTROY MARC::Moose::Record::DESTROY
0000s0sMARC::Moose::Record::::leader MARC::Moose::Record::leader
0000s0sMoose::Error::Default::::_get_compatible_metaclass Moose::Error::Default::_get_compatible_metaclass
0000s0sMoose::Error::Default::::_get_compatible_metaclass_by_role_reconciliation Moose::Error::Default::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Attribute::Custom::Trait::Array::::register_implementation Moose::Meta::Attribute::Custom::Trait::Array::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::Bool::::register_implementation Moose::Meta::Attribute::Custom::Trait::Bool::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::Code::::register_implementation Moose::Meta::Attribute::Custom::Trait::Code::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::Counter::::register_implementation Moose::Meta::Attribute::Custom::Trait::Counter::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::Hash::::register_implementation Moose::Meta::Attribute::Custom::Trait::Hash::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::Number::::register_implementation Moose::Meta::Attribute::Custom::Trait::Number::register_implementation
0000s0sMoose::Meta::Attribute::Custom::Trait::String::::register_implementation Moose::Meta::Attribute::Custom::Trait::String::register_implementation
0000s0sMoose::Meta::Attribute::::_get_compatible_metaclass Moose::Meta::Attribute::_get_compatible_metaclass
0000s0sMoose::Meta::Attribute::::_get_compatible_metaclass_by_role_reconciliation Moose::Meta::Attribute::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Attribute::::applied_traits Moose::Meta::Attribute::applied_traits
0000s0sMoose::Meta::Attribute::::has_applied_traits Moose::Meta::Attribute::has_applied_traits
0000s0sMoose::Meta::Class::::_get_compatible_metaclass Moose::Meta::Class::_get_compatible_metaclass
0000s0sMoose::Meta::Class::::_get_compatible_metaclass_by_role_reconciliation Moose::Meta::Class::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Class::::_get_role_applications Moose::Meta::Class::_get_role_applications
0000s0sMoose::Meta::Class::::_new Moose::Meta::Class::_new
0000s0sMoose::Meta::Class::::roles Moose::Meta::Class::roles
0000s0sMoose::Meta::Instance::::_get_compatible_metaclass Moose::Meta::Instance::_get_compatible_metaclass
0000s0sMoose::Meta::Instance::::_get_compatible_metaclass_by_role_reconciliation Moose::Meta::Instance::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Method::Augmented::::_new Moose::Meta::Method::Augmented::_new
0000s0sMoose::Meta::Method::Constructor::::_new Moose::Meta::Method::Constructor::_new
0000s0sMoose::Meta::Method::Destructor::::_new Moose::Meta::Method::Destructor::_new
0000s0sMoose::Meta::Method::::_get_compatible_metaclass Moose::Meta::Method::_get_compatible_metaclass
0000s0sMoose::Meta::Method::::_get_compatible_metaclass_by_role_reconciliation Moose::Meta::Method::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Mixin::AttributeCore::::_does_metadata Moose::Meta::Mixin::AttributeCore::_does_metadata
0000s0sMoose::Meta::Mixin::AttributeCore::::_is_metadata Moose::Meta::Mixin::AttributeCore::_is_metadata
0000s0sMoose::Meta::Mixin::AttributeCore::::_isa_metadata Moose::Meta::Mixin::AttributeCore::_isa_metadata
0000s0sMoose::Meta::Mixin::AttributeCore::::_set_handles Moose::Meta::Mixin::AttributeCore::_set_handles
0000s0sMoose::Meta::Mixin::AttributeCore::::documentation Moose::Meta::Mixin::AttributeCore::documentation
0000s0sMoose::Meta::Mixin::AttributeCore::::handles Moose::Meta::Mixin::AttributeCore::handles
0000s0sMoose::Meta::Mixin::AttributeCore::::has_documentation Moose::Meta::Mixin::AttributeCore::has_documentation
0000s0sMoose::Meta::Mixin::AttributeCore::::is_lazy_build Moose::Meta::Mixin::AttributeCore::is_lazy_build
0000s0sMoose::Meta::Mixin::AttributeCore::::trigger Moose::Meta::Mixin::AttributeCore::trigger
0000s0sMoose::Meta::Role::Application::RoleSummation::::_new Moose::Meta::Role::Application::RoleSummation::_new
0000s0sMoose::Meta::Role::Application::RoleSummation::::role_params Moose::Meta::Role::Application::RoleSummation::role_params
0000s0sMoose::Meta::Role::Application::ToClass::::_new Moose::Meta::Role::Application::ToClass::_new
0000s0sMoose::Meta::Role::Application::ToClass::::class Moose::Meta::Role::Application::ToClass::class
0000s0sMoose::Meta::Role::Application::ToClass::::role Moose::Meta::Role::Application::ToClass::role
0000s0sMoose::Meta::Role::Application::ToInstance::::_new Moose::Meta::Role::Application::ToInstance::_new
0000s0sMoose::Meta::Role::Application::ToInstance::::rebless_params Moose::Meta::Role::Application::ToInstance::rebless_params
0000s0sMoose::Meta::Role::Application::ToRole::::_new Moose::Meta::Role::Application::ToRole::_new
0000s0sMoose::Meta::Role::Application::::_new Moose::Meta::Role::Application::_new
0000s0sMoose::Meta::Role::Application::::get_method_aliases Moose::Meta::Role::Application::get_method_aliases
0000s0sMoose::Meta::Role::Application::::get_method_exclusions Moose::Meta::Role::Application::get_method_exclusions
0000s0sMoose::Meta::Role::Attribute::::_new Moose::Meta::Role::Attribute::_new
0000s0sMoose::Meta::Role::Attribute::::associated_role Moose::Meta::Role::Attribute::associated_role
0000s0sMoose::Meta::Role::Attribute::::is Moose::Meta::Role::Attribute::is
0000s0sMoose::Meta::Role::Attribute::::metaclass Moose::Meta::Role::Attribute::metaclass
0000s0sMoose::Meta::Role::Attribute::::original_options Moose::Meta::Role::Attribute::original_options
0000s0sMoose::Meta::Role::Composite::::_method_map Moose::Meta::Role::Composite::_method_map
0000s0sMoose::Meta::Role::Composite::::_new Moose::Meta::Role::Composite::_new
0000s0sMoose::Meta::Role::Composite::::application_role_summation_class Moose::Meta::Role::Composite::application_role_summation_class
0000s0sMoose::Meta::Role::Composite::::name Moose::Meta::Role::Composite::name
0000s0sMoose::Meta::Role::Method::Conflicting::::_new Moose::Meta::Role::Method::Conflicting::_new
0000s0sMoose::Meta::Role::Method::Conflicting::::roles Moose::Meta::Role::Method::Conflicting::roles
0000s0sMoose::Meta::Role::Method::Required::::_new Moose::Meta::Role::Method::Required::_new
0000s0sMoose::Meta::Role::Method::Required::::name Moose::Meta::Role::Method::Required::name
0000s0sMoose::Meta::Role::Method::::_new Moose::Meta::Role::Method::_new
0000s0sMoose::Meta::Role::::_get_compatible_metaclass Moose::Meta::Role::_get_compatible_metaclass
0000s0sMoose::Meta::Role::::_get_compatible_metaclass_by_role_reconciliation Moose::Meta::Role::_get_compatible_metaclass_by_role_reconciliation
0000s0sMoose::Meta::Role::::_new Moose::Meta::Role::_new
0000s0sMoose::Meta::Role::::add_after_method_modifier Moose::Meta::Role::add_after_method_modifier
0000s0sMoose::Meta::Role::::add_around_method_modifier Moose::Meta::Role::add_around_method_modifier
0000s0sMoose::Meta::Role::::add_before_method_modifier Moose::Meta::Role::add_before_method_modifier
0000s0sMoose::Meta::Role::::add_excluded_roles Moose::Meta::Role::add_excluded_roles
0000s0sMoose::Meta::Role::::application_to_class_class Moose::Meta::Role::application_to_class_class
0000s0sMoose::Meta::Role::::application_to_instance_class Moose::Meta::Role::application_to_instance_class
0000s0sMoose::Meta::Role::::application_to_role_class Moose::Meta::Role::application_to_role_class
0000s0sMoose::Meta::Role::::conflicting_method_metaclass Moose::Meta::Role::conflicting_method_metaclass
0000s0sMoose::Meta::Role::::excludes_role Moose::Meta::Role::excludes_role
0000s0sMoose::Meta::Role::::get_after_method_modifiers Moose::Meta::Role::get_after_method_modifiers
0000s0sMoose::Meta::Role::::get_after_method_modifiers_map Moose::Meta::Role::get_after_method_modifiers_map
0000s0sMoose::Meta::Role::::get_around_method_modifiers Moose::Meta::Role::get_around_method_modifiers
0000s0sMoose::Meta::Role::::get_around_method_modifiers_map Moose::Meta::Role::get_around_method_modifiers_map
0000s0sMoose::Meta::Role::::get_before_method_modifiers Moose::Meta::Role::get_before_method_modifiers
0000s0sMoose::Meta::Role::::get_before_method_modifiers_map Moose::Meta::Role::get_before_method_modifiers_map
0000s0sMoose::Meta::Role::::get_excluded_roles_list Moose::Meta::Role::get_excluded_roles_list
0000s0sMoose::Meta::Role::::get_excluded_roles_map Moose::Meta::Role::get_excluded_roles_map
0000s0sMoose::Meta::Role::::get_override_method_modifiers_map Moose::Meta::Role::get_override_method_modifiers_map
0000s0sMoose::Meta::Role::::get_required_method_list Moose::Meta::Role::get_required_method_list
0000s0sMoose::Meta::Role::::get_required_methods_map Moose::Meta::Role::get_required_methods_map
0000s0sMoose::Meta::Role::::get_roles Moose::Meta::Role::get_roles
0000s0sMoose::Meta::Role::::has_after_method_modifiers Moose::Meta::Role::has_after_method_modifiers
0000s0sMoose::Meta::Role::::has_around_method_modifiers Moose::Meta::Role::has_around_method_modifiers
0000s0sMoose::Meta::Role::::has_before_method_modifiers Moose::Meta::Role::has_before_method_modifiers
0000s0sMoose::Meta::Role::::method_metaclass Moose::Meta::Role::method_metaclass
0000s0sMoose::Meta::Role::::remove_required_methods Moose::Meta::Role::remove_required_methods
0000s0sMoose::Meta::Role::::required_method_metaclass Moose::Meta::Role::required_method_metaclass
0000s0sMoose::Meta::Role::::requires_method Moose::Meta::Role::requires_method
0000s0sMoose::Meta::TypeCoercion::Union::::_new Moose::Meta::TypeCoercion::Union::_new
0000s0sMoose::Meta::TypeCoercion::::_compiled_type_coercion Moose::Meta::TypeCoercion::_compiled_type_coercion
0000s0sMoose::Meta::TypeCoercion::::_new Moose::Meta::TypeCoercion::_new
0000s0sMoose::Meta::TypeCoercion::::type_coercion_map Moose::Meta::TypeCoercion::type_coercion_map
0000s0sMoose::Meta::TypeCoercion::::type_constraint Moose::Meta::TypeCoercion::type_constraint
0000s0sMoose::Meta::TypeConstraint::DuckType::::_new Moose::Meta::TypeConstraint::DuckType::_new
0000s0sMoose::Meta::TypeConstraint::DuckType::::methods Moose::Meta::TypeConstraint::DuckType::methods
0000s0sMoose::Meta::TypeConstraint::Enum::::_new Moose::Meta::TypeConstraint::Enum::_new
0000s0sMoose::Meta::TypeConstraint::Enum::::values Moose::Meta::TypeConstraint::Enum::values
0000s0sMoose::Meta::TypeConstraint::Parameterizable::::constraint_generator Moose::Meta::TypeConstraint::Parameterizable::constraint_generator
0000s0sMoose::Meta::TypeConstraint::Parameterizable::::has_constraint_generator Moose::Meta::TypeConstraint::Parameterizable::has_constraint_generator
0000s0sMoose::Meta::TypeConstraint::Parameterized::::_new Moose::Meta::TypeConstraint::Parameterized::_new
0000s0sMoose::Meta::TypeConstraint::Parameterized::::has_type_parameter Moose::Meta::TypeConstraint::Parameterized::has_type_parameter
0000s0sMoose::Meta::TypeConstraint::Parameterized::::type_parameter Moose::Meta::TypeConstraint::Parameterized::type_parameter
0000s0sMoose::Meta::TypeConstraint::Registry::::_new Moose::Meta::TypeConstraint::Registry::_new
0000s0sMoose::Meta::TypeConstraint::Registry::::get_parent_registry Moose::Meta::TypeConstraint::Registry::get_parent_registry
0000s0sMoose::Meta::TypeConstraint::Registry::::has_parent_registry Moose::Meta::TypeConstraint::Registry::has_parent_registry
0000s0sMoose::Meta::TypeConstraint::Registry::::set_parent_registry Moose::Meta::TypeConstraint::Registry::set_parent_registry
0000s0sMoose::Meta::TypeConstraint::Role::::_new Moose::Meta::TypeConstraint::Role::_new
0000s0sMoose::Meta::TypeConstraint::Role::::role Moose::Meta::TypeConstraint::Role::role
0000s0sMoose::Meta::TypeConstraint::Union::::_new Moose::Meta::TypeConstraint::Union::_new
0000s0sMoose::Meta::TypeConstraint::Union::::type_constraints Moose::Meta::TypeConstraint::Union::type_constraints
0000s0sMoose::Meta::TypeConstraint::::_package_defined_in Moose::Meta::TypeConstraint::_package_defined_in
0000s0sMoose::Meta::TypeConstraint::::_set_constraint Moose::Meta::TypeConstraint::_set_constraint
0000s0sMoose::Meta::TypeConstraint::::coercion Moose::Meta::TypeConstraint::coercion
0000s0sMoose::Meta::TypeConstraint::::has_coercion Moose::Meta::TypeConstraint::has_coercion
0000s0sMoose::Meta::TypeConstraint::::has_message Moose::Meta::TypeConstraint::has_message
0000s0sMoose::Meta::TypeConstraint::::message Moose::Meta::TypeConstraint::message
0000s0sMoose::Object::::meta Moose::Object::meta
0000s0sMoose::Util::TypeConstraints::::import Moose::Util::TypeConstraints::import
0000s0sMoose::Util::TypeConstraints::::unimport Moose::Util::TypeConstraints::unimport
0000s0sMoose::::import Moose::import
0000s0sMoose::::unimport Moose::unimport
LineStmts.Exclusive
Time
Avg.Code
1
2package Class::MOP::Package;
3
4340µs13µsuse strict;
# spent 13µs making 1 call to strict::import
5331µs10µsuse warnings;
# spent 21µs making 1 call to warnings::import
6
7327µs9µsuse Scalar::Util 'blessed', 'reftype';
# spent 50µs making 1 call to Exporter::import
8332µs10µsuse Carp 'confess';
# spent 32µs making 1 call to Exporter::import
93169µs56µsuse Package::Stash;
# spent 4µs making 1 call to import
10
111800ns800nsour $VERSION = '1.09';
12122µs22µs$VERSION = eval $VERSION;
131500ns500nsour $AUTHORITY = 'cpan:STEVAN';
14
153652µs217µsuse 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
sub initialize {
2029µs4µs my ( $class, @args ) = @_;
21
2226µs3µs unshift @args, "package" if @args % 2;
23
2424µs2µs my %options = @args;
2522µs1µs my $package_name = $options{package};
26
27
28 # we hand-construct the class
29 # until we can bootstrap it
30212µs6µ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 {
33220µs10µs 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 });
3729µs5µs 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
3925µs2µs return $meta;
40 }
41}
42
43sub 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
sub _new {
6422µs900ns my $class = shift;
65
6622µs1µs return Class::MOP::Class->initialize($class)->new_object(@_)
67 if $class ne __PACKAGE__;
68
6923µs1µs my $params = @_ == 1 ? $_[0] : {@_};
70
71230µs15µs 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
sub _package_stash {
9413443.23ms2µ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}
96sub namespace {
9716127µs8µ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
sub add_package_symbol {
105397267µs672ns my $self = shift;
1063972.85ms7µs
# 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
$self->_package_stash->add_package_symbol(@_);
# 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
109sub 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
sub has_package_symbol {
117148µs571ns my $self = shift;
11814119µs8µs $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
sub get_package_symbol {
122813367µs452ns my $self = shift;
1238135.23ms6µs $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
sub get_or_add_package_symbol {
12710440µs381ns my $self = shift;
128104855µs8µs $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
131sub remove_package_symbol {
132 my $self = shift;
133 $self->_package_stash->remove_package_symbol(@_);
134}
135
136sub list_all_package_symbols {
137 my $self = shift;
138 $self->_package_stash->list_all_package_symbols(@_);
139}
140
14114µs4µs1;
142
143__END__
144
145=pod
146
147=head1 NAME
148
149Class::MOP::Package - Package Meta Object
150
151=head1 DESCRIPTION
152
153The Package Protocol provides an abstraction of a Perl 5 package. A
154package is basically namespace, and this module provides methods for
155looking 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
163This method creates a new C<Class::MOP::Package> instance which
164represents specified package. If an existing metaclass object exists
165for the package, that will be returned instead.
166
167=item B<< Class::MOP::Package->reinitialize($package) >>
168
169This method forcibly removes any existing metaclass for the package
170before calling C<initialize>. In contrast to C<initialize>, you may
171also pass an existing C<Class::MOP::Package> instance instead of just
172a package name as C<$package>.
173
174Do not call this unless you know what you are doing.
175
176=item B<< $metapackage->name >>
177
178This is returns the package's name, as passed to the constructor.
179
180=item B<< $metapackage->namespace >>
181
182This returns a hash reference to the package's symbol table. The keys
183are symbol names and the values are typeglob references.
184
185=item B<< $metapackage->add_package_symbol($variable_name, $initial_value) >>
186
187This method accepts a variable name and an optional initial value. The
188C<$variable_name> must contain a leading sigil.
189
190This method creates the variable in the package's symbol table, and
191sets it to the initial value if one was provided.
192
193=item B<< $metapackage->get_package_symbol($variable_name) >>
194
195Given a variable name, this method returns the variable as a reference
196or undef if it does not exist. The C<$variable_name> must contain a
197leading sigil.
198
199=item B<< $metapackage->get_or_add_package_symbol($variable_name) >>
200
201Given a variable name, this method returns the variable as a reference.
202If it does not exist, a default value will be generated if possible. The
203C<$variable_name> must contain a leading sigil.
204
205=item B<< $metapackage->has_package_symbol($variable_name) >>
206
207Returns true if there is a package variable defined for
208C<$variable_name>. The C<$variable_name> must contain a leading sigil.
209
210=item B<< $metapackage->remove_package_symbol($variable_name) >>
211
212This will remove the package variable specified C<$variable_name>. The
213C<$variable_name> must contain a leading sigil.
214
215=item B<< $metapackage->remove_package_glob($glob_name) >>
216
217Given the name of a glob, this will remove that glob from the
218package's symbol table. Glob names do not include a sigil. Removing
219the glob removes all variables and subroutines with the specified
220name.
221
222=item B<< $metapackage->list_all_package_symbols($type_filter) >>
223
224This will list all the glob names associated with the current
225package. These names do not have leading sigils.
226
227You 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
232This works much like C<list_all_package_symbols>, but it returns a
233hash reference. The keys are glob names and the values are references
234to the value for that name.
235
236=item B<< Class::MOP::Package->meta >>
237
238This will return a L<Class::MOP::Class> instance for this class.
239
240=back
241
242=head1 AUTHORS
243
244Stevan Little E<lt>stevan@iinteractive.comE<gt>
245
246=head1 COPYRIGHT AND LICENSE
247
248Copyright 2006-2010 by Infinity Interactive, Inc.
249
250L<http://www.iinteractive.com>
251
252This library is free software; you can redistribute it and/or modify
253it 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
sub Class::MOP::Method::body; # xsub
# 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
sub Class::MOP::Method::package_name; # xsub
# 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
sub Class::MOP::Mixin::AttributeCore::name; # xsub
# 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
sub Class::MOP::Package::get_all_package_symbols; # xsub
# 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
sub Class::MOP::Package::name; # xsub