← Index
NYTProf Performance Profile   « line view »
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 13:01:18 2016
Reported on Fri Jan 8 13:01:36 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/Overduerule.pm
StatementsExecuted 14 statements in 592µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11132µs36µsClass::C3::Componentised::::BEGIN@1.2481 Class::C3::Componentised::BEGIN@1.2481
11112µs22µsKoha::Schema::Result::Overduerule::::BEGIN@14Koha::Schema::Result::Overduerule::BEGIN@14
11111µs22µsKoha::Schema::Result::Overduerule::::BEGIN@13Koha::Schema::Result::Overduerule::BEGIN@13
11110µs78µsKoha::Schema::Result::Overduerule::::BEGIN@16Koha::Schema::Result::Overduerule::BEGIN@16
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1281µs240µs
# spent 36µs (32+4) within Class::C3::Componentised::BEGIN@1.2481 which was called: # once (32µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.2481 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::Overduerule;
3
4# Created by DBIx::Class::Schema::Loader
5# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7=head1 NAME
8
9Koha::Schema::Result::Overduerule
10
11=cut
12
13248µs234µs
# spent 22µs (11+11) within Koha::Schema::Result::Overduerule::BEGIN@13 which was called: # once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 22µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@13 # spent 12µs making 1 call to strict::import
14245µs232µs
# spent 22µs (12+10) within Koha::Schema::Result::Overduerule::BEGIN@14 which was called: # once (12µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 22µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@14 # spent 10µs making 1 call to warnings::import
15
162308µs2146µs
# spent 78µs (10+68) within Koha::Schema::Result::Overduerule::BEGIN@16 which was called: # once (10µs+68µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 78µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@16 # spent 68µs making 1 call to base::import
17
18=head1 TABLE: C<overduerules>
19
20=cut
21
22121µs1316µs__PACKAGE__->table("overduerules");
# spent 316µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 overduerules_id
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 branchcode
33
34 data_type: 'varchar'
35 default_value: (empty string)
36 is_nullable: 0
37 size: 10
38
39=head2 categorycode
40
41 data_type: 'varchar'
42 default_value: (empty string)
43 is_nullable: 0
44 size: 10
45
46=head2 delay1
47
48 data_type: 'integer'
49 is_nullable: 1
50
51=head2 letter1
52
53 data_type: 'varchar'
54 is_nullable: 1
55 size: 20
56
57=head2 debarred1
58
59 data_type: 'varchar'
60 default_value: 0
61 is_nullable: 1
62 size: 1
63
64=head2 delay2
65
66 data_type: 'integer'
67 is_nullable: 1
68
69=head2 debarred2
70
71 data_type: 'varchar'
72 default_value: 0
73 is_nullable: 1
74 size: 1
75
76=head2 letter2
77
78 data_type: 'varchar'
79 is_nullable: 1
80 size: 20
81
82=head2 delay3
83
84 data_type: 'integer'
85 is_nullable: 1
86
87=head2 letter3
88
89 data_type: 'varchar'
90 is_nullable: 1
91 size: 20
92
93=head2 debarred3
94
95 data_type: 'integer'
96 default_value: 0
97 is_nullable: 1
98
99=cut
100
101129µs17.27ms__PACKAGE__->add_columns(
# spent 7.27ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
102 "overduerules_id",
103 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
104 "branchcode",
105 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
106 "categorycode",
107 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
108 "delay1",
109 { data_type => "integer", is_nullable => 1 },
110 "letter1",
111 { data_type => "varchar", is_nullable => 1, size => 20 },
112 "debarred1",
113 { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 },
114 "delay2",
115 { data_type => "integer", is_nullable => 1 },
116 "debarred2",
117 { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 },
118 "letter2",
119 { data_type => "varchar", is_nullable => 1, size => 20 },
120 "delay3",
121 { data_type => "integer", is_nullable => 1 },
122 "letter3",
123 { data_type => "varchar", is_nullable => 1, size => 20 },
124 "debarred3",
125 { data_type => "integer", default_value => 0, is_nullable => 1 },
126);
127
128=head1 PRIMARY KEY
129
130=over 4
131
132=item * L</overduerules_id>
133
134=back
135
136=cut
137
138118µs192µs__PACKAGE__->set_primary_key("overduerules_id");
# spent 92µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
139
140=head1 UNIQUE CONSTRAINTS
141
142=head2 C<overduerules_branch_cat>
143
144=over 4
145
146=item * L</branchcode>
147
148=item * L</categorycode>
149
150=back
151
152=cut
153
154118µs129µs__PACKAGE__->add_unique_constraint("overduerules_branch_cat", ["branchcode", "categorycode"]);
155
156=head1 RELATIONS
157
158=head2 overduerules_transport_types
159
160Type: has_many
161
162Related object: L<Koha::Schema::Result::OverduerulesTransportType>
163
164=cut
165
166110µs1350µs__PACKAGE__->has_many(
# spent 350µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
167 "overduerules_transport_types",
168 "Koha::Schema::Result::OverduerulesTransportType",
169 { "foreign.overduerules_id" => "self.overduerules_id" },
170 { cascade_copy => 0, cascade_delete => 0 },
171);
172
173
174# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28
175# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Opfa1YZ3IeQRRbyrbKAkNQ
176
177
178# You can replace this text with custom content, and it will be preserved on regeneration
179114µs1;