← 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:50:58 2016
Reported on Fri Jan 8 13:51:28 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/OldIssue.pm
StatementsExecuted 14 statements in 626µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11129µs33µsClass::C3::Componentised::::BEGIN@1.1649 Class::C3::Componentised::BEGIN@1.1649
11124µs37µsKoha::Schema::Result::OldIssue::::BEGIN@13Koha::Schema::Result::OldIssue::BEGIN@13
11110µs19µsKoha::Schema::Result::OldIssue::::BEGIN@14Koha::Schema::Result::OldIssue::BEGIN@14
11110µs84µsKoha::Schema::Result::OldIssue::::BEGIN@16Koha::Schema::Result::OldIssue::BEGIN@16
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1284µs237µs
# spent 33µs (29+4) within Class::C3::Componentised::BEGIN@1.1649 which was called: # once (29µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 33µs making 1 call to Class::C3::Componentised::BEGIN@1.1649 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::OldIssue;
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::OldIssue
10
11=cut
12
13251µs249µs
# spent 37µs (24+12) within Koha::Schema::Result::OldIssue::BEGIN@13 which was called: # once (24µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 37µs making 1 call to Koha::Schema::Result::OldIssue::BEGIN@13 # spent 12µs making 1 call to strict::import
14241µs228µs
# spent 19µs (10+9) within Koha::Schema::Result::OldIssue::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::OldIssue::BEGIN@14 # spent 9µs making 1 call to warnings::import
15
162349µs2159µs
# spent 84µs (10+74) within Koha::Schema::Result::OldIssue::BEGIN@16 which was called: # once (10µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 84µs making 1 call to Koha::Schema::Result::OldIssue::BEGIN@16 # spent 74µs making 1 call to base::import
17
18=head1 TABLE: C<old_issues>
19
20=cut
21
22120µs1374µs__PACKAGE__->table("old_issues");
# spent 374µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 issue_id
27
28 data_type: 'integer'
29 is_nullable: 0
30
31=head2 borrowernumber
32
33 data_type: 'integer'
34 is_foreign_key: 1
35 is_nullable: 1
36
37=head2 itemnumber
38
39 data_type: 'integer'
40 is_foreign_key: 1
41 is_nullable: 1
42
43=head2 date_due
44
45 data_type: 'datetime'
46 datetime_undef_if_invalid: 1
47 is_nullable: 1
48
49=head2 branchcode
50
51 data_type: 'varchar'
52 is_nullable: 1
53 size: 10
54
55=head2 returndate
56
57 data_type: 'datetime'
58 datetime_undef_if_invalid: 1
59 is_nullable: 1
60
61=head2 lastreneweddate
62
63 data_type: 'datetime'
64 datetime_undef_if_invalid: 1
65 is_nullable: 1
66
67=head2 return
68
69 data_type: 'varchar'
70 is_nullable: 1
71 size: 4
72
73=head2 renewals
74
75 data_type: 'tinyint'
76 is_nullable: 1
77
78=head2 auto_renew
79
80 data_type: 'tinyint'
81 default_value: 0
82 is_nullable: 1
83
84=head2 timestamp
85
86 data_type: 'timestamp'
87 datetime_undef_if_invalid: 1
88 default_value: current_timestamp
89 is_nullable: 0
90
91=head2 issuedate
92
93 data_type: 'datetime'
94 datetime_undef_if_invalid: 1
95 is_nullable: 1
96
97=head2 onsite_checkout
98
99 data_type: 'integer'
100 default_value: 0
101 is_nullable: 0
102
103=cut
104
105135µs14.50ms__PACKAGE__->add_columns(
# spent 4.50ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
106 "issue_id",
107 { data_type => "integer", is_nullable => 0 },
108 "borrowernumber",
109 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
110 "itemnumber",
111 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
112 "date_due",
113 {
114 data_type => "datetime",
115 datetime_undef_if_invalid => 1,
116 is_nullable => 1,
117 },
118 "branchcode",
119 { data_type => "varchar", is_nullable => 1, size => 10 },
120 "returndate",
121 {
122 data_type => "datetime",
123 datetime_undef_if_invalid => 1,
124 is_nullable => 1,
125 },
126 "lastreneweddate",
127 {
128 data_type => "datetime",
129 datetime_undef_if_invalid => 1,
130 is_nullable => 1,
131 },
132 "return",
133 { data_type => "varchar", is_nullable => 1, size => 4 },
134 "renewals",
135 { data_type => "tinyint", is_nullable => 1 },
136 "auto_renew",
137 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
138 "timestamp",
139 {
140 data_type => "timestamp",
141 datetime_undef_if_invalid => 1,
142 default_value => \"current_timestamp",
143 is_nullable => 0,
144 },
145 "issuedate",
146 {
147 data_type => "datetime",
148 datetime_undef_if_invalid => 1,
149 is_nullable => 1,
150 },
151 "onsite_checkout",
152 { data_type => "integer", default_value => 0, is_nullable => 0 },
153);
154
155=head1 PRIMARY KEY
156
157=over 4
158
159=item * L</issue_id>
160
161=back
162
163=cut
164
165117µs184µs__PACKAGE__->set_primary_key("issue_id");
# spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
166
167=head1 RELATIONS
168
169=head2 borrowernumber
170
171Type: belongs_to
172
173Related object: L<Koha::Schema::Result::Borrower>
174
175=cut
176
177110µs1381µs__PACKAGE__->belongs_to(
# spent 381µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
178 "borrowernumber",
179 "Koha::Schema::Result::Borrower",
180 { borrowernumber => "borrowernumber" },
181 {
182 is_deferrable => 1,
183 join_type => "LEFT",
184 on_delete => "SET NULL",
185 on_update => "SET NULL",
186 },
187);
188
189=head2 itemnumber
190
191Type: belongs_to
192
193Related object: L<Koha::Schema::Result::Item>
194
195=cut
196
19714µs1197µs__PACKAGE__->belongs_to(
# spent 197µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
198 "itemnumber",
199 "Koha::Schema::Result::Item",
200 { itemnumber => "itemnumber" },
201 {
202 is_deferrable => 1,
203 join_type => "LEFT",
204 on_delete => "SET NULL",
205 on_update => "SET NULL",
206 },
207);
208
209
210# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 13:04:51
211# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9GdzytyInRcFZns/q0qb3Q
212
213
214# You can replace this text with custom content, and it will be preserved on regeneration
215114µs1;