← Index
NYTProf Performance Profile   « line view »
For examples/Atom-timer.pl
  Run on Mon Aug 12 14:45:28 2013
Reported on Mon Aug 12 14:46:15 2013

Filename/Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/count.pm
StatementsExecuted 33 statements in 239µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
51110µs10µsMoose::Meta::Method::Accessor::Native::Array::count::::_return_valueMoose::Meta::Method::Accessor::Native::Array::count::_return_value
1119µs9µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@2Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@2
1117µs11µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@10Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10
1117µs86µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@25Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@25
1117µs1.87msMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@12Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@12
1116µs16µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@9Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@9
5115µs5µsMoose::Meta::Method::Accessor::Native::Array::count::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments
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::Array::count;
2
# spent 9µs within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@2 which was called: # once (9µs+0s) by Module::Runtime::require_module at line 4
BEGIN {
315µs $Moose::Meta::Method::Accessor::Native::Array::count::AUTHORITY = 'cpan:STEVAN';
4131µs19µs}
5{
62600ns $Moose::Meta::Method::Accessor::Native::Array::count::VERSION = '2.1005';
7}
8
9236µs226µs
# spent 16µs (6+10) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@9 which was called: # once (6µs+10µs) by Module::Runtime::require_module at line 9
use strict;
# spent 16µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@9 # spent 10µs making 1 call to strict::import
10222µs215µs
# spent 11µs (7+4) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10 which was called: # once (7µs+4µs) by Module::Runtime::require_module at line 10
use warnings;
# spent 11µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10 # spent 4µs making 1 call to warnings::import
11
12283µs23.74ms
# spent 1.87ms (7µs+1.87) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@12 which was called: # once (7µs+1.87ms) by Module::Runtime::require_module at line 12
use Moose::Role;
13
1412µs19.46mswith 'Moose::Meta::Method::Accessor::Native::Reader';
# spent 9.46ms making 1 call to Moose::Role::with
15
1658µs
# spent 5µs within Moose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments which was called 5 times, avg 920ns/call: # 5 times (5µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 90 of Moose/Meta/Method/Accessor/Native.pm, avg 920ns/call
sub _maximum_arguments { 0 }
17
18
# spent 10µs within Moose::Meta::Method::Accessor::Native::Array::count::_return_value which was called 5 times, avg 2µs/call: # 5 times (10µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 112 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call
sub _return_value {
195700ns my $self = shift;
2051µs my ($slot_access) = @_;
21
22512µs return 'scalar @{ (' . $slot_access . ') }';
23}
24
25232µs2165µs
# spent 86µs (7+79) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@25 which was called: # once (7µs+79µs) by Module::Runtime::require_module at line 25
no Moose::Role;
26
2716µs1;