← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:12:38 2013

Filename/usr/lib/perl/5.10/GDBM_File.pm
StatementsExecuted 28 statements in 1.02ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11184µs84µsGDBM_File::::TIEHASHGDBM_File::TIEHASH (xsub)
11147µs73µsGDBM_File::::AUTOLOADGDBM_File::AUTOLOAD
11138µs50µsGDBM_File::::BEGIN@44GDBM_File::BEGIN@44
11127µs68µsGDBM_File::::BEGIN@45GDBM_File::BEGIN@45
11116µs16µsGDBM_File::::constantGDBM_File::constant (xsub)
11111µs34µsGDBM_File::::BEGIN@79GDBM_File::BEGIN@79
1119µs9µsGDBM_File::::CORE:substGDBM_File::CORE:subst (opcode)
1118µs8µsGDBM_File::::__ANON__[:80]GDBM_File::__ANON__[:80]
1117µs7µsGDBM_File::::BEGIN@51GDBM_File::BEGIN@51
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# GDBM_File.pm -- Perl 5 interface to GNU gdbm library.
2
3=head1 NAME
4
- -
42package GDBM_File;
43
44346µs261µs
# spent 50µs (38+12) within GDBM_File::BEGIN@44 which was called: # once (38µs+12µs) by MARC::Charset::Table::BEGIN@37 at line 44
use strict;
# spent 50µs making 1 call to GDBM_File::BEGIN@44 # spent 12µs making 1 call to strict::import
453117µs2108µs
# spent 68µs (27+40) within GDBM_File::BEGIN@45 which was called: # once (27µs+40µs) by MARC::Charset::Table::BEGIN@37 at line 45
use warnings;
# spent 68µs making 1 call to GDBM_File::BEGIN@45 # spent 40µs making 1 call to warnings::import
4611µsour($VERSION, @ISA, @EXPORT, $AUTOLOAD);
47
4811µsrequire Carp;
4912µsrequire Tie::Hash;
501700nsrequire Exporter;
513160µs17µs
# spent 7µs within GDBM_File::BEGIN@51 which was called: # once (7µs+0s) by MARC::Charset::Table::BEGIN@37 at line 51
use XSLoader ();
# spent 7µs making 1 call to GDBM_File::BEGIN@51
52119µs@ISA = qw(Tie::Hash Exporter);
5313µs@EXPORT = qw(
54 GDBM_CACHESIZE
55 GDBM_CENTFREE
56 GDBM_COALESCEBLKS
57 GDBM_FAST
58 GDBM_FASTMODE
59 GDBM_INSERT
60 GDBM_NEWDB
61 GDBM_NOLOCK
62 GDBM_OPENMASK
63 GDBM_READER
64 GDBM_REPLACE
65 GDBM_SYNC
66 GDBM_SYNCMODE
67 GDBM_WRCREAT
68 GDBM_WRITER
69);
70
71# This module isn't dual life, so no need for dev version numbers.
721300ns$VERSION = '1.09';
73
74
# spent 73µs (47+26) within GDBM_File::AUTOLOAD which was called: # once (47µs+26µs) by MARC::Charset::Table::new at line 52 of MARC/Charset/Table.pm
sub AUTOLOAD {
751800ns my($constname);
76129µs19µs ($constname = $AUTOLOAD) =~ s/.*:://;
# spent 9µs making 1 call to GDBM_File::CORE:subst
77127µs116µs my ($error, $val) = constant($constname);
# spent 16µs making 1 call to GDBM_File::constant
781600ns Carp::croak $error if $error;
79394µs256µs
# spent 34µs (11+23) within GDBM_File::BEGIN@79 which was called: # once (11µs+23µs) by MARC::Charset::Table::BEGIN@37 at line 79
no strict 'refs';
# spent 34µs making 1 call to GDBM_File::BEGIN@79 # spent 22µs making 1 call to strict::unimport
80213µs
# spent 8µs within GDBM_File::__ANON__[/usr/lib/perl/5.10/GDBM_File.pm:80] which was called: # once (8µs+0s) by MARC::Charset::Table::new at line 81
*{$AUTOLOAD} = sub { $val };
81114µs18µs goto &{$AUTOLOAD};
# spent 8µs making 1 call to GDBM_File::__ANON__[GDBM_File.pm:80]
82}
83
841478µs1465µsXSLoader::load 'GDBM_File', $VERSION;
# spent 465µs making 1 call to XSLoader::load
85
86113µs1;
 
# spent 9µs within GDBM_File::CORE:subst which was called: # once (9µs+0s) by GDBM_File::AUTOLOAD at line 76
sub GDBM_File::CORE:subst; # opcode
# spent 84µs within GDBM_File::TIEHASH which was called: # once (84µs+0s) by MARC::Charset::Table::_init at line 187 of MARC/Charset/Table.pm
sub GDBM_File::TIEHASH; # xsub
# spent 16µs within GDBM_File::constant which was called: # once (16µs+0s) by GDBM_File::AUTOLOAD at line 77
sub GDBM_File::constant; # xsub