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

Filename/usr/share/perl5/MARC/Charset/Constants.pm
StatementsExecuted 78 statements in 1.42ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11122µs28µsMARC::Charset::Constants::::BEGIN@18MARC::Charset::Constants::BEGIN@18
11121µs90µsMARC::Charset::Constants::::BEGIN@31MARC::Charset::Constants::BEGIN@31
11119µs86µsMARC::Charset::Constants::::BEGIN@45MARC::Charset::Constants::BEGIN@45
11117µs40µsMARC::Charset::Constants::::BEGIN@19MARC::Charset::Constants::BEGIN@19
11116µs81µsMARC::Charset::Constants::::BEGIN@39MARC::Charset::Constants::BEGIN@39
11116µs83µsMARC::Charset::Constants::::BEGIN@27MARC::Charset::Constants::BEGIN@27
11116µs83µsMARC::Charset::Constants::::BEGIN@34MARC::Charset::Constants::BEGIN@34
11115µs79µsMARC::Charset::Constants::::BEGIN@32MARC::Charset::Constants::BEGIN@32
11115µs80µsMARC::Charset::Constants::::BEGIN@25MARC::Charset::Constants::BEGIN@25
11115µs82µsMARC::Charset::Constants::::BEGIN@47MARC::Charset::Constants::BEGIN@47
11115µs83µsMARC::Charset::Constants::::BEGIN@24MARC::Charset::Constants::BEGIN@24
11115µs84µsMARC::Charset::Constants::::BEGIN@40MARC::Charset::Constants::BEGIN@40
11114µs78µsMARC::Charset::Constants::::BEGIN@41MARC::Charset::Constants::BEGIN@41
11114µs92µsMARC::Charset::Constants::::BEGIN@29MARC::Charset::Constants::BEGIN@29
11114µs79µsMARC::Charset::Constants::::BEGIN@46MARC::Charset::Constants::BEGIN@46
11114µs80µsMARC::Charset::Constants::::BEGIN@30MARC::Charset::Constants::BEGIN@30
11114µs81µsMARC::Charset::Constants::::BEGIN@26MARC::Charset::Constants::BEGIN@26
11114µs100µsMARC::Charset::Constants::::BEGIN@20MARC::Charset::Constants::BEGIN@20
11114µs103µsMARC::Charset::Constants::::BEGIN@22MARC::Charset::Constants::BEGIN@22
11113µs77µsMARC::Charset::Constants::::BEGIN@42MARC::Charset::Constants::BEGIN@42
11113µs77µsMARC::Charset::Constants::::BEGIN@43MARC::Charset::Constants::BEGIN@43
11113µs78µsMARC::Charset::Constants::::BEGIN@36MARC::Charset::Constants::BEGIN@36
11113µs79µsMARC::Charset::Constants::::BEGIN@35MARC::Charset::Constants::BEGIN@35
11113µs79µsMARC::Charset::Constants::::BEGIN@44MARC::Charset::Constants::BEGIN@44
11112µs79µsMARC::Charset::Constants::::BEGIN@37MARC::Charset::Constants::BEGIN@37
0000s0sMARC::Charset::Constants::::charset_nameMARC::Charset::Constants::charset_name
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package MARC::Charset::Constants;
2
3=head1 NAME
4
- -
18339µs234µs
# spent 28µs (22+6) within MARC::Charset::Constants::BEGIN@18 which was called: # once (22µs+6µs) by MARC::Charset::Code::BEGIN@8 at line 18
use strict;
# spent 28µs making 1 call to MARC::Charset::Constants::BEGIN@18 # spent 6µs making 1 call to strict::import
19342µs263µs
# spent 40µs (17+23) within MARC::Charset::Constants::BEGIN@19 which was called: # once (17µs+23µs) by MARC::Charset::Code::BEGIN@8 at line 19
use warnings;
# spent 40µs making 1 call to MARC::Charset::Constants::BEGIN@19 # spent 23µs making 1 call to warnings::import
20347µs2186µs
# spent 100µs (14+86) within MARC::Charset::Constants::BEGIN@20 which was called: # once (14µs+86µs) by MARC::Charset::Code::BEGIN@8 at line 20
use base qw( Exporter );
# spent 100µs making 1 call to MARC::Charset::Constants::BEGIN@20 # spent 86µs making 1 call to base::import
21
22347µs2192µs
# spent 103µs (14+89) within MARC::Charset::Constants::BEGIN@22 which was called: # once (14µs+89µs) by MARC::Charset::Code::BEGIN@8 at line 22
use constant ESCAPE => chr(0x1B);
# spent 103µs making 1 call to MARC::Charset::Constants::BEGIN@22 # spent 89µs making 1 call to constant::import
23
24345µs2151µs
# spent 83µs (15+68) within MARC::Charset::Constants::BEGIN@24 which was called: # once (15µs+68µs) by MARC::Charset::Code::BEGIN@8 at line 24
use constant SINGLE_G0_A => chr(0x28);
# spent 83µs making 1 call to MARC::Charset::Constants::BEGIN@24 # spent 68µs making 1 call to constant::import
25352µs2145µs
# spent 80µs (15+65) within MARC::Charset::Constants::BEGIN@25 which was called: # once (15µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 25
use constant SINGLE_G0_B => chr(0x2C);
# spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@25 # spent 65µs making 1 call to constant::import
26350µs2148µs
# spent 81µs (14+67) within MARC::Charset::Constants::BEGIN@26 which was called: # once (14µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 26
use constant MULTI_G0_A => chr(0x24);
# spent 81µs making 1 call to MARC::Charset::Constants::BEGIN@26 # spent 67µs making 1 call to constant::import
27349µs2150µs
# spent 83µs (16+67) within MARC::Charset::Constants::BEGIN@27 which was called: # once (16µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 27
use constant MULTI_G0_B => chr(0x24) . chr(0x2C);
# spent 83µs making 1 call to MARC::Charset::Constants::BEGIN@27 # spent 67µs making 1 call to constant::import
28
29346µs2170µs
# spent 92µs (14+78) within MARC::Charset::Constants::BEGIN@29 which was called: # once (14µs+78µs) by MARC::Charset::Code::BEGIN@8 at line 29
use constant SINGLE_G1_A => chr(0x29);
# spent 92µs making 1 call to MARC::Charset::Constants::BEGIN@29 # spent 78µs making 1 call to constant::import
30348µs2146µs
# spent 80µs (14+66) within MARC::Charset::Constants::BEGIN@30 which was called: # once (14µs+66µs) by MARC::Charset::Code::BEGIN@8 at line 30
use constant SINGLE_G1_B => chr(0x2D);
# spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@30 # spent 66µs making 1 call to constant::import
31354µs2159µs
# spent 90µs (21+69) within MARC::Charset::Constants::BEGIN@31 which was called: # once (21µs+69µs) by MARC::Charset::Code::BEGIN@8 at line 31
use constant MULTI_G1_A => chr(0x24) . chr(0x29);
# spent 90µs making 1 call to MARC::Charset::Constants::BEGIN@31 # spent 69µs making 1 call to constant::import
32353µs2143µs
# spent 79µs (15+64) within MARC::Charset::Constants::BEGIN@32 which was called: # once (15µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 32
use constant MULTI_G1_B => chr(0x24) . chr(0x2D);
# spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@32 # spent 64µs making 1 call to constant::import
33
34344µs2150µs
# spent 83µs (16+67) within MARC::Charset::Constants::BEGIN@34 which was called: # once (16µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 34
use constant GREEK_SYMBOLS => chr(0x67);
# spent 83µs making 1 call to MARC::Charset::Constants::BEGIN@34 # spent 67µs making 1 call to constant::import
35343µs2145µs
# spent 79µs (13+66) within MARC::Charset::Constants::BEGIN@35 which was called: # once (13µs+66µs) by MARC::Charset::Code::BEGIN@8 at line 35
use constant SUBSCRIPTS => chr(0x62);
# spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@35 # spent 66µs making 1 call to constant::import
36361µs2143µs
# spent 78µs (13+65) within MARC::Charset::Constants::BEGIN@36 which was called: # once (13µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 36
use constant SUPERSCRIPTS => chr(0x70);
# spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@36 # spent 65µs making 1 call to constant::import
37350µs2146µs
# spent 79µs (12+67) within MARC::Charset::Constants::BEGIN@37 which was called: # once (12µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 37
use constant ASCII_DEFAULT => chr(0x73);
# spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@37 # spent 67µs making 1 call to constant::import
38
39345µs2146µs
# spent 81µs (16+65) within MARC::Charset::Constants::BEGIN@39 which was called: # once (16µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 39
use constant BASIC_ARABIC => chr(0x33);
# spent 81µs making 1 call to MARC::Charset::Constants::BEGIN@39 # spent 65µs making 1 call to constant::import
40345µs2153µs
# spent 84µs (15+69) within MARC::Charset::Constants::BEGIN@40 which was called: # once (15µs+69µs) by MARC::Charset::Code::BEGIN@8 at line 40
use constant EXTENDED_ARABIC => chr(0x34);
# spent 84µs making 1 call to MARC::Charset::Constants::BEGIN@40 # spent 69µs making 1 call to constant::import
41349µs2142µs
# spent 78µs (14+64) within MARC::Charset::Constants::BEGIN@41 which was called: # once (14µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 41
use constant BASIC_LATIN => chr(0x42);
# spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@41 # spent 64µs making 1 call to constant::import
42342µs2141µs
# spent 77µs (13+64) within MARC::Charset::Constants::BEGIN@42 which was called: # once (13µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 42
use constant EXTENDED_LATIN => chr(0x45);
# spent 77µs making 1 call to MARC::Charset::Constants::BEGIN@42 # spent 64µs making 1 call to constant::import
43342µs2141µs
# spent 77µs (13+64) within MARC::Charset::Constants::BEGIN@43 which was called: # once (13µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 43
use constant CJK => chr(0x31);
# spent 77µs making 1 call to MARC::Charset::Constants::BEGIN@43 # spent 64µs making 1 call to constant::import
44348µs2145µs
# spent 79µs (13+66) within MARC::Charset::Constants::BEGIN@44 which was called: # once (13µs+66µs) by MARC::Charset::Code::BEGIN@8 at line 44
use constant BASIC_CYRILLIC => chr(0x4E);
# spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@44 # spent 66µs making 1 call to constant::import
45343µs2153µs
# spent 86µs (19+67) within MARC::Charset::Constants::BEGIN@45 which was called: # once (19µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 45
use constant EXTENDED_CYRILLIC => chr(0x51);
# spent 86µs making 1 call to MARC::Charset::Constants::BEGIN@45 # spent 67µs making 1 call to constant::import
46343µs2144µs
# spent 79µs (14+65) within MARC::Charset::Constants::BEGIN@46 which was called: # once (14µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 46
use constant BASIC_GREEK => chr(0x53);
# spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@46 # spent 65µs making 1 call to constant::import
473264µs2149µs
# spent 82µs (15+67) within MARC::Charset::Constants::BEGIN@47 which was called: # once (15µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 47
use constant BASIC_HEBREW => chr(0x32);
# spent 82µs making 1 call to MARC::Charset::Constants::BEGIN@47 # spent 67µs making 1 call to constant::import
48
4919µsour %EXPORT_TAGS = ( all => [ qw(
50 ESCAPE GREEK_SYMBOLS SUBSCRIPTS SUPERSCRIPTS ASCII_DEFAULT
51 SINGLE_G0_A SINGLE_G0_B MULTI_G0_A MULTI_G0_B SINGLE_G1_A
52 SINGLE_G1_B MULTI_G1_A MULTI_G1_B BASIC_ARABIC
53 EXTENDED_ARABIC BASIC_LATIN EXTENDED_LATIN CJK BASIC_CYRILLIC
54 EXTENDED_CYRILLIC BASIC_GREEK BASIC_HEBREW) ]);
55
5617µsour @EXPORT_OK = qw(
57 ESCAPE GREEK_SYMBOLS SUBSCRIPTS SUPERSCRIPTS ASCII_DEFAULT
58 SINGLE_G0_A SINGLE_G0_B MULTI_G0_A MULTI_G0_B SINGLE_G1_A
59 SINGLE_G1_B MULTI_G1_A MULTI_G1_B BASIC_ARABIC
60 EXTENDED_ARABIC BASIC_LATIN EXTENDED_LATIN CJK BASIC_CYRILLIC
61 EXTENDED_CYRILLIC BASIC_GREEK BASIC_HEBREW);
62
63sub charset_name
64{
65 my $charset = shift;
66 return 'GREEK_SYMBOLS' if $charset eq GREEK_SYMBOLS;
67 return 'SUBSCRIPTS' if $charset eq SUBSCRIPTS;
68 return 'SUPERSCRIPTS' if $charset eq SUPERSCRIPTS;
69 return 'ASCII_DEFAULT' if $charset eq ASCII_DEFAULT;
70 return 'BASIC_ARABIC' if $charset eq BASIC_ARABIC;
71 return 'EXTENDED_ARABIC' if $charset eq EXTENDED_ARABIC;
72 return 'BASIC_LATIN' if $charset eq BASIC_LATIN;
73 return 'EXTENDED_LATIN' if $charset eq EXTENDED_LATIN;
74 return 'CJK' if $charset eq CJK;
75 return 'BASIC_CYRILLIC' if $charset eq BASIC_CYRILLIC;
76 return 'EXTENDED_CYRILLIC' if $charset eq EXTENDED_CYRILLIC;
77 return 'BASIC_GREEK' if $charset eq BASIC_GREEK;
78 return 'BASIC_HEBREW' if $charset eq BASIC_HEBREW;
79}
80
81
82112µs1;