← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 22:00:36 2010
Reported on Wed Nov 17 22:11:11 2010

Filename/home/doy/coding/src/Moose/blib/lib//Moose/Meta/Role/Method/Required.pm
StatementsExecuted 32 statements in 1.42ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1221319µs1.79msMoose::Meta::Role::Method::Required::::newMoose::Meta::Role::Method::Required::new
11176µs243µsMoose::Meta::Role::Method::Required::::BEGIN@8Moose::Meta::Role::Method::Required::BEGIN@8
11174µs94µsMoose::Meta::Role::Method::Required::::BEGIN@4Moose::Meta::Role::Method::Required::BEGIN@4
11139µs281µsMoose::Meta::Role::Method::Required::::BEGIN@11Moose::Meta::Role::Method::Required::BEGIN@11
11138µs109µsMoose::Meta::Role::Method::Required::::BEGIN@5Moose::Meta::Role::Method::Required::BEGIN@5
11138µs2.71msMoose::Meta::Role::Method::Required::::BEGIN@6Moose::Meta::Role::Method::Required::BEGIN@6
0000s0sMoose::Meta::Role::Method::Required::::__ANON__[:8]Moose::Meta::Role::Method::Required::__ANON__[:8]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2package Moose::Meta::Role::Method::Required;
3
43102µs2113µs
# spent 94µs (74+19) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called: # once (74µs+19µs) by Moose::Meta::Role::BEGIN@19 at line 4
use strict;
# spent 94µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4 # spent 19µs making 1 call to strict::import
5399µs2179µs
# spent 109µs (38+70) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called: # once (38µs+70µs) by Moose::Meta::Role::BEGIN@19 at line 5
use warnings;
# spent 109µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5 # spent 70µs making 1 call to warnings::import
63320µs25.38ms
# spent 2.71ms (38µs+2.67) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called: # once (38µs+2.67ms) by Moose::Meta::Role::BEGIN@19 at line 6
use metaclass;
# spent 2.71ms making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6 # spent 2.67ms making 1 call to metaclass::import
7
8
# spent 243µs (76+166) within Moose::Meta::Role::Method::Required::BEGIN@8 which was called: # once (76µs+166µs) by Moose::Meta::Role::BEGIN@19 at line 9
use overload '""' => sub { shift->name }, # stringify to method name
93138µs2409µs fallback => 1;
# spent 243µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@8 # spent 166µs making 1 call to overload::import
10
113354µs2523µs
# spent 281µs (39+242) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called: # once (39µs+242µs) by Moose::Meta::Role::BEGIN@19 at line 11
use base qw(Class::MOP::Object);
# spent 281µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11 # spent 242µs making 1 call to base::import
12
1313µsour $VERSION = '1.19';
14178µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
1514µsour $AUTHORITY = 'cpan:STEVAN';
16
17# This is not a Moose::Meta::Role::Method because it has no implementation, it
18# is just a name
19
20125µs22.52ms__PACKAGE__->meta->add_attribute('name' => (
# spent 2.40ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 113µs making 1 call to Moose::Meta::Role::Method::Required::meta
21 reader => 'name',
22 required => 1,
23));
24
2512272µs121.47ms
# spent 1.79ms (319µs+1.47) within Moose::Meta::Role::Method::Required::new which was called 12 times, avg 149µs/call: # 10 times (265µs+957µs) by Moose::Meta::Role::add_required_methods at line 261 of Moose/Meta/Role.pm, avg 122µs/call # 2 times (53µs+516µs) by Moose::Meta::Role::add_conflicting_method at line 278 of Moose/Meta/Role.pm, avg 284µs/call
sub new { shift->_new(@_) }
# spent 956µs making 10 calls to Moose::Meta::Role::Method::Required::_new, avg 96µs/call # spent 516µs making 2 calls to Moose::Meta::Role::Method::Conflicting::_new, avg 258µs/call
26
27122µs1;
28
29__END__