← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:26:38 2011

Filename/usr/lib/perl/5.14/List/Util.pm
StatementsExecuted 18 statements in 642µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11124µs32µsList::Util::::BEGIN@11List::Util::BEGIN@11
11116µs176µsList::Util::::BEGIN@12List::Util::BEGIN@12
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
11249µs239µs
# spent 32µs (24+7) within List::Util::BEGIN@11 which was called: # once (24µs+7µs) by Error::BEGIN@46 at line 11
use strict;
# spent 32µs making 1 call to List::Util::BEGIN@11 # spent 7µs making 1 call to strict::import
122232µs2337µs
# spent 176µs (16+161) within List::Util::BEGIN@12 which was called: # once (16µs+161µs) by Error::BEGIN@46 at line 12
use vars qw(@ISA @EXPORT_OK $VERSION $XS_VERSION $TESTING_PERL_ONLY);
# spent 176µs making 1 call to List::Util::BEGIN@12 # spent 161µs making 1 call to vars::import
1312µsrequire Exporter;
14
1519µs@ISA = qw(Exporter);
1614µs@EXPORT_OK = qw(first min max minstr maxstr reduce sum shuffle);
1712µs$VERSION = "1.23";
1811µs$XS_VERSION = $VERSION;
19122µs$VERSION = eval $VERSION;
# spent 4µs executing statements in string eval
20
2138µseval {
22 # PERL_DL_NONLAZY must be false, or any errors in loading will just
23 # cause the perl code to be tested
24 local $ENV{PERL_DL_NONLAZY} = 0 if $ENV{PERL_DL_NONLAZY};
25 eval {
26 require XSLoader;
271277µs XSLoader::load('List::Util', $XS_VERSION);
# spent 277µs making 1 call to XSLoader::load
28 1;
293294µs } or do {
30 require DynaLoader;
31 local @ISA = qw(DynaLoader);
32 bootstrap List::Util $XS_VERSION;
33 };
34} unless $TESTING_PERL_ONLY;
35
3612µsif (!defined &sum) {
37 require List::Util::PP;
38 List::Util::PP->import;
39}
40
41118µs1;
42
43__END__