← Index
NYTProf Performance Profile   « line view »
For /Users/brian/bin/perls/cpan5.26.1
  Run on Sat Dec 30 01:41:10 2017
Reported on Sat Dec 30 01:44:15 2017

Filename/usr/local/perls/perl-5.26.1/lib/5.26.1/darwin-2level/Compress/Raw/Bzip2.pm
StatementsExecuted 30 statements in 6.28ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11124µs28µsCompress::Raw::Bzip2::::BEGIN@4 Compress::Raw::Bzip2::BEGIN@4
11115µs60µsCompress::Raw::Bzip2::::BEGIN@9 Compress::Raw::Bzip2::BEGIN@9
11113µs20µsCompress::Raw::Bzip2::::BEGIN@5 Compress::Raw::Bzip2::BEGIN@5
11112µs15µsCompress::Raw::Bzip2::::BEGIN@11 Compress::Raw::Bzip2::BEGIN@11
11112µs36µsCompress::Raw::Bzip2::::BEGIN@49 Compress::Raw::Bzip2::BEGIN@49
11112µs52µsCompress::Raw::Bzip2::::BEGIN@56 Compress::Raw::Bzip2::BEGIN@56
11111µs47µsCompress::Raw::Bzip2::::BEGIN@58 Compress::Raw::Bzip2::BEGIN@58
11110µs63µsCompress::Raw::Bzip2::::BEGIN@55 Compress::Raw::Bzip2::BEGIN@55
1118µs45µsCompress::Raw::Bzip2::::BEGIN@57 Compress::Raw::Bzip2::BEGIN@57
0000s0sCompress::Raw::Bunzip2::::STORABLE_freezeCompress::Raw::Bunzip2::STORABLE_freeze
0000s0sCompress::Raw::Bunzip2::::STORABLE_thawCompress::Raw::Bunzip2::STORABLE_thaw
0000s0sCompress::Raw::Bzip2::::AUTOLOAD Compress::Raw::Bzip2::AUTOLOAD
0000s0sCompress::Raw::Bzip2::::STORABLE_freeze Compress::Raw::Bzip2::STORABLE_freeze
0000s0sCompress::Raw::Bzip2::::STORABLE_thaw Compress::Raw::Bzip2::STORABLE_thaw
0000s0sCompress::Raw::Bzip2::::__ANON__[:50] Compress::Raw::Bzip2::__ANON__[:50]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2package Compress::Raw::Bzip2;
3
4245µs232µs
# spent 28µs (24+4) within Compress::Raw::Bzip2::BEGIN@4 which was called: # once (24µs+4µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 4
use strict ;
# spent 28µs making 1 call to Compress::Raw::Bzip2::BEGIN@4 # spent 4µs making 1 call to strict::import
5244µs227µs
# spent 20µs (13+7) within Compress::Raw::Bzip2::BEGIN@5 which was called: # once (13µs+7µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 5
use warnings ;
# spent 20µs making 1 call to Compress::Raw::Bzip2::BEGIN@5 # spent 7µs making 1 call to warnings::import
6
7110µsrequire 5.006 ;
811µsrequire Exporter;
9236µs2105µs
# spent 60µs (15+45) within Compress::Raw::Bzip2::BEGIN@9 which was called: # once (15µs+45µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 9
use Carp ;
# spent 60µs making 1 call to Compress::Raw::Bzip2::BEGIN@9 # spent 45µs making 1 call to Exporter::import
10
112207µs218µs
# spent 15µs (12+3) within Compress::Raw::Bzip2::BEGIN@11 which was called: # once (12µs+3µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 11
use bytes ;
# spent 15µs making 1 call to Compress::Raw::Bzip2::BEGIN@11 # spent 3µs making 1 call to bytes::import
12our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
13
1410s$VERSION = '2.074';
1510s$XS_VERSION = $VERSION;
16120µs$VERSION = eval $VERSION;
# spent 4µs executing statements in string eval
17
1819µs@ISA = qw(Exporter);
19# Items to export into callers namespace by default. Note: do not export
20# names by default without a very good reason. Use EXPORT_OK instead.
21# Do not simply export all your public functions/methods/constants.
2212µs@EXPORT = qw(
23 BZ_RUN
24 BZ_FLUSH
25 BZ_FINISH
26
27 BZ_OK
28 BZ_RUN_OK
29 BZ_FLUSH_OK
30 BZ_FINISH_OK
31 BZ_STREAM_END
32 BZ_SEQUENCE_ERROR
33 BZ_PARAM_ERROR
34 BZ_MEM_ERROR
35 BZ_DATA_ERROR
36 BZ_DATA_ERROR_MAGIC
37 BZ_IO_ERROR
38 BZ_UNEXPECTED_EOF
39 BZ_OUTBUFF_FULL
40 BZ_CONFIG_ERROR
41
42 );
43
44sub AUTOLOAD {
45 my($constname);
46 ($constname = $AUTOLOAD) =~ s/.*:://;
47 my ($error, $val) = constant($constname);
48 Carp::croak $error if $error;
492107µs260µs
# spent 36µs (12+24) within Compress::Raw::Bzip2::BEGIN@49 which was called: # once (12µs+24µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 49
no strict 'refs';
# spent 36µs making 1 call to Compress::Raw::Bzip2::BEGIN@49 # spent 24µs making 1 call to strict::unimport
50 *{$AUTOLOAD} = sub { $val };
51 goto &{$AUTOLOAD};
52
53}
54
55244µs2116µs
# spent 63µs (10+53) within Compress::Raw::Bzip2::BEGIN@55 which was called: # once (10µs+53µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 55
use constant FLAG_APPEND => 1 ;
# spent 63µs making 1 call to Compress::Raw::Bzip2::BEGIN@55 # spent 53µs making 1 call to constant::import
56246µs292µs
# spent 52µs (12+40) within Compress::Raw::Bzip2::BEGIN@56 which was called: # once (12µs+40µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 56
use constant FLAG_CRC => 2 ;
# spent 52µs making 1 call to Compress::Raw::Bzip2::BEGIN@56 # spent 40µs making 1 call to constant::import
57231µs282µs
# spent 45µs (8+37) within Compress::Raw::Bzip2::BEGIN@57 which was called: # once (8µs+37µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 57
use constant FLAG_ADLER => 4 ;
# spent 45µs making 1 call to Compress::Raw::Bzip2::BEGIN@57 # spent 37µs making 1 call to constant::import
582308µs283µs
# spent 47µs (11+36) within Compress::Raw::Bzip2::BEGIN@58 which was called: # once (11µs+36µs) by IO::Uncompress::Adapter::Bunzip2::BEGIN@9 at line 58
use constant FLAG_CONSUME_INPUT => 8 ;
# spent 47µs making 1 call to Compress::Raw::Bzip2::BEGIN@58 # spent 36µs making 1 call to constant::import
59
60eval {
6111µs require XSLoader;
6215.34ms15.32ms XSLoader::load('Compress::Raw::Bzip2', $XS_VERSION);
# spent 5.32ms making 1 call to XSLoader::load
6312µs 1;
64}
6510sor do {
66 require DynaLoader;
67 local @ISA = qw(DynaLoader);
68 bootstrap Compress::Raw::Bzip2 $XS_VERSION ;
69};
70
71#sub Compress::Raw::Bzip2::new
72#{
73# my $class = shift ;
74# my ($ptr, $status) = _new(@_);
75# return wantarray ? (undef, $status) : undef
76# unless $ptr ;
77# my $obj = bless [$ptr], $class ;
78# return wantarray ? ($obj, $status) : $obj;
79#}
80#
81#package Compress::Raw::Bunzip2 ;
82#
83#sub Compress::Raw::Bunzip2::new
84#{
85# my $class = shift ;
86# my ($ptr, $status) = _new(@_);
87# return wantarray ? (undef, $status) : undef
88# unless $ptr ;
89# my $obj = bless [$ptr], $class ;
90# return wantarray ? ($obj, $status) : $obj;
91#}
92
93sub Compress::Raw::Bzip2::STORABLE_freeze
94{
95 my $type = ref shift;
96 croak "Cannot freeze $type object\n";
97}
98
99sub Compress::Raw::Bzip2::STORABLE_thaw
100{
101 my $type = ref shift;
102 croak "Cannot thaw $type object\n";
103}
104
105sub Compress::Raw::Bunzip2::STORABLE_freeze
106{
107 my $type = ref shift;
108 croak "Cannot freeze $type object\n";
109}
110
111sub Compress::Raw::Bunzip2::STORABLE_thaw
112{
113 my $type = ref shift;
114 croak "Cannot thaw $type object\n";
115}
116
117
118package Compress::Raw::Bzip2;
119
120125µs1;
121
122__END__