← 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:53 2013

Filename/usr/share/perl5/MARC/File/Encode.pm
StatementsExecuted 558 statements in 2.78ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
544112.45ms25.7msMARC::File::Encode::::marc_to_utf8MARC::File::Encode::marc_to_utf8
11130µs138µsMARC::File::Encode::::BEGIN@21MARC::File::Encode::BEGIN@21
11118µs22µsMARC::File::Encode::::BEGIN@19MARC::File::Encode::BEGIN@19
11118µs111µsMARC::File::Encode::::BEGIN@22MARC::File::Encode::BEGIN@22
11113µs48µsMARC::File::Encode::::BEGIN@20MARC::File::Encode::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 MARC::File::Encode;
2
3=head1 NAME
4
- -
19329µs226µs
# spent 22µs (18+4) within MARC::File::Encode::BEGIN@19 which was called: # once (18µs+4µs) by MARC::File::USMARC::BEGIN@13 at line 19
use strict;
# spent 22µs making 1 call to MARC::File::Encode::BEGIN@19 # spent 4µs making 1 call to strict::import
20380µs283µs
# spent 48µs (13+35) within MARC::File::Encode::BEGIN@20 which was called: # once (13µs+35µs) by MARC::File::USMARC::BEGIN@13 at line 20
use warnings;
# spent 48µs making 1 call to MARC::File::Encode::BEGIN@20 # spent 35µs making 1 call to warnings::import
21342µs2246µs
# spent 138µs (30+108) within MARC::File::Encode::BEGIN@21 which was called: # once (30µs+108µs) by MARC::File::USMARC::BEGIN@13 at line 21
use base qw( Exporter );
# spent 138µs making 1 call to MARC::File::Encode::BEGIN@21 # spent 108µs making 1 call to base::import
22380µs2205µs
# spent 111µs (18+93) within MARC::File::Encode::BEGIN@22 which was called: # once (18µs+93µs) by MARC::File::USMARC::BEGIN@13 at line 22
use Encode;
# spent 111µs making 1 call to MARC::File::Encode::BEGIN@22 # spent 94µs making 1 call to Exporter::import
23
2411µsour @EXPORT_OK = qw( marc_to_utf8 );
25
26=head2 marc_to_utf8()
27
- -
32
# spent 25.7ms (2.45+23.2) within MARC::File::Encode::marc_to_utf8 which was called 544 times, avg 47µs/call: # 544 times (2.45ms+23.2ms) by MARC::File::USMARC::decode at line 171 of MARC/File/USMARC.pm, avg 47µs/call
sub marc_to_utf8 {
33 # if there is invalid utf8 date then this will through an exception
34 # let's just hope it's valid :-)
355442.54ms54423.2ms return decode( 'UTF-8', $_[0], 1 );
# spent 23.2ms making 544 calls to Encode::decode, avg 43µs/call
36}
37
3813µs1;