← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:49 2015

Filename/usr/lib/x86_64-linux-gnu/perl/5.20/GDBM_File.pm
StatementsExecuted 14 statements in 525µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11135µs35µsGDBM_File::::TIEHASHGDBM_File::TIEHASH (xsub)
11112µs25µsGDBM_File::::BEGIN@44GDBM_File::BEGIN@44
1117µs12µsGDBM_File::::BEGIN@45GDBM_File::BEGIN@45
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
5GDBM_File - Perl5 access to the gdbm library.
6
7=head1 SYNOPSIS
8
9 use GDBM_File ;
10 tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640;
11 # Use the %hash array.
12 untie %hash ;
13
14=head1 DESCRIPTION
15
16B<GDBM_File> is a module which allows Perl programs to make use of the
17facilities provided by the GNU gdbm library. If you intend to use this
18module you should really have a copy of the gdbm manualpage at hand.
19
20Most of the libgdbm.a functions are available through the GDBM_File
21interface.
22
23=head1 AVAILABILITY
24
25gdbm is available from any GNU archive. The master site is
26C<ftp.gnu.org>, but you are strongly urged to use one of the many
27mirrors. You can obtain a list of mirror sites from
28http://www.gnu.org/order/ftp.html.
29
30=head1 BUGS
31
32The available functions and the gdbm/perl interface need to be documented.
33
34The GDBM error number and error message interface needs to be added.
35
36=head1 SEE ALSO
37
38L<perl(1)>, L<DB_File(3)>, L<perldbmfilter>.
39
40=cut
41
42package GDBM_File;
43
44224µs237µs
# spent 25µs (12+12) within GDBM_File::BEGIN@44 which was called: # once (12µs+12µs) by MARC::Charset::Table::BEGIN@42 at line 44
use strict;
# spent 25µs making 1 call to GDBM_File::BEGIN@44 # spent 12µs making 1 call to strict::import
45284µs217µs
# spent 12µs (7+5) within GDBM_File::BEGIN@45 which was called: # once (7µs+5µs) by MARC::Charset::Table::BEGIN@42 at line 45
use warnings;
# spent 12µs making 1 call to GDBM_File::BEGIN@45 # spent 5µs making 1 call to warnings::import
461300nsour($VERSION, @ISA, @EXPORT);
47
481800nsrequire Carp;
491500nsrequire Tie::Hash;
501400nsrequire Exporter;
511500nsrequire XSLoader;
52115µs@ISA = qw(Tie::Hash Exporter);
5311µ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.
721200ns$VERSION = '1.15';
73
741393µs1383µsXSLoader::load();
# spent 383µs making 1 call to XSLoader::load
75
7615µs1;
 
# spent 35µs within GDBM_File::TIEHASH which was called: # once (35µs+0s) by MARC::Charset::Table::_init at line 194 of MARC/Charset/Table.pm
sub GDBM_File::TIEHASH; # xsub