| Filename | /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/Encode.pm |
| Statements | Executed 7397 statements in 7.09ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 2439 | 1 | 1 | 4.03ms | 4.66ms | Encode::encode_utf8 |
| 2439 | 1 | 1 | 1.67ms | 1.67ms | Encode::_utf8_on (xsub) |
| 1 | 1 | 1 | 872µs | 1.04ms | Encode::BEGIN@8 |
| 1 | 1 | 1 | 859µs | 1.13ms | Encode::BEGIN@47 |
| 2439 | 1 | 1 | 801µs | 801µs | Encode::is_utf8 (xsub) |
| 1 | 1 | 1 | 272µs | 294µs | Encode::predefine_encodings |
| 1 | 1 | 1 | 105µs | 106µs | Encode::utf8::BEGIN@323 |
| 4 | 1 | 1 | 9µs | 9µs | Encode::define_encoding |
| 1 | 1 | 1 | 9µs | 18µs | Encode::BEGIN@12 |
| 1 | 1 | 1 | 6µs | 13µs | Encode::BEGIN@240 |
| 1 | 1 | 1 | 6µs | 13µs | Encode::BEGIN@5 |
| 1 | 1 | 1 | 3µs | 5µs | Encode::BEGIN@6 |
| 1 | 1 | 1 | 2µs | 2µs | Encode::CORE:match (opcode) |
| 1 | 1 | 1 | 2µs | 2µs | Encode::BEGIN@9 |
| 0 | 0 | 0 | 0s | 0s | Encode::Internal::__ANON__[:283] |
| 0 | 0 | 0 | 0s | 0s | Encode::UTF_EBCDIC::__ANON__[:258] |
| 0 | 0 | 0 | 0s | 0s | Encode::UTF_EBCDIC::__ANON__[:270] |
| 0 | 0 | 0 | 0s | 0s | Encode::clone_encoding |
| 0 | 0 | 0 | 0s | 0s | Encode::decode |
| 0 | 0 | 0 | 0s | 0s | Encode::decode_utf8 |
| 0 | 0 | 0 | 0s | 0s | Encode::encode |
| 0 | 0 | 0 | 0s | 0s | Encode::encodings |
| 0 | 0 | 0 | 0s | 0s | Encode::find_encoding |
| 0 | 0 | 0 | 0s | 0s | Encode::from_to |
| 0 | 0 | 0 | 0s | 0s | Encode::getEncoding |
| 0 | 0 | 0 | 0s | 0s | Encode::perlio_ok |
| 0 | 0 | 0 | 0s | 0s | Encode::resolve_alias |
| 0 | 0 | 0 | 0s | 0s | Encode::utf8::__ANON__[:311] |
| 0 | 0 | 0 | 0s | 0s | Encode::utf8::__ANON__[:317] |
| 0 | 0 | 0 | 0s | 0s | Encode::utf8::__ANON__[:333] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # | ||||
| 2 | # $Id: Encode.pm,v 2.60 2014/04/29 16:26:49 dankogai Exp dankogai $ | ||||
| 3 | # | ||||
| 4 | package Encode; | ||||
| 5 | 2 | 12µs | 2 | 20µs | # spent 13µs (6+7) within Encode::BEGIN@5 which was called:
# once (6µs+7µs) by Date::Manip::Base::BEGIN@24 at line 5 # spent 13µs making 1 call to Encode::BEGIN@5
# spent 7µs making 1 call to strict::import |
| 6 | 2 | 31µs | 2 | 8µs | # spent 5µs (3+2) within Encode::BEGIN@6 which was called:
# once (3µs+2µs) by Date::Manip::Base::BEGIN@24 at line 6 # spent 5µs making 1 call to Encode::BEGIN@6
# spent 2µs making 1 call to warnings::import |
| 7 | 1 | 7µs | 1 | 2µs | our $VERSION = sprintf "%d.%02d", q$Revision: 2.60_01 $ =~ /(\d+)/g; # spent 2µs making 1 call to Encode::CORE:match |
| 8 | 2 | 66µs | 2 | 1.06ms | # spent 1.04ms (872µs+169µs) within Encode::BEGIN@8 which was called:
# once (872µs+169µs) by Date::Manip::Base::BEGIN@24 at line 8 # spent 1.04ms making 1 call to Encode::BEGIN@8
# spent 23µs making 1 call to constant::import |
| 9 | 2 | 20µs | 1 | 2µs | # spent 2µs within Encode::BEGIN@9 which was called:
# once (2µs+0s) by Date::Manip::Base::BEGIN@24 at line 9 # spent 2µs making 1 call to Encode::BEGIN@9 |
| 10 | 1 | 100µs | 1 | 115µs | XSLoader::load( __PACKAGE__, $VERSION ); # spent 115µs making 1 call to XSLoader::load |
| 11 | |||||
| 12 | 3 | 82µs | 3 | 26µs | # spent 18µs (9+9) within Encode::BEGIN@12 which was called:
# once (9µs+9µs) by Date::Manip::Base::BEGIN@24 at line 12 # spent 18µs making 1 call to Encode::BEGIN@12
# spent 5µs making 1 call to UNIVERSAL::VERSION
# spent 4µs making 1 call to Exporter::import |
| 13 | |||||
| 14 | # Public, encouraged API is exported by default | ||||
| 15 | |||||
| 16 | 1 | 800ns | our @EXPORT = qw( | ||
| 17 | decode decode_utf8 encode encode_utf8 str2bytes bytes2str | ||||
| 18 | encodings find_encoding clone_encoding | ||||
| 19 | ); | ||||
| 20 | 1 | 500ns | our @FB_FLAGS = qw( | ||
| 21 | DIE_ON_ERR WARN_ON_ERR RETURN_ON_ERR LEAVE_SRC | ||||
| 22 | PERLQQ HTMLCREF XMLCREF STOP_AT_PARTIAL | ||||
| 23 | ); | ||||
| 24 | 1 | 500ns | our @FB_CONSTS = qw( | ||
| 25 | FB_DEFAULT FB_CROAK FB_QUIET FB_WARN | ||||
| 26 | FB_PERLQQ FB_HTMLCREF FB_XMLCREF | ||||
| 27 | ); | ||||
| 28 | 1 | 1µs | our @EXPORT_OK = ( | ||
| 29 | qw( | ||||
| 30 | _utf8_off _utf8_on define_encoding from_to is_16bit is_8bit | ||||
| 31 | is_utf8 perlio_ok resolve_alias utf8_downgrade utf8_upgrade | ||||
| 32 | ), | ||||
| 33 | @FB_FLAGS, @FB_CONSTS, | ||||
| 34 | ); | ||||
| 35 | |||||
| 36 | 1 | 4µs | our %EXPORT_TAGS = ( | ||
| 37 | all => [ @EXPORT, @EXPORT_OK ], | ||||
| 38 | default => [ @EXPORT ], | ||||
| 39 | fallbacks => [ @FB_CONSTS ], | ||||
| 40 | fallback_all => [ @FB_CONSTS, @FB_FLAGS ], | ||||
| 41 | ); | ||||
| 42 | |||||
| 43 | # Documentation moved after __END__ for speed - NI-S | ||||
| 44 | |||||
| 45 | 1 | 300ns | our $ON_EBCDIC = ( ord("A") == 193 ); | ||
| 46 | |||||
| 47 | 2 | 595µs | 2 | 1.15ms | # spent 1.13ms (859µs+272µs) within Encode::BEGIN@47 which was called:
# once (859µs+272µs) by Date::Manip::Base::BEGIN@24 at line 47 # spent 1.13ms making 1 call to Encode::BEGIN@47
# spent 17µs making 1 call to Exporter::import |
| 48 | |||||
| 49 | # Make a %Encoding package variable to allow a certain amount of cheating | ||||
| 50 | 1 | 100ns | our %Encoding; | ||
| 51 | 1 | 0s | our %ExtModule; | ||
| 52 | 1 | 68µs | require Encode::Config; | ||
| 53 | # See | ||||
| 54 | # https://bugzilla.redhat.com/show_bug.cgi?id=435505#c2 | ||||
| 55 | # to find why sig handlers inside eval{} are disabled. | ||||
| 56 | 1 | 200ns | eval { | ||
| 57 | 1 | 1µs | local $SIG{__DIE__}; | ||
| 58 | 1 | 400ns | local $SIG{__WARN__}; | ||
| 59 | 1 | 34µs | require Encode::ConfigLocal; | ||
| 60 | }; | ||||
| 61 | |||||
| 62 | sub encodings { | ||||
| 63 | my %enc; | ||||
| 64 | my $arg = $_[1] || ''; | ||||
| 65 | if ( $arg eq ":all" ) { | ||||
| 66 | %enc = ( %Encoding, %ExtModule ); | ||||
| 67 | } | ||||
| 68 | else { | ||||
| 69 | %enc = %Encoding; | ||||
| 70 | for my $mod ( map { m/::/ ? $_ : "Encode::$_" } @_ ) { | ||||
| 71 | DEBUG and warn $mod; | ||||
| 72 | for my $enc ( keys %ExtModule ) { | ||||
| 73 | $ExtModule{$enc} eq $mod and $enc{$enc} = $mod; | ||||
| 74 | } | ||||
| 75 | } | ||||
| 76 | } | ||||
| 77 | return sort { lc $a cmp lc $b } | ||||
| 78 | grep { !/^(?:Internal|Unicode|Guess)$/o } keys %enc; | ||||
| 79 | } | ||||
| 80 | |||||
| 81 | sub perlio_ok { | ||||
| 82 | my $obj = ref( $_[0] ) ? $_[0] : find_encoding( $_[0] ); | ||||
| 83 | $obj->can("perlio_ok") and return $obj->perlio_ok(); | ||||
| 84 | return 0; # safety net | ||||
| 85 | } | ||||
| 86 | |||||
| 87 | # spent 9µs within Encode::define_encoding which was called 4 times, avg 2µs/call:
# 4 times (9µs+0s) by XSLoader::load at line 92 of XSLoader.pm, avg 2µs/call | ||||
| 88 | 4 | 600ns | my $obj = shift; | ||
| 89 | 4 | 600ns | my $name = shift; | ||
| 90 | 4 | 1µs | $Encoding{$name} = $obj; | ||
| 91 | 4 | 1µs | my $lc = lc($name); | ||
| 92 | 4 | 400ns | define_alias( $lc => $obj ) unless $lc eq $name; | ||
| 93 | 4 | 800ns | while (@_) { | ||
| 94 | my $alias = shift; | ||||
| 95 | define_alias( $alias, $obj ); | ||||
| 96 | } | ||||
| 97 | 4 | 6µs | return $obj; | ||
| 98 | } | ||||
| 99 | |||||
| 100 | sub getEncoding { | ||||
| 101 | my ( $class, $name, $skip_external ) = @_; | ||||
| 102 | |||||
| 103 | $name =~ s/\s+//g; # https://rt.cpan.org/Ticket/Display.html?id=65796 | ||||
| 104 | |||||
| 105 | ref($name) && $name->can('renew') and return $name; | ||||
| 106 | exists $Encoding{$name} and return $Encoding{$name}; | ||||
| 107 | my $lc = lc $name; | ||||
| 108 | exists $Encoding{$lc} and return $Encoding{$lc}; | ||||
| 109 | |||||
| 110 | my $oc = $class->find_alias($name); | ||||
| 111 | defined($oc) and return $oc; | ||||
| 112 | $lc ne $name and $oc = $class->find_alias($lc); | ||||
| 113 | defined($oc) and return $oc; | ||||
| 114 | |||||
| 115 | unless ($skip_external) { | ||||
| 116 | if ( my $mod = $ExtModule{$name} || $ExtModule{$lc} ) { | ||||
| 117 | $mod =~ s,::,/,g; | ||||
| 118 | $mod .= '.pm'; | ||||
| 119 | eval { require $mod; }; | ||||
| 120 | exists $Encoding{$name} and return $Encoding{$name}; | ||||
| 121 | } | ||||
| 122 | } | ||||
| 123 | return; | ||||
| 124 | } | ||||
| 125 | |||||
| 126 | sub find_encoding($;$) { | ||||
| 127 | my ( $name, $skip_external ) = @_; | ||||
| 128 | return __PACKAGE__->getEncoding( $name, $skip_external ); | ||||
| 129 | } | ||||
| 130 | |||||
| 131 | sub resolve_alias($) { | ||||
| 132 | my $obj = find_encoding(shift); | ||||
| 133 | defined $obj and return $obj->name; | ||||
| 134 | return; | ||||
| 135 | } | ||||
| 136 | |||||
| 137 | sub clone_encoding($) { | ||||
| 138 | my $obj = find_encoding(shift); | ||||
| 139 | ref $obj or return; | ||||
| 140 | eval { require Storable }; | ||||
| 141 | $@ and return; | ||||
| 142 | return Storable::dclone($obj); | ||||
| 143 | } | ||||
| 144 | |||||
| 145 | sub encode($$;$) { | ||||
| 146 | my ( $name, $string, $check ) = @_; | ||||
| 147 | return undef unless defined $string; | ||||
| 148 | $string .= ''; # stringify; | ||||
| 149 | $check ||= 0; | ||||
| 150 | unless ( defined $name ) { | ||||
| 151 | require Carp; | ||||
| 152 | Carp::croak("Encoding name should not be undef"); | ||||
| 153 | } | ||||
| 154 | my $enc = find_encoding($name); | ||||
| 155 | unless ( defined $enc ) { | ||||
| 156 | require Carp; | ||||
| 157 | Carp::croak("Unknown encoding '$name'"); | ||||
| 158 | } | ||||
| 159 | my $octets = $enc->encode( $string, $check ); | ||||
| 160 | $_[1] = $string if $check and !ref $check and !( $check & LEAVE_SRC() ); | ||||
| 161 | return $octets; | ||||
| 162 | } | ||||
| 163 | 1 | 800ns | *str2bytes = \&encode; | ||
| 164 | |||||
| 165 | sub decode($$;$) { | ||||
| 166 | my ( $name, $octets, $check ) = @_; | ||||
| 167 | return undef unless defined $octets; | ||||
| 168 | $octets .= ''; | ||||
| 169 | $check ||= 0; | ||||
| 170 | my $enc = find_encoding($name); | ||||
| 171 | unless ( defined $enc ) { | ||||
| 172 | require Carp; | ||||
| 173 | Carp::croak("Unknown encoding '$name'"); | ||||
| 174 | } | ||||
| 175 | my $string = $enc->decode( $octets, $check ); | ||||
| 176 | $_[1] = $octets if $check and !ref $check and !( $check & LEAVE_SRC() ); | ||||
| 177 | return $string; | ||||
| 178 | } | ||||
| 179 | 1 | 300ns | *bytes2str = \&decode; | ||
| 180 | |||||
| 181 | sub from_to($$$;$) { | ||||
| 182 | my ( $string, $from, $to, $check ) = @_; | ||||
| 183 | return undef unless defined $string; | ||||
| 184 | $check ||= 0; | ||||
| 185 | my $f = find_encoding($from); | ||||
| 186 | unless ( defined $f ) { | ||||
| 187 | require Carp; | ||||
| 188 | Carp::croak("Unknown encoding '$from'"); | ||||
| 189 | } | ||||
| 190 | my $t = find_encoding($to); | ||||
| 191 | unless ( defined $t ) { | ||||
| 192 | require Carp; | ||||
| 193 | Carp::croak("Unknown encoding '$to'"); | ||||
| 194 | } | ||||
| 195 | my $uni = $f->decode($string); | ||||
| 196 | $_[0] = $string = $t->encode( $uni, $check ); | ||||
| 197 | return undef if ( $check && length($uni) ); | ||||
| 198 | return defined( $_[0] ) ? length($string) : undef; | ||||
| 199 | } | ||||
| 200 | |||||
| 201 | # spent 4.66ms (4.03+627µs) within Encode::encode_utf8 which was called 2439 times, avg 2µs/call:
# 2439 times (4.03ms+627µs) by Date::Manip::Base::_encoding at line 2397 of Date/Manip/Base.pm, avg 2µs/call | ||||
| 202 | 2439 | 371µs | my ($str) = @_; | ||
| 203 | 2439 | 2.85ms | 2439 | 627µs | utf8::encode($str); # spent 627µs making 2439 calls to utf8::encode, avg 257ns/call |
| 204 | 2439 | 2.36ms | return $str; | ||
| 205 | } | ||||
| 206 | |||||
| 207 | 1 | 100ns | my $utf8enc; | ||
| 208 | |||||
| 209 | sub decode_utf8($;$) { | ||||
| 210 | my ( $octets, $check ) = @_; | ||||
| 211 | return undef unless defined $octets; | ||||
| 212 | $octets .= ''; | ||||
| 213 | $check ||= 0; | ||||
| 214 | $utf8enc ||= find_encoding('utf8'); | ||||
| 215 | my $string = $utf8enc->decode( $octets, $check ); | ||||
| 216 | $_[0] = $octets if $check and !ref $check and !( $check & LEAVE_SRC() ); | ||||
| 217 | return $string; | ||||
| 218 | } | ||||
| 219 | |||||
| 220 | # sub decode_utf8($;$) { | ||||
| 221 | # my ( $str, $check ) = @_; | ||||
| 222 | # return $str if is_utf8($str); | ||||
| 223 | # if ($check) { | ||||
| 224 | # return decode( "utf8", $str, $check ); | ||||
| 225 | # } | ||||
| 226 | # else { | ||||
| 227 | # return decode( "utf8", $str ); | ||||
| 228 | # return $str; | ||||
| 229 | # } | ||||
| 230 | # } | ||||
| 231 | |||||
| 232 | 1 | 1µs | 1 | 294µs | predefine_encodings(1); # spent 294µs making 1 call to Encode::predefine_encodings |
| 233 | |||||
| 234 | # | ||||
| 235 | # This is to restore %Encoding if really needed; | ||||
| 236 | # | ||||
| 237 | |||||
| 238 | # spent 294µs (272+22) within Encode::predefine_encodings which was called:
# once (272µs+22µs) by Date::Manip::Base::BEGIN@24 at line 232 | ||||
| 239 | 1 | 42µs | require Encode::Encoding; | ||
| 240 | 2 | 240µs | 2 | 19µs | # spent 13µs (6+7) within Encode::BEGIN@240 which was called:
# once (6µs+7µs) by Date::Manip::Base::BEGIN@24 at line 240 # spent 13µs making 1 call to Encode::BEGIN@240
# spent 7µs making 1 call to warnings::unimport |
| 241 | 1 | 200ns | my $use_xs = shift; | ||
| 242 | 1 | 300ns | if ($ON_EBCDIC) { | ||
| 243 | |||||
| 244 | # was in Encode::UTF_EBCDIC | ||||
| 245 | package Encode::UTF_EBCDIC; | ||||
| 246 | push @Encode::UTF_EBCDIC::ISA, 'Encode::Encoding'; | ||||
| 247 | *decode = sub { | ||||
| 248 | my ( undef, $str, $chk ) = @_; | ||||
| 249 | my $res = ''; | ||||
| 250 | for ( my $i = 0 ; $i < length($str) ; $i++ ) { | ||||
| 251 | $res .= | ||||
| 252 | chr( | ||||
| 253 | utf8::unicode_to_native( ord( substr( $str, $i, 1 ) ) ) | ||||
| 254 | ); | ||||
| 255 | } | ||||
| 256 | $_[1] = '' if $chk; | ||||
| 257 | return $res; | ||||
| 258 | }; | ||||
| 259 | *encode = sub { | ||||
| 260 | my ( undef, $str, $chk ) = @_; | ||||
| 261 | my $res = ''; | ||||
| 262 | for ( my $i = 0 ; $i < length($str) ; $i++ ) { | ||||
| 263 | $res .= | ||||
| 264 | chr( | ||||
| 265 | utf8::native_to_unicode( ord( substr( $str, $i, 1 ) ) ) | ||||
| 266 | ); | ||||
| 267 | } | ||||
| 268 | $_[1] = '' if $chk; | ||||
| 269 | return $res; | ||||
| 270 | }; | ||||
| 271 | $Encode::Encoding{Unicode} = | ||||
| 272 | bless { Name => "UTF_EBCDIC" } => "Encode::UTF_EBCDIC"; | ||||
| 273 | } | ||||
| 274 | else { | ||||
| 275 | |||||
| 276 | package Encode::Internal; | ||||
| 277 | 1 | 3µs | push @Encode::Internal::ISA, 'Encode::Encoding'; | ||
| 278 | *decode = sub { | ||||
| 279 | my ( undef, $str, $chk ) = @_; | ||||
| 280 | utf8::upgrade($str); | ||||
| 281 | $_[1] = '' if $chk; | ||||
| 282 | return $str; | ||||
| 283 | 1 | 2µs | }; | ||
| 284 | 1 | 200ns | *encode = \&decode; | ||
| 285 | 1 | 1µs | $Encode::Encoding{Unicode} = | ||
| 286 | bless { Name => "Internal" } => "Encode::Internal"; | ||||
| 287 | } | ||||
| 288 | |||||
| 289 | { | ||||
| 290 | |||||
| 291 | # was in Encode::utf8 | ||||
| 292 | 1 | 2µs | package Encode::utf8; | ||
| 293 | 1 | 1µs | push @Encode::utf8::ISA, 'Encode::Encoding'; | ||
| 294 | |||||
| 295 | # | ||||
| 296 | 1 | 300ns | if ($use_xs) { | ||
| 297 | Encode::DEBUG and warn __PACKAGE__, " XS on"; | ||||
| 298 | 1 | 200ns | *decode = \&decode_xs; | ||
| 299 | 1 | 200ns | *encode = \&encode_xs; | ||
| 300 | } | ||||
| 301 | else { | ||||
| 302 | Encode::DEBUG and warn __PACKAGE__, " XS off"; | ||||
| 303 | *decode = sub { | ||||
| 304 | my ( undef, $octets, $chk ) = @_; | ||||
| 305 | my $str = Encode::decode_utf8($octets); | ||||
| 306 | if ( defined $str ) { | ||||
| 307 | $_[1] = '' if $chk; | ||||
| 308 | return $str; | ||||
| 309 | } | ||||
| 310 | return undef; | ||||
| 311 | }; | ||||
| 312 | *encode = sub { | ||||
| 313 | my ( undef, $string, $chk ) = @_; | ||||
| 314 | my $octets = Encode::encode_utf8($string); | ||||
| 315 | $_[1] = '' if $chk; | ||||
| 316 | return $octets; | ||||
| 317 | }; | ||||
| 318 | } | ||||
| 319 | *cat_decode = sub { # ($obj, $dst, $src, $pos, $trm, $chk) | ||||
| 320 | # currently ignores $chk | ||||
| 321 | my ( undef, undef, undef, $pos, $trm ) = @_; | ||||
| 322 | my ( $rdst, $rsrc, $rpos ) = \@_[ 1, 2, 3 ]; | ||||
| 323 | 2 | 176µs | 2 | 108µs | # spent 106µs (105+1) within Encode::utf8::BEGIN@323 which was called:
# once (105µs+1µs) by Date::Manip::Base::BEGIN@24 at line 323 # spent 106µs making 1 call to Encode::utf8::BEGIN@323
# spent 1µs making 1 call to bytes::import |
| 324 | if ( ( my $npos = index( $$rsrc, $trm, $pos ) ) >= 0 ) { | ||||
| 325 | $$rdst .= | ||||
| 326 | substr( $$rsrc, $pos, $npos - $pos + length($trm) ); | ||||
| 327 | $$rpos = $npos + length($trm); | ||||
| 328 | return 1; | ||||
| 329 | } | ||||
| 330 | $$rdst .= substr( $$rsrc, $pos ); | ||||
| 331 | $$rpos = length($$rsrc); | ||||
| 332 | return ''; | ||||
| 333 | 1 | 1µs | }; | ||
| 334 | 1 | 700ns | $Encode::Encoding{utf8} = | ||
| 335 | bless { Name => "utf8" } => "Encode::utf8"; | ||||
| 336 | 1 | 900ns | $Encode::Encoding{"utf-8-strict"} = | ||
| 337 | bless { Name => "utf-8-strict", strict_utf8 => 1 } | ||||
| 338 | => "Encode::utf8"; | ||||
| 339 | } | ||||
| 340 | } | ||||
| 341 | |||||
| 342 | 1 | 6µs | 1; | ||
| 343 | |||||
| 344 | __END__ | ||||
# spent 2µs within Encode::CORE:match which was called:
# once (2µs+0s) by Date::Manip::Base::BEGIN@24 at line 7 | |||||
# spent 1.67ms within Encode::_utf8_on which was called 2439 times, avg 683ns/call:
# 2439 times (1.67ms+0s) by Date::Manip::Base::_encoding at line 2398 of Date/Manip/Base.pm, avg 683ns/call | |||||
# spent 801µs within Encode::is_utf8 which was called 2439 times, avg 328ns/call:
# 2439 times (801µs+0s) by Date::Manip::Base::_encoding at line 2399 of Date/Manip/Base.pm, avg 328ns/call |