← Index
NYTProf Performance Profile   « block view • line view • sub view »
For xt/tapper-mcp-scheduler-with-db-longrun.t
  Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:24:05 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/SQL/Translator/Schema/Constants.pm
StatementsExecuted 40 statements in 275µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs41µsSQL::Translator::Schema::Constants::::BEGIN@97SQL::Translator::Schema::Constants::BEGIN@97
11112µs14µsSQL::Translator::Schema::Constants::::BEGIN@60SQL::Translator::Schema::Constants::BEGIN@60
11110µs64µsSQL::Translator::Schema::Constants::::BEGIN@81SQL::Translator::Schema::Constants::BEGIN@81
1119µs33µsSQL::Translator::Schema::Constants::::BEGIN@87SQL::Translator::Schema::Constants::BEGIN@87
1119µs101µsSQL::Translator::Schema::Constants::::BEGIN@61SQL::Translator::Schema::Constants::BEGIN@61
1117µs30µsSQL::Translator::Schema::Constants::::BEGIN@89SQL::Translator::Schema::Constants::BEGIN@89
1116µs31µsSQL::Translator::Schema::Constants::::BEGIN@83SQL::Translator::Schema::Constants::BEGIN@83
1116µs34µsSQL::Translator::Schema::Constants::::BEGIN@62SQL::Translator::Schema::Constants::BEGIN@62
1116µs30µsSQL::Translator::Schema::Constants::::BEGIN@95SQL::Translator::Schema::Constants::BEGIN@95
1116µs33µsSQL::Translator::Schema::Constants::::BEGIN@93SQL::Translator::Schema::Constants::BEGIN@93
1116µs29µsSQL::Translator::Schema::Constants::::BEGIN@85SQL::Translator::Schema::Constants::BEGIN@85
1116µs30µsSQL::Translator::Schema::Constants::::BEGIN@91SQL::Translator::Schema::Constants::BEGIN@91
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package SQL::Translator::Schema::Constants;
2
3# ----------------------------------------------------------------------
4# Copyright (C) 2002-2009 SQLFairy Authors
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License as
8# published by the Free Software Foundation; version 2.
9#
10# This program is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18# 02111-1307 USA
19# -------------------------------------------------------------------
20
21=head1 NAME
22
23SQL::Translator::Schema::Constants - constants module
24
25=head1 SYNOPSIS
26
27 use SQL::Translator::Schema::Constants;
28
29 $table->add_constraint(
30 name => 'foo',
31 type => PRIMARY_KEY,
32 );
33
34=head1 DESCRIPTION
35
36This module exports the following constants for Schema features;
37
38=over 4
39
40=item CHECK_C
41
42=item FOREIGN_KEY
43
44=item FULL_TEXT
45
46=item NOT_NULL
47
48=item NORMAL
49
50=item NULL
51
52=item PRIMARY_KEY
53
54=item UNIQUE
55
56=back
57
58=cut
59
60320µs216µs
# spent 14µs (12+2) within SQL::Translator::Schema::Constants::BEGIN@60 which was called: # once (12µs+2µs) by SQL::Translator::Schema::BEGIN@48 at line 60
use strict;
# spent 14µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@60 # spent 2µs making 1 call to strict::import
61325µs2193µs
# spent 101µs (9+92) within SQL::Translator::Schema::Constants::BEGIN@61 which was called: # once (9µs+92µs) by SQL::Translator::Schema::BEGIN@48 at line 61
use base qw( Exporter );
# spent 101µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@61 # spent 92µs making 1 call to base::import
62342µs261µs
# spent 34µs (6+28) within SQL::Translator::Schema::Constants::BEGIN@62 which was called: # once (6µs+28µs) by SQL::Translator::Schema::BEGIN@48 at line 62
use vars qw( @EXPORT $VERSION );
# spent 34µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@62 # spent 28µs making 1 call to vars::import
631400nsrequire Exporter;
641500ns$VERSION = '1.59';
65
6612µs@EXPORT = qw[
67 CHECK_C
68 FOREIGN_KEY
69 FULL_TEXT
70 SPATIAL
71 NOT_NULL
72 NORMAL
73 NULL
74 PRIMARY_KEY
75 UNIQUE
76];
77
78#
79# Because "CHECK" is a Perl keyword
80#
81323µs2117µs
# spent 64µs (10+53) within SQL::Translator::Schema::Constants::BEGIN@81 which was called: # once (10µs+53µs) by SQL::Translator::Schema::BEGIN@48 at line 81
use constant CHECK_C => 'CHECK';
# spent 64µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@81 # spent 54µs making 1 call to constant::import
82
83319µs255µs
# spent 31µs (6+24) within SQL::Translator::Schema::Constants::BEGIN@83 which was called: # once (6µs+24µs) by SQL::Translator::Schema::BEGIN@48 at line 83
use constant FOREIGN_KEY => 'FOREIGN KEY';
# spent 31µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@83 # spent 24µs making 1 call to constant::import
84
85318µs251µs
# spent 29µs (6+23) within SQL::Translator::Schema::Constants::BEGIN@85 which was called: # once (6µs+23µs) by SQL::Translator::Schema::BEGIN@48 at line 85
use constant FULL_TEXT => 'FULLTEXT';
# spent 29µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@85 # spent 23µs making 1 call to constant::import
86
87319µs258µs
# spent 33µs (9+24) within SQL::Translator::Schema::Constants::BEGIN@87 which was called: # once (9µs+24µs) by SQL::Translator::Schema::BEGIN@48 at line 87
use constant SPATIAL => 'SPATIAL';
# spent 33µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@87 # spent 24µs making 1 call to constant::import
88
89326µs254µs
# spent 30µs (7+23) within SQL::Translator::Schema::Constants::BEGIN@89 which was called: # once (7µs+23µs) by SQL::Translator::Schema::BEGIN@48 at line 89
use constant NOT_NULL => 'NOT NULL';
# spent 30µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@89 # spent 23µs making 1 call to constant::import
90
91319µs255µs
# spent 30µs (6+25) within SQL::Translator::Schema::Constants::BEGIN@91 which was called: # once (6µs+25µs) by SQL::Translator::Schema::BEGIN@48 at line 91
use constant NORMAL => 'NORMAL';
# spent 30µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@91 # spent 25µs making 1 call to constant::import
92
93318µs259µs
# spent 33µs (6+27) within SQL::Translator::Schema::Constants::BEGIN@93 which was called: # once (6µs+27µs) by SQL::Translator::Schema::BEGIN@48 at line 93
use constant NULL => 'NULL';
# spent 33µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@93 # spent 27µs making 1 call to constant::import
94
95322µs253µs
# spent 30µs (6+23) within SQL::Translator::Schema::Constants::BEGIN@95 which was called: # once (6µs+23µs) by SQL::Translator::Schema::BEGIN@48 at line 95
use constant PRIMARY_KEY => 'PRIMARY KEY';
# spent 30µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@95 # spent 23µs making 1 call to constant::import
96
97318µs264µs
# spent 41µs (18+23) within SQL::Translator::Schema::Constants::BEGIN@97 which was called: # once (18µs+23µs) by SQL::Translator::Schema::BEGIN@48 at line 97
use constant UNIQUE => 'UNIQUE';
# spent 41µs making 1 call to SQL::Translator::Schema::Constants::BEGIN@97 # spent 23µs making 1 call to constant::import
98
9913µs1;
100
101# ----------------------------------------------------------------------
102
103=pod
104
105=head1 AUTHOR
106
107Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
108
109=cut