← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:26:40 2011

Filename/usr/lib/perl/5.14/IO/Seekable.pm
StatementsExecuted 17 statements in 866µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1113.70ms4.93msIO::Seekable::::BEGIN@9IO::Seekable::BEGIN@9
111613µs1.82msIO::Seekable::::BEGIN@12IO::Seekable::BEGIN@12
11127µs27µsIO::Seekable::::BEGIN@5IO::Seekable::BEGIN@5
11123µs160µsIO::Seekable::::BEGIN@6IO::Seekable::BEGIN@6
11119µs26µsIO::Seekable::::BEGIN@7IO::Seekable::BEGIN@7
0000s0sIO::Seekable::::seekIO::Seekable::seek
0000s0sIO::Seekable::::sysseekIO::Seekable::sysseek
0000s0sIO::Seekable::::tellIO::Seekable::tell
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2
3package IO::Seekable;
4
5273µs127µs
# spent 27µs within IO::Seekable::BEGIN@5 which was called: # once (27µs+0s) by IO::File::BEGIN@11 at line 5
use 5.006_001;
# spent 27µs making 1 call to IO::Seekable::BEGIN@5
6250µs2296µs
# spent 160µs (23+137) within IO::Seekable::BEGIN@6 which was called: # once (23µs+137µs) by IO::File::BEGIN@11 at line 6
use Carp;
# spent 160µs making 1 call to IO::Seekable::BEGIN@6 # spent 137µs making 1 call to Exporter::import
72136µs234µs
# spent 26µs (19+8) within IO::Seekable::BEGIN@7 which was called: # once (19µs+8µs) by IO::File::BEGIN@11 at line 7
use strict;
# spent 26µs making 1 call to IO::Seekable::BEGIN@7 # spent 8µs making 1 call to strict::import
812µsour($VERSION, @EXPORT, @ISA);
92161µs14.93ms
# spent 4.93ms (3.70+1.24) within IO::Seekable::BEGIN@9 which was called: # once (3.70ms+1.24ms) by IO::File::BEGIN@11 at line 9
use IO::Handle ();
# spent 4.93ms making 1 call to IO::Seekable::BEGIN@9
10# XXX we can't get these from IO::Handle or we'll get prototype
11# mismatch warnings on C<use POSIX; use IO::File;> :-(
122358µs22.73ms
# spent 1.82ms (613µs+1.21) within IO::Seekable::BEGIN@12 which was called: # once (613µs+1.21ms) by IO::File::BEGIN@11 at line 12
use Fcntl qw(SEEK_SET SEEK_CUR SEEK_END);
# spent 1.82ms making 1 call to IO::Seekable::BEGIN@12 # spent 906µs making 1 call to Exporter::import
1312µsrequire Exporter;
14
1513µs@EXPORT = qw(SEEK_SET SEEK_CUR SEEK_END);
16146µs@ISA = qw(Exporter);
17
1812µs$VERSION = "1.10";
19124µs$VERSION = eval $VERSION;
# spent 4µs executing statements in string eval
20
21sub seek {
22 @_ == 3 or croak 'usage: $io->seek(POS, WHENCE)';
23 seek($_[0], $_[1], $_[2]);
24}
25
26sub sysseek {
27 @_ == 3 or croak 'usage: $io->sysseek(POS, WHENCE)';
28 sysseek($_[0], $_[1], $_[2]);
29}
30
31sub tell {
32 @_ == 1 or croak 'usage: $io->tell()';
33 tell($_[0]);
34}
35
3618µs1;