Filename | /usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux/List/Util.pm |
Statements | Executed 11 statements in 15.5ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
72 | 6 | 1 | 476µs | 476µs | max (xsub) | List::Util::
1 | 1 | 1 | 78µs | 183µs | BEGIN@11 | List::Util::
0 | 0 | 0 | 0s | 0s | sum0 | List::Util::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # List::Util.pm | ||||
2 | # | ||||
3 | # Copyright (c) 1997-2009 Graham Barr <gbarr@pobox.com>. All rights reserved. | ||||
4 | # This program is free software; you can redistribute it and/or | ||||
5 | # modify it under the same terms as Perl itself. | ||||
6 | # | ||||
7 | # This module is normally only loaded if the XS module is not available | ||||
8 | |||||
9 | package List::Util; | ||||
10 | |||||
11 | 2 | 681µs | 2 | 289µs | # spent 183µs (78+105) within List::Util::BEGIN@11 which was called:
# once (78µs+105µs) by OCBNET::Spritesets::Canvas::Layout::BEGIN@231 at line 11 # spent 183µs making 1 call to List::Util::BEGIN@11
# spent 105µs making 1 call to strict::import |
12 | 1 | 5µs | require Exporter; | ||
13 | |||||
14 | 1 | 35µs | our @ISA = qw(Exporter); | ||
15 | 1 | 11µs | our @EXPORT_OK = qw(first min max minstr maxstr reduce sum sum0 shuffle); | ||
16 | 1 | 2µs | our $VERSION = "1.27"; | ||
17 | 1 | 1µs | our $XS_VERSION = $VERSION; | ||
18 | 1 | 65µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
19 | |||||
20 | 1 | 2µs | require XSLoader; | ||
21 | 1 | 14.7ms | 1 | 14.7ms | XSLoader::load('List::Util', $XS_VERSION); # spent 14.7ms making 1 call to XSLoader::load |
22 | |||||
23 | sub sum0 | ||||
24 | { | ||||
25 | return 0 unless @_; | ||||
26 | goto ∑ | ||||
27 | } | ||||
28 | |||||
29 | 1 | 37µs | 1; | ||
30 | |||||
31 | __END__ | ||||
# spent 476µs within List::Util::max which was called 72 times, avg 7µs/call:
# 12 times (114µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 233 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 10µs/call
# 12 times (76µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 274 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 6µs/call
# 12 times (73µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 255 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 6µs/call
# 12 times (72µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 250 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 6µs/call
# 12 times (71µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 240 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 6µs/call
# 12 times (70µs+0s) by OCBNET::Spritesets::Canvas::Layout::layout at line 281 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 6µs/call |