Filename | /usr/share/perl/5.14/bytes.pm |
Statements | Executed 11 statements in 115µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
5 | 5 | 5 | 39µs | 39µs | import | bytes::
3 | 3 | 3 | 22µs | 22µ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 | 2µs | our $VERSION = '1.04'; | ||
4 | |||||
5 | 1 | 1µs | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 39µs within bytes::import which was called 5 times, avg 8µs/call:
# once (10µs+0s) by Foswiki::Render::BEGIN@1772 at line 1772 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render.pm
# once (8µs+0s) by Data::Dumper::BEGIN@683 at line 683 of Data/Dumper.pm
# once (8µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@213 at line 213 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/TopicUserMapping.pm
# once (6µs+0s) by Foswiki::Users::BEGIN@388 at line 388 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm
# once (6µs+0s) by Foswiki::Prefs::Stack::BEGIN@28 at line 28 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/Stack.pm | ||||
8 | 5 | 74µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | # spent 22µs within bytes::unimport which was called 3 times, avg 7µs/call:
# once (9µs+0s) by Foswiki::Render::BEGIN@1774 at line 1774 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render.pm
# once (6µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@218 at line 218 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/TopicUserMapping.pm
# once (6µs+0s) by Foswiki::Users::BEGIN@390 at line 390 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm | ||||
12 | 3 | 32µ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 | 5µs | 1; | ||
30 | __END__ |