Filename | /usr/share/perl5/bytes.pm |
Statements | Executed 14 statements in 84µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
8 | 8 | 8 | 26µs | 26µs | import | bytes::
3 | 3 | 3 | 10µs | 10µs | unimport | bytes::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | bytes::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package bytes; | ||||
2 | |||||
3 | 1 | 700ns | our $VERSION = '1.04'; | ||
4 | |||||
5 | 1 | 200ns | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 26µs within bytes::import which was called 8 times, avg 3µs/call:
# once (4µs+0s) by Encode::utf8::BEGIN@325 at line 325 of Encode.pm
# once (4µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@204 at line 204 of /var/www/foswikidev/core/lib/Foswiki/Users/TopicUserMapping.pm
# once (4µs+0s) by Foswiki::Plugins::WysiwygPlugin::Handlers::BEGIN@642 at line 642 of /var/www/foswikidev/core/lib/Foswiki/Plugins/WysiwygPlugin/Handlers.pm
# once (3µs+0s) by Foswiki::Render::BEGIN@845 at line 845 of /var/www/foswikidev/core/lib/Foswiki/Render.pm
# once (3µs+0s) by Data::Dumper::BEGIN@721 at line 721 of Data/Dumper.pm
# once (3µs+0s) by JSON::PP::BEGIN@666 at line 666 of JSON/PP.pm
# once (3µs+0s) by Foswiki::Prefs::Stack::BEGIN@28 at line 28 of /var/www/foswikidev/core/lib/Foswiki/Prefs/Stack.pm
# once (2µs+0s) by Foswiki::Users::BEGIN@406 at line 406 of /var/www/foswikidev/core/lib/Foswiki/Users.pm | ||||
8 | 8 | 61µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | # spent 10µs within bytes::unimport which was called 3 times, avg 3µs/call:
# once (3µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@209 at line 209 of /var/www/foswikidev/core/lib/Foswiki/Users/TopicUserMapping.pm
# once (3µs+0s) by Foswiki::Render::BEGIN@847 at line 847 of /var/www/foswikidev/core/lib/Foswiki/Render.pm
# once (3µs+0s) by Foswiki::Users::BEGIN@408 at line 408 of /var/www/foswikidev/core/lib/Foswiki/Users.pm | ||||
12 | 3 | 17µs | $^H &= ~$bytes::hint_bits; | ||
13 | } | ||||
14 | |||||
15 | sub AUTOLOAD { | ||||
16 | require "bytes_heavy.pl"; | ||||
17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
18 | require Carp; | ||||
19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
20 | } | ||||
21 | |||||
22 | sub length (_); | ||||
23 | sub chr (_); | ||||
24 | sub ord (_); | ||||
25 | sub substr ($$;$$); | ||||
26 | sub index ($$;$); | ||||
27 | sub rindex ($$;$); | ||||
28 | |||||
29 | 1 | 4µs | 1; | ||
30 | __END__ |