← 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/HoldFillTarget.pm
StatementsExecuted 16 statements in 595µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11129µs34µsClass::C3::Componentised::::BEGIN@1.2572 Class::C3::Componentised::BEGIN@1.2572
11112µs24µsKoha::Schema::Result::HoldFillTarget::::BEGIN@13Koha::Schema::Result::HoldFillTarget::BEGIN@13
11111µs97µsKoha::Schema::Result::HoldFillTarget::::BEGIN@16Koha::Schema::Result::HoldFillTarget::BEGIN@16
11110µs21µsKoha::Schema::Result::HoldFillTarget::::BEGIN@14Koha::Schema::Result::HoldFillTarget::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1279µs239µs
# spent 34µs (29+5) within Class::C3::Componentised::BEGIN@1.2572 which was called: # once (29µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.2572 # spent 5µs making 1 call to utf8::import
2package Koha::Schema::Result::HoldFillTarget;
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::HoldFillTarget
10
11=cut
12
13252µs236µs
# spent 24µs (12+12) within Koha::Schema::Result::HoldFillTarget::BEGIN@13 which was called: # once (12µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 24µs making 1 call to Koha::Schema::Result::HoldFillTarget::BEGIN@13 # spent 12µs making 1 call to strict::import
14246µs232µs
# spent 21µs (10+11) within Koha::Schema::Result::HoldFillTarget::BEGIN@14 which was called: # once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 21µs making 1 call to Koha::Schema::Result::HoldFillTarget::BEGIN@14 # spent 11µs making 1 call to warnings::import
15
162312µs2183µs
# spent 97µs (11+86) within Koha::Schema::Result::HoldFillTarget::BEGIN@16 which was called: # once (11µs+86µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 97µs making 1 call to Koha::Schema::Result::HoldFillTarget::BEGIN@16 # spent 86µs making 1 call to base::import
17
18=head1 TABLE: C<hold_fill_targets>
19
20=cut
21
22122µs1368µs__PACKAGE__->table("hold_fill_targets");
# spent 368µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 borrowernumber
27
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
31
32=head2 biblionumber
33
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 0
37
38=head2 itemnumber
39
40 data_type: 'integer'
41 is_foreign_key: 1
42 is_nullable: 0
43
44=head2 source_branchcode
45
46 data_type: 'varchar'
47 is_foreign_key: 1
48 is_nullable: 1
49 size: 10
50
51=head2 item_level_request
52
53 data_type: 'tinyint'
54 default_value: 0
55 is_nullable: 0
56
57=cut
58
59128µs11.88ms__PACKAGE__->add_columns(
# spent 1.88ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
60 "borrowernumber",
61 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
62 "biblionumber",
63 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
64 "itemnumber",
65 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
66 "source_branchcode",
67 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
68 "item_level_request",
69 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
70);
71
72=head1 PRIMARY KEY
73
74=over 4
75
76=item * L</itemnumber>
77
78=back
79
80=cut
81
82121µs185µs__PACKAGE__->set_primary_key("itemnumber");
# spent 85µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
83
84=head1 RELATIONS
85
86=head2 biblionumber
87
88Type: belongs_to
89
90Related object: L<Koha::Schema::Result::Biblio>
91
92=cut
93
9419µs1403µs__PACKAGE__->belongs_to(
# spent 403µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
95 "biblionumber",
96 "Koha::Schema::Result::Biblio",
97 { biblionumber => "biblionumber" },
98 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
99);
100
101=head2 borrowernumber
102
103Type: belongs_to
104
105Related object: L<Koha::Schema::Result::Borrower>
106
107=cut
108
10914µs1404µs__PACKAGE__->belongs_to(
# spent 404µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
110 "borrowernumber",
111 "Koha::Schema::Result::Borrower",
112 { borrowernumber => "borrowernumber" },
113 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
114);
115
116=head2 itemnumber
117
118Type: belongs_to
119
120Related object: L<Koha::Schema::Result::Item>
121
122=cut
123
12414µs1203µs__PACKAGE__->belongs_to(
# spent 203µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
125 "itemnumber",
126 "Koha::Schema::Result::Item",
127 { itemnumber => "itemnumber" },
128 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
129);
130
131=head2 source_branchcode
132
133Type: belongs_to
134
135Related object: L<Koha::Schema::Result::Branch>
136
137=cut
138
13915µs1902µs__PACKAGE__->belongs_to(
# spent 902µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
140 "source_branchcode",
141 "Koha::Schema::Result::Branch",
142 { branchcode => "source_branchcode" },
143 {
144 is_deferrable => 1,
145 join_type => "LEFT",
146 on_delete => "CASCADE",
147 on_update => "CASCADE",
148 },
149);
150
151
152# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
153# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uSU9PBMr4e6XKuDgBV583A
154
155
156# You can replace this text with custom content, and it will be preserved on regeneration
157112µs1;