← Index
NYTProf Performance Profile   « block view • line view • sub view »
For conv.pl
  Run on Sun Nov 14 21:14:18 2010
Reported on Sun Nov 14 21:17:55 2010

Filename/usr/share/perl5/MARC/File/Encode.pm
StatementsExecuted 14 statements in 261µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11123µs29µsMARC::File::Encode::::BEGIN@19MARC::File::Encode::BEGIN@19
11120µs182µsMARC::File::Encode::::BEGIN@22MARC::File::Encode::BEGIN@22
11119µs130µsMARC::File::Encode::::BEGIN@21MARC::File::Encode::BEGIN@21
11117µs58µsMARC::File::Encode::::BEGIN@20MARC::File::Encode::BEGIN@20
0000s0sMARC::File::Encode::::marc_to_utf8MARC::File::Encode::marc_to_utf8
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
- -
19339µs235µs
# spent 29µs (23+6) within MARC::File::Encode::BEGIN@19 which was called: # once (23µs+6µs) by MARC::File::USMARC::BEGIN@13 at line 19
use strict;
# spent 29µs making 1 call to MARC::File::Encode::BEGIN@19 # spent 6µs making 1 call to strict::import
20345µs299µs
# spent 58µs (17+41) within MARC::File::Encode::BEGIN@20 which was called: # once (17µs+41µs) by MARC::File::USMARC::BEGIN@13 at line 20
use warnings;
# spent 58µs making 1 call to MARC::File::Encode::BEGIN@20 # spent 41µs making 1 call to warnings::import
21344µs2241µs
# spent 130µs (19+111) within MARC::File::Encode::BEGIN@21 which was called: # once (19µs+111µs) by MARC::File::USMARC::BEGIN@13 at line 21
use base qw( Exporter );
# spent 130µs making 1 call to MARC::File::Encode::BEGIN@21 # spent 111µs making 1 call to base::import
223126µs2344µs
# spent 182µs (20+162) within MARC::File::Encode::BEGIN@22 which was called: # once (20µs+162µs) by MARC::File::USMARC::BEGIN@13 at line 22
use Encode;
# spent 182µs making 1 call to MARC::File::Encode::BEGIN@22 # spent 162µs making 1 call to Exporter::import
23
2412µsour @EXPORT_OK = qw( marc_to_utf8 );
25
26=head2 marc_to_utf8()
27
- -
32sub marc_to_utf8 {
33 # if there is invalid utf8 date then this will through an exception
34 # let's just hope it's valid :-)
35 return decode( 'UTF-8', $_[0], 1 );
36}
37
3815µs1;