← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:06 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/parent.pm
StatementsExecuted 462 statements in 1.82ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
5353535.87ms15.7msparent::::importparent::import (recurses: max depth 2, inclusive time 4.48ms)
6811241µs241µsparent::::CORE:substparent::CORE:subst (opcode)
1119µs16µsparent::::BEGIN@21parent::BEGIN@21
1117µs9µsparent::::BEGIN@2parent::BEGIN@2
1115µs25µsparent::::BEGIN@3parent::BEGIN@3
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package parent;
2216µs210µs
# spent 9µs (7+1) within parent::BEGIN@2 which was called: # once (7µs+1µs) by Class::MOP::Mixin::AttributeCore::BEGIN@9 at line 2
use strict;
# spent 9µs making 1 call to parent::BEGIN@2 # spent 1µs making 1 call to strict::import
3280µs244µs
# spent 25µs (5+19) within parent::BEGIN@3 which was called: # once (5µs+19µs) by Class::MOP::Mixin::AttributeCore::BEGIN@9 at line 3
use vars qw($VERSION);
# spent 25µs making 1 call to parent::BEGIN@3 # spent 19µs making 1 call to vars::import
41200ns$VERSION = '0.234';
5
6
# spent 15.7ms (5.87+9.85) within parent::import which was called 53 times, avg 297µs/call: # once (315µs+5.94ms) by Moose::Meta::Attribute::BEGIN@19 at line 19 of Moose/Meta/Attribute.pm # once (720µs+1.59ms) by URI::http::BEGIN@8 at line 8 of URI/http.pm # once (281µs+1.82ms) by Class::MOP::Class::BEGIN@20 at line 20 of Class/MOP/Class.pm # once (127µs+1.30ms) by Moose::Meta::Method::Overridden::BEGIN@7 at line 7 of Moose/Meta/Method/Overridden.pm # once (275µs+980µs) by Class::MOP::Method::Accessor::BEGIN@10 at line 10 of Class/MOP/Method/Accessor.pm # once (514µs+551µs) by Class::MOP::Method::Meta::BEGIN@12 at line 12 of Class/MOP/Method/Meta.pm # once (360µs+74µs) by Class::MOP::Method::Constructor::BEGIN@10 at line 10 of Class/MOP/Method/Constructor.pm # once (159µs+63µs) by Class::MOP::Mixin::AttributeCore::BEGIN@9 at line 9 of Class/MOP/Mixin/AttributeCore.pm # once (22µs+8µs) by Moose::Meta::Method::Accessor::BEGIN@9 at line 9 of Moose/Meta/Method/Accessor.pm # once (21µs+8µs) by Moose::Meta::Role::BEGIN@19 at line 19 of Moose/Meta/Role.pm # once (20µs+8µs) by Moose::Meta::Role::Attribute::BEGIN@10 at line 10 of Moose/Meta/Role/Attribute.pm # once (20µs+7µs) by Class::MOP::Attribute::BEGIN@13 at line 13 of Class/MOP/Attribute.pm # once (17µs+8µs) by Moose::Meta::TypeCoercion::Union::BEGIN@10 at line 10 of Moose/Meta/TypeCoercion/Union.pm # once (18µs+6µs) by Moose::Meta::Instance::BEGIN@9 at line 9 of Moose/Meta/Instance.pm # once (18µs+6µs) by Moose::Meta::TypeConstraint::Class::BEGIN@12 at line 12 of Moose/Meta/TypeConstraint/Class.pm # once (19µs+4µs) by Moose::Meta::Role::Composite::BEGIN@10 at line 10 of Moose/Meta/Role/Composite.pm # once (16µs+5µs) by Moose::Meta::Method::Constructor::BEGIN@9 at line 9 of Moose/Meta/Method/Constructor.pm # once (16µs+5µs) by Moose::Meta::TypeConstraint::Parameterized::BEGIN@13 at line 13 of Moose/Meta/TypeConstraint/Parameterized.pm # once (14µs+6µs) by Moose::Meta::Method::Delegation::BEGIN@9 at line 9 of Moose/Meta/Method/Delegation.pm # once (14µs+5µs) by Moose::Meta::Method::Meta::BEGIN@7 at line 7 of Moose/Meta/Method/Meta.pm # once (16µs+4µs) by Moose::Meta::Role::Method::BEGIN@7 at line 7 of Moose/Meta/Role/Method.pm # once (14µs+5µs) by Moose::Meta::Method::Destructor::BEGIN@11 at line 11 of Moose/Meta/Method/Destructor.pm # once (14µs+4µs) by Moose::Meta::TypeConstraint::Enum::BEGIN@11 at line 11 of Moose/Meta/TypeConstraint/Enum.pm # once (14µs+4µs) by Moose::Meta::TypeConstraint::Parameterizable::BEGIN@8 at line 8 of Moose/Meta/TypeConstraint/Parameterizable.pm # once (14µs+3µs) by Moose::Meta::Class::BEGIN@22 at line 22 of Moose/Meta/Class.pm # once (14µs+3µs) by Moose::Meta::TypeConstraint::Union::BEGIN@12 at line 12 of Moose/Meta/TypeConstraint/Union.pm # once (13µs+5µs) by Moose::Meta::Role::Application::RoleSummation::BEGIN@13 at line 13 of Moose/Meta/Role/Application/RoleSummation.pm # once (13µs+4µs) by Moose::Meta::TypeConstraint::Role::BEGIN@12 at line 12 of Moose/Meta/TypeConstraint/Role.pm # once (13µs+3µs) by Class::MOP::Mixin::HasMethods::BEGIN@12 at line 12 of Class/MOP/Mixin/HasMethods.pm # once (13µs+3µs) by Moose::Meta::TypeConstraint::Registry::BEGIN@10 at line 10 of Moose/Meta/TypeConstraint/Registry.pm # once (12µs+3µs) by Class::MOP::Mixin::HasOverloads::BEGIN@15 at line 15 of Class/MOP/Mixin/HasOverloads.pm # once (11µs+4µs) by Moose::Meta::Class::Immutable::Trait::BEGIN@10 at line 10 of Moose/Meta/Class/Immutable/Trait.pm # once (10µs+4µs) by Moose::Meta::Role::Method::Conflicting::BEGIN@9 at line 9 of Moose/Meta/Role/Method/Conflicting.pm # once (11µs+3µs) by Class::MOP::Method::Wrapped::BEGIN@10 at line 10 of Class/MOP/Method/Wrapped.pm # once (10µs+3µs) by Moose::Meta::Method::Augmented::BEGIN@7 at line 7 of Moose/Meta/Method/Augmented.pm # once (10µs+3µs) by Class::MOP::Instance::BEGIN@9 at line 9 of Class/MOP/Instance.pm # once (10µs+3µs) by Moose::Meta::TypeConstraint::DuckType::BEGIN@15 at line 15 of Moose/Meta/TypeConstraint/DuckType.pm # once (10µs+3µs) by Class::MOP::Overload::BEGIN@11 at line 11 of Class/MOP/Overload.pm # once (10µs+4µs) by Moose::Meta::Role::Method::Required::BEGIN@13 at line 13 of Moose/Meta/Role/Method/Required.pm # once (10µs+4µs) by Moose::Meta::Role::Application::ToRole::BEGIN@8 at line 8 of Moose/Meta/Role/Application/ToRole.pm # once (9µs+3µs) by Class::MOP::Mixin::HasAttributes::BEGIN@9 at line 9 of Class/MOP/Mixin/HasAttributes.pm # once (9µs+4µs) by Moose::Meta::Role::Application::ToClass::BEGIN@12 at line 12 of Moose/Meta/Role/Application/ToClass.pm # once (9µs+3µs) by Moose::Meta::Role::Application::ToInstance::BEGIN@12 at line 12 of Moose/Meta/Role/Application/ToInstance.pm # once (16µs+-16µs) by Class::MOP::Method::Inlined::BEGIN@9 at line 9 of Class/MOP/Method/Inlined.pm # once (13µs+-13µs) by Class::MOP::Object::BEGIN@7 at line 7 of Class/MOP/Object.pm # once (13µs+-13µs) by Moose::Meta::Mixin::AttributeCore::BEGIN@7 at line 7 of Moose/Meta/Mixin/AttributeCore.pm # once (748µs+-748µs) by Class::MOP::Module::BEGIN@7 at line 7 of Class/MOP/Module.pm # once (552µs+-552µs) by URI::_generic::BEGIN@6 at line 6 of URI/_generic.pm # once (9µs+-9µs) by Class::MOP::Package::BEGIN@12 at line 12 of Class/MOP/Package.pm # once (359µs+-359µs) by Class::MOP::Method::BEGIN@9 at line 9 of Class/MOP/Method.pm # once (16µs+-16µs) by Moose::Meta::Method::BEGIN@9 at line 9 of Moose/Meta/Method.pm # once (890µs+-890µs) by URI::_server::BEGIN@6 at line 6 of URI/_server.pm # once (15µs+-15µs) by Class::MOP::Method::Generated::BEGIN@9 at line 9 of Class/MOP/Method/Generated.pm
sub import {
75315µs my $class = shift;
8
95324µs my $inheritor = caller(0);
10
115347µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
145371µs for ( my @filename = @_ ) {
1568349µs68241µs s{::|'}{/}g;
# spent 241µs making 68 calls to parent::CORE:subst, avg 4µs/call
1668645µs require "$_.pm"; # dies if the file is not found
17 }
18 }
19
20 {
2155186µs224µs
# spent 16µs (9+7) within parent::BEGIN@21 which was called: # once (9µs+7µs) by Class::MOP::Mixin::AttributeCore::BEGIN@9 at line 21
no strict 'refs';
# spent 16µs making 1 call to parent::BEGIN@21 # spent 7µs making 1 call to strict::unimport
2253382µs push @{"$inheritor\::ISA"}, @_;
23 };
24};
25
2612µs"All your base are belong to us"
27
28__END__
 
# spent 241µs within parent::CORE:subst which was called 68 times, avg 4µs/call: # 68 times (241µs+0s) by parent::import at line 15, avg 4µs/call
sub parent::CORE:subst; # opcode