← 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:15:33 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/String/match.pm
StatementsExecuted 23 statements in 1.41ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11177µs96µsMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@3Moose::Meta::Method::Accessor::Native::String::match::BEGIN@3
11147µs828µsMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@43Moose::Meta::Method::Accessor::Native::String::match::BEGIN@43
11144µs14.8msMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@13Moose::Meta::Method::Accessor::Native::String::match::BEGIN@13
11142µs110µsMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@4Moose::Meta::Method::Accessor::Native::String::match::BEGIN@4
11122µs22µsMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@6Moose::Meta::Method::Accessor::Native::String::match::BEGIN@6
11120µs20µsMoose::Meta::Method::Accessor::Native::String::match::::BEGIN@7Moose::Meta::Method::Accessor::Native::String::match::BEGIN@7
0000s0sMoose::Meta::Method::Accessor::Native::String::match::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::String::match::_inline_check_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::match::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::String::match::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::match::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::String::match::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::match::::_return_valueMoose::Meta::Method::Accessor::Native::String::match::_return_value
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Moose::Meta::Method::Accessor::Native::String::match;
2
33106µs2114µs
# spent 96µs (77+18) within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@3 which was called: # once (77µs+18µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 3
use strict;
# spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::String::match::BEGIN@3 # spent 18µs making 1 call to strict::import
43101µs2178µs
# spent 110µs (42+68) within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@4 which was called: # once (42µs+68µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 4
use warnings;
# spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::String::match::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
6380µs122µs
# spent 22µs within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@6 which was called: # once (22µs+0s) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 6
use Moose::Util ();
73274µs120µs
# spent 20µs within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@7 which was called: # once (20µs+0s) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 7
use Params::Util ();
8
914µsour $VERSION = '1.19';
10180µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
1113µsour $AUTHORITY = 'cpan:STEVAN';
12
133561µs229.5ms
# spent 14.8ms (44µs+14.7) within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@13 which was called: # once (44µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 13
use Moose::Role;
14
15134µs117.8mswith 'Moose::Meta::Method::Accessor::Native::Reader' => {
# spent 17.8ms making 1 call to Moose::Role::with
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ]
23};
24
25sub _minimum_arguments { 1 }
26
27sub _maximum_arguments { 1 }
28
29sub _inline_check_arguments {
30 my $self = shift;
31
32 return $self->_inline_throw_error(
33 q{'The argument passed to match must be a string or regexp reference'}
34 ) . q{ unless Moose::Util::_STRINGLIKE0( $_[0] ) || Params::Util::_REGEX( $_[0] );};
35}
36
37sub _return_value {
38 my ( $self, $slot_access ) = @_;
39
40 return "$slot_access =~ \$_[0]";
41}
42
433117µs21.61ms
# spent 828µs (47+781) within Moose::Meta::Method::Accessor::Native::String::match::BEGIN@43 which was called: # once (47µs+781µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@14 at line 43
no Moose::Role;
44
45146µs1;