← 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 14:31:06 2016
Reported on Fri Jan 8 14:33:29 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/CreatorBatch.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11127µs31µsClass::C3::Componentised::::BEGIN@1.2070 Class::C3::Componentised::BEGIN@1.2070
11110µs21µsKoha::Schema::Result::CreatorBatch::::BEGIN@13Koha::Schema::Result::CreatorBatch::BEGIN@13
11110µs19µsKoha::Schema::Result::CreatorBatch::::BEGIN@14Koha::Schema::Result::CreatorBatch::BEGIN@14
1119µs77µsKoha::Schema::Result::CreatorBatch::::BEGIN@16Koha::Schema::Result::CreatorBatch::BEGIN@16
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1235µs
# spent 31µs (27+4) within Class::C3::Componentised::BEGIN@1.2070 which was called: # once (27µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 31µs making 1 call to Class::C3::Componentised::BEGIN@1.2070 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::CreatorBatch;
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::CreatorBatch
10
11=cut
12
13232µs
# spent 21µs (10+11) within Koha::Schema::Result::CreatorBatch::BEGIN@13 which was called: # once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 21µs making 1 call to Koha::Schema::Result::CreatorBatch::BEGIN@13 # spent 11µs making 1 call to strict::import
14227µs
# spent 19µs (10+9) within Koha::Schema::Result::CreatorBatch::BEGIN@14 which was called: # once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 19µs making 1 call to Koha::Schema::Result::CreatorBatch::BEGIN@14 # spent 9µs making 1 call to warnings::import
15
162144µs
# spent 77µs (9+67) within Koha::Schema::Result::CreatorBatch::BEGIN@16 which was called: # once (9µs+67µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 77µs making 1 call to Koha::Schema::Result::CreatorBatch::BEGIN@16 # spent 67µs making 1 call to base::import
17
18=head1 TABLE: C<creator_batches>
19
20=cut
21
221332µs__PACKAGE__->table("creator_batches");
# spent 332µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 label_id
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 batch_id
33
34 data_type: 'integer'
35 default_value: 1
36 is_nullable: 0
37
38=head2 item_number
39
40 data_type: 'integer'
41 is_foreign_key: 1
42 is_nullable: 1
43
44=head2 borrower_number
45
46 data_type: 'integer'
47 is_foreign_key: 1
48 is_nullable: 1
49
50=head2 timestamp
51
52 data_type: 'timestamp'
53 datetime_undef_if_invalid: 1
54 default_value: current_timestamp
55 is_nullable: 0
56
57=head2 branch_code
58
59 data_type: 'varchar'
60 default_value: 'NB'
61 is_foreign_key: 1
62 is_nullable: 0
63 size: 10
64
65=head2 creator
66
67 data_type: 'char'
68 default_value: 'Labels'
69 is_nullable: 0
70 size: 15
71
72=cut
73
7413.59ms__PACKAGE__->add_columns(
# spent 3.59ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
75 "label_id",
76 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
77 "batch_id",
78 { data_type => "integer", default_value => 1, is_nullable => 0 },
79 "item_number",
80 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
81 "borrower_number",
82 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
83 "timestamp",
84 {
85 data_type => "timestamp",
86 datetime_undef_if_invalid => 1,
87 default_value => \"current_timestamp",
88 is_nullable => 0,
89 },
90 "branch_code",
91 {
92 data_type => "varchar",
93 default_value => "NB",
94 is_foreign_key => 1,
95 is_nullable => 0,
96 size => 10,
97 },
98 "creator",
99 {
100 data_type => "char",
101 default_value => "Labels",
102 is_nullable => 0,
103 size => 15,
104 },
105);
106
107=head1 PRIMARY KEY
108
109=over 4
110
111=item * L</label_id>
112
113=back
114
115=cut
116
117177µs__PACKAGE__->set_primary_key("label_id");
# spent 77µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
118
119=head1 RELATIONS
120
121=head2 borrower_number
122
123Type: belongs_to
124
125Related object: L<Koha::Schema::Result::Borrower>
126
127=cut
128
1291863µs__PACKAGE__->belongs_to(
# spent 863µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
130 "borrower_number",
131 "Koha::Schema::Result::Borrower",
132 { borrowernumber => "borrower_number" },
133 {
134 is_deferrable => 1,
135 join_type => "LEFT",
136 on_delete => "CASCADE",
137 on_update => "CASCADE",
138 },
139);
140
141=head2 branch_code
142
143Type: belongs_to
144
145Related object: L<Koha::Schema::Result::Branch>
146
147=cut
148
1491811µs__PACKAGE__->belongs_to(
# spent 811µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
150 "branch_code",
151 "Koha::Schema::Result::Branch",
152 { branchcode => "branch_code" },
153 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
154);
155
156=head2 item_number
157
158Type: belongs_to
159
160Related object: L<Koha::Schema::Result::Item>
161
162=cut
163
1641924µs__PACKAGE__->belongs_to(
# spent 924µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
165 "item_number",
166 "Koha::Schema::Result::Item",
167 { itemnumber => "item_number" },
168 {
169 is_deferrable => 1,
170 join_type => "LEFT",
171 on_delete => "CASCADE",
172 on_update => "RESTRICT",
173 },
174);
175
176
177# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
178# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x9PaYKzfg8jT6zFP4IwhBA
179
180
181# You can replace this text with custom content, and it will be preserved on regeneration
1821;