← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/dpath
  Run on Tue Jun 5 15:31:33 2012
Reported on Tue Jun 5 15:31:42 2012

Filename/home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/x86_64-linux-thread-multi/List/Util.pm
StatementsExecuted 11 statements in 1.44ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
711152µs403µsList::Util::::firstList::Util::first (xsub)
11160µs74µsList::Util::::BEGIN@11List::Util::BEGIN@11
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
112347µs287µs
# spent 74µs (60+13) within List::Util::BEGIN@11 which was called: # once (60µs+13µs) by Data::DPath::Context::BEGIN@17 at line 11
use strict;
# spent 74µs making 1 call to List::Util::BEGIN@11 # spent 14µs making 1 call to strict::import
1211µsrequire Exporter;
13
14126µsour @ISA = qw(Exporter);
15110µsour @EXPORT_OK = qw(first min max minstr maxstr reduce sum shuffle);
1612µsour $VERSION = "1.25";
1711µsour $XS_VERSION = $VERSION;
18158µs$VERSION = eval $VERSION;
# spent 9µs executing statements in string eval
19
2012µsrequire XSLoader;
211961µs1927µsXSLoader::load('List::Util', $XS_VERSION);
# spent 927µs making 1 call to XSLoader::load
22
23134µs1;
24
25__END__
 
# spent 403µs (152+251) within List::Util::first which was called 7 times, avg 58µs/call: # 7 times (152µs+251µs) by Data::OptList::__is_a at line 27 of Data/OptList.pm, avg 58µs/call
sub List::Util::first; # xsub