← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:11:21 2013

Filename/usr/lib/perl/5.10/mro.pm
StatementsExecuted 10 statements in 519µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
35811862µs862µsmro::::method_changed_in mro::method_changed_in (xsub)
11128µs38µsmro::::BEGIN@10 mro::BEGIN@10
31114µs14µsmro::::set_mro mro::set_mro (xsub)
11113µs34µsmro::::BEGIN@11 mro::BEGIN@11
0000s0smaybe::next::::methodmaybe::next::method
0000s0smro::::import mro::import
0000s0snext::::can next::can
0000s0snext::::method next::method
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# mro.pm
2#
3# Copyright (c) 2007 Brandon L Black
4# Copyright (c) 2008 Larry Wall and others
5#
6# You may distribute under the terms of either the GNU General Public
7# License or the Artistic License, as specified in the README file.
8#
9package mro;
10349µs248µs
# spent 38µs (28+10) within mro::BEGIN@10 which was called: # once (28µs+10µs) by Modern::Perl::BEGIN@20 at line 10
use strict;
# spent 38µs making 1 call to mro::BEGIN@10 # spent 10µs making 1 call to strict::import
113252µs255µs
# spent 34µs (13+21) within mro::BEGIN@11 which was called: # once (13µs+21µs) by Modern::Perl::BEGIN@20 at line 11
use warnings;
# spent 34µs making 1 call to mro::BEGIN@11 # spent 21µs making 1 call to warnings::import
12
13# mro.pm versions < 1.00 reserved for MRO::Compat
14# for partial back-compat to 5.[68].x
151700nsour $VERSION = '1.01';
16
17sub import {
18 mro::set_mro(scalar(caller), $_[1]) if $_[1];
19}
20
21package # hide me from PAUSE
22 next;
23
24sub can { mro::_nextcan($_[0], 0) }
25
26sub method {
27 my $method = mro::_nextcan($_[0], 1);
28 goto &$method;
29}
30
31package # hide me from PAUSE
32 maybe::next;
33
34sub method {
35 my $method = mro::_nextcan($_[0], 0);
36 goto &$method if defined $method;
37 return;
38}
39
401600nsrequire XSLoader;
411210µs1203µsXSLoader::load('mro', $VERSION);
# spent 203µs making 1 call to XSLoader::load
42
4317µs1;
44
45__END__
 
# spent 862µs within mro::method_changed_in which was called 358 times, avg 2µs/call: # 358 times (862µs+0s) by constant::import at line 113 of constant.pm, avg 2µs/call
sub mro::method_changed_in; # xsub
# spent 14µs within mro::set_mro which was called 3 times, avg 4µs/call: # 3 times (14µs+0s) by Modern::Perl::import at line 27 of Modern/Perl.pm, avg 4µs/call
sub mro::set_mro; # xsub