← 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:16:49 2016
Reported on Fri Jan 8 14:23:09 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/CreatorBatch.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11148µs53µsClass::C3::Componentised::::BEGIN@1.2745 Class::C3::Componentised::BEGIN@1.2745
11111µs22µsKoha::Schema::Result::CreatorBatch::::BEGIN@14Koha::Schema::Result::CreatorBatch::BEGIN@14
11111µs25µsKoha::Schema::Result::CreatorBatch::::BEGIN@13Koha::Schema::Result::CreatorBatch::BEGIN@13
11111µs98µ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
1258µs
# spent 53µs (48+5) within Class::C3::Componentised::BEGIN@1.2745 which was called: # once (48µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 53µs making 1 call to Class::C3::Componentised::BEGIN@1.2745 # spent 5µ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
13239µs
# spent 25µs (11+14) within Koha::Schema::Result::CreatorBatch::BEGIN@13 which was called: # once (11µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 25µs making 1 call to Koha::Schema::Result::CreatorBatch::BEGIN@13 # spent 14µs making 1 call to strict::import
14232µs
# spent 22µs (11+10) within Koha::Schema::Result::CreatorBatch::BEGIN@14 which was called: # once (11µ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::CreatorBatch::BEGIN@14 # spent 10µs making 1 call to warnings::import
15
162186µs
# spent 98µs (11+88) within Koha::Schema::Result::CreatorBatch::BEGIN@16 which was called: # once (11µs+88µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 98µs making 1 call to Koha::Schema::Result::CreatorBatch::BEGIN@16 # spent 88µs making 1 call to base::import
17
18=head1 TABLE: C<creator_batches>
19
20=cut
21
221360µs__PACKAGE__->table("creator_batches");
# spent 360µ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
7414.57ms__PACKAGE__->add_columns(
# spent 4.57ms 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
117192µs__PACKAGE__->set_primary_key("label_id");
# spent 92µ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
12911.08ms__PACKAGE__->belongs_to(
# spent 1.08ms 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
14911.03ms__PACKAGE__->belongs_to(
# spent 1.03ms 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
164111.5ms__PACKAGE__->belongs_to(
# spent 11.5ms 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;