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

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Role/Method/Required.pm
StatementsExecuted 30 statements in 1.30ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1011227µs885µsMoose::Meta::Role::Method::Required::::newMoose::Meta::Role::Method::Required::new
11172µs90µsMoose::Meta::Role::Method::Required::::BEGIN@4Moose::Meta::Role::Method::Required::BEGIN@4
11146µs208µsMoose::Meta::Role::Method::Required::::BEGIN@8Moose::Meta::Role::Method::Required::BEGIN@8
11145µs3.06msMoose::Meta::Role::Method::Required::::BEGIN@6Moose::Meta::Role::Method::Required::BEGIN@6
11139µs278µsMoose::Meta::Role::Method::Required::::BEGIN@11Moose::Meta::Role::Method::Required::BEGIN@11
11137µs105µsMoose::Meta::Role::Method::Required::::BEGIN@5Moose::Meta::Role::Method::Required::BEGIN@5
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
43100µs2108µs
# spent 90µs (72+18) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called: # once (72µs+18µs) by Moose::Meta::Role::BEGIN@19 at line 4
use strict;
# spent 90µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4 # spent 18µs making 1 call to strict::import
53122µs2173µs
# spent 105µs (37+68) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called: # once (37µs+68µs) by Moose::Meta::Role::BEGIN@19 at line 5
use warnings;
# spent 105µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5 # spent 68µs making 1 call to warnings::import
63287µs26.07ms
# spent 3.06ms (45µs+3.01) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called: # once (45µs+3.01ms) by Moose::Meta::Role::BEGIN@19 at line 6
use metaclass;
# spent 3.06ms making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6 # spent 3.01ms making 1 call to metaclass::import
7
8
# spent 208µs (46+163) within Moose::Meta::Role::Method::Required::BEGIN@8 which was called: # once (46µs+163µs) by Moose::Meta::Role::BEGIN@19 at line 9
use overload '""' => sub { shift->name }, # stringify to method name
93129µs2371µs fallback => 1;
# spent 208µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@8 # spent 162µs making 1 call to overload::import
10
113338µs2517µs
# spent 278µs (39+239) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called: # once (39µs+239µs) by Moose::Meta::Role::BEGIN@19 at line 11
use base qw(Class::MOP::Object);
# spent 278µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11 # spent 239µs making 1 call to base::import
12
1314µsour $VERSION = '1.19';
14159µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
1513µ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.59ms__PACKAGE__->meta->add_attribute('name' => (
# spent 2.47ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 125µs making 1 call to Moose::Meta::Role::Method::Required::meta
21 reader => 'name',
22 required => 1,
23));
24
2510213µs10659µs
# spent 885µs (227+659) within Moose::Meta::Role::Method::Required::new which was called 10 times, avg 89µs/call: # 10 times (227µs+659µs) by Moose::Meta::Role::add_required_methods at line 254 of Moose/Meta/Role.pm, avg 89µs/call
sub new { shift->_new(@_) }
# spent 659µs making 10 calls to Moose::Meta::Role::Method::Required::_new, avg 66µs/call
26
27123µs1;
28
29__END__