← Index
NYTProf Performance Profile   « line view »
For script/ponapi
  Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:11 2016

Filename/usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Array/count.pm
StatementsExecuted 55 statements in 257µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111141µs41µsMoose::Meta::Method::Accessor::Native::Array::count::::_return_valueMoose::Meta::Method::Accessor::Native::Array::count::_return_value
11129µs44µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4
111119µs19µsMoose::Meta::Method::Accessor::Native::Array::count::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments
1118µs2.23msMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@7Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@7
1118µs17µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@5Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@5
1117µs90µsMoose::Meta::Method::Accessor::Native::Array::count::::BEGIN@20Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@20
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;
21400nsour $VERSION = '2.1604';
3
4227µs258µs
# spent 44µs (29+15) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4 which was called: # once (29µs+15µs) by Module::Runtime::require_module at line 4
use strict;
# spent 44µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4 # spent 15µs making 1 call to strict::import
5223µs225µs
# spent 17µs (8+9) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@5 which was called: # once (8µs+9µs) by Module::Runtime::require_module at line 5
use warnings;
# spent 17µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@5 # spent 9µs making 1 call to warnings::import
6
7295µs24.45ms
# spent 2.23ms (8µs+2.22) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@7 which was called: # once (8µs+2.22ms) by Module::Runtime::require_module at line 7
use Moose::Role;
# spent 2.23ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@7 # spent 2.22ms making 1 call to Moose::Role::import
8
912µs11.90mswith 'Moose::Meta::Method::Accessor::Native::Reader';
# spent 1.90ms making 1 call to Moose::Role::with
10
111125µs
# spent 19µs within Moose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments which was called 11 times, avg 2µs/call: # 11 times (19µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 85 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call
sub _maximum_arguments { 0 }
12
13
# spent 41µs within Moose::Meta::Method::Accessor::Native::Array::count::_return_value which was called 11 times, avg 4µs/call: # 11 times (41µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 4µs/call
sub _return_value {
14114µs my $self = shift;
15115µs my ($slot_access) = @_;
16
171140µs return 'scalar @{ (' . $slot_access . ') }';
18}
19
20230µs2173µs
# spent 90µs (7+83) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@20 which was called: # once (7µs+83µs) by Module::Runtime::require_module at line 20
no Moose::Role;
# spent 90µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@20 # spent 83µs making 1 call to Moose::Role::unimport
21
2217µs1;