← Index
NYTProf Performance Profile   « line view »
For flows_to_es.pl
  Run on Mon May 9 23:27:59 2016
Reported on Mon May 9 23:28:08 2016

Filename/usr/lib/perl/5.18/List/Util.pm
StatementsExecuted 11 statements in 332µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
114258µs72µsList::Util::::firstList::Util::first (xsub)
11121µs21µsList::Util::::shuffleList::Util::shuffle (xsub)
11113µs29µsList::Util::::BEGIN@11List::Util::BEGIN@11
0000s0sList::Util::::sum0List::Util::sum0
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# List::Util.pm
2#
3# Copyright (c) 1997-2009 Graham Barr <gbarr@pobox.com>. All rights reserved.
4# This program is free software; you can redistribute it and/or
5# modify it under the same terms as Perl itself.
6#
7# This module is normally only loaded if the XS module is not available
8
9package List::Util;
10
112138µs244µs
# spent 29µs (13+15) within List::Util::BEGIN@11 which was called: # once (13µs+15µs) by main::BEGIN@124 at line 11
use strict;
# spent 29µs making 1 call to List::Util::BEGIN@11 # spent 15µs making 1 call to strict::import
121600nsrequire Exporter;
13
1416µsour @ISA = qw(Exporter);
1512µsour @EXPORT_OK = qw(first min max minstr maxstr reduce sum sum0 shuffle);
161300nsour $VERSION = "1.27";
171100nsour $XS_VERSION = $VERSION;
18112µs$VERSION = eval $VERSION;
# spent 2µs executing statements in string eval
19
201400nsrequire XSLoader;
211166µs1159µsXSLoader::load('List::Util', $XS_VERSION);
# spent 159µs making 1 call to XSLoader::load
22
23sub sum0
24{
25 return 0 unless @_;
26 goto &sum;
27}
28
2917µs1;
30
31__END__
 
# spent 72µs (58+14) within List::Util::first which was called 11 times, avg 7µs/call: # 3 times (25µs+5µs) by Data::OptList::__ANON__[/opt/flows/lib/lib/perl5/Data/OptList.pm:164] at line 164 of /opt/flows/lib/lib/perl5/Data/OptList.pm, avg 10µs/call # 3 times (14µs+4µs) by Sub::Exporter::Progressive::sub_export_options at line 71 of Sub/Exporter/Progressive.pm, avg 6µs/call # 3 times (10µs+0s) by Sub::Exporter::Progressive::sub_export_options at line 66 of Sub/Exporter/Progressive.pm, avg 3µs/call # 2 times (10µs+4µs) by Sub::Exporter::Progressive::__ANON__[/usr/share/perl5/Sub/Exporter/Progressive.pm:40] at line 26 of Sub/Exporter/Progressive.pm, avg 7µs/call
sub List::Util::first; # xsub
# spent 21µs within List::Util::shuffle which was called: # once (21µs+0s) by Search::Elasticsearch::Role::CxnPool::set_cxns at line 52 of /opt/flows/lib/lib/perl5/Search/Elasticsearch/Role/CxnPool.pm
sub List::Util::shuffle; # xsub