← 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:31:38 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/Serial.pm
StatementsExecuted 13 statements in 415µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11126µs29µsClass::C3::Componentised::::BEGIN@1.529 Class::C3::Componentised::BEGIN@1.529
11111µs91µsKoha::Schema::Result::Serial::::BEGIN@16Koha::Schema::Result::Serial::BEGIN@16
11110µs18µsKoha::Schema::Result::Serial::::BEGIN@13Koha::Schema::Result::Serial::BEGIN@13
1118µs14µsKoha::Schema::Result::Serial::::BEGIN@14Koha::Schema::Result::Serial::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1270µs232µs
# spent 29µs (26+3) within Class::C3::Componentised::BEGIN@1.529 which was called: # once (26µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.529 # spent 3µs making 1 call to utf8::import
2package Koha::Schema::Result::Serial;
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::Serial
10
11=cut
12
13237µs226µs
# spent 18µs (10+8) within Koha::Schema::Result::Serial::BEGIN@13 which was called: # once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 18µs making 1 call to Koha::Schema::Result::Serial::BEGIN@13 # spent 8µs making 1 call to strict::import
14237µs220µs
# spent 14µs (8+6) within Koha::Schema::Result::Serial::BEGIN@14 which was called: # once (8µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 14µs making 1 call to Koha::Schema::Result::Serial::BEGIN@14 # spent 6µs making 1 call to warnings::import
15
162187µs2171µs
# spent 91µs (11+80) within Koha::Schema::Result::Serial::BEGIN@16 which was called: # once (11µs+80µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 91µs making 1 call to Koha::Schema::Result::Serial::BEGIN@16 # spent 80µs making 1 call to base::import
17
18=head1 TABLE: C<serial>
19
20=cut
21
221200ns1210µs__PACKAGE__->table("serial");
# spent 210µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 serialid
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 biblionumber
33
34 data_type: 'varchar'
35 default_value: (empty string)
36 is_nullable: 0
37 size: 100
38
39=head2 subscriptionid
40
41 data_type: 'varchar'
42 default_value: (empty string)
43 is_nullable: 0
44 size: 100
45
46=head2 serialseq
47
48 data_type: 'varchar'
49 default_value: (empty string)
50 is_nullable: 0
51 size: 100
52
53=head2 serialseq_x
54
55 data_type: 'varchar'
56 is_nullable: 1
57 size: 100
58
59=head2 serialseq_y
60
61 data_type: 'varchar'
62 is_nullable: 1
63 size: 100
64
65=head2 serialseq_z
66
67 data_type: 'varchar'
68 is_nullable: 1
69 size: 100
70
71=head2 status
72
73 data_type: 'tinyint'
74 default_value: 0
75 is_nullable: 0
76
77=head2 planneddate
78
79 data_type: 'date'
80 datetime_undef_if_invalid: 1
81 is_nullable: 1
82
83=head2 notes
84
85 data_type: 'text'
86 is_nullable: 1
87
88=head2 publisheddate
89
90 data_type: 'date'
91 datetime_undef_if_invalid: 1
92 is_nullable: 1
93
94=head2 publisheddatetext
95
96 data_type: 'varchar'
97 is_nullable: 1
98 size: 100
99
100=head2 claimdate
101
102 data_type: 'date'
103 datetime_undef_if_invalid: 1
104 is_nullable: 1
105
106=head2 claims_count
107
108 data_type: 'integer'
109 default_value: 0
110 is_nullable: 1
111
112=head2 routingnotes
113
114 data_type: 'text'
115 is_nullable: 1
116
117=cut
118
119133µs111.6ms__PACKAGE__->add_columns(
# spent 11.6ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
120 "serialid",
121 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
122 "biblionumber",
123 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
124 "subscriptionid",
125 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
126 "serialseq",
127 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
128 "serialseq_x",
129 { data_type => "varchar", is_nullable => 1, size => 100 },
130 "serialseq_y",
131 { data_type => "varchar", is_nullable => 1, size => 100 },
132 "serialseq_z",
133 { data_type => "varchar", is_nullable => 1, size => 100 },
134 "status",
135 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
136 "planneddate",
137 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
138 "notes",
139 { data_type => "text", is_nullable => 1 },
140 "publisheddate",
141 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
142 "publisheddatetext",
143 { data_type => "varchar", is_nullable => 1, size => 100 },
144 "claimdate",
145 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
146 "claims_count",
147 { data_type => "integer", default_value => 0, is_nullable => 1 },
148 "routingnotes",
149 { data_type => "text", is_nullable => 1 },
150);
151
152=head1 PRIMARY KEY
153
154=over 4
155
156=item * L</serialid>
157
158=back
159
160=cut
161
162123µs198µs__PACKAGE__->set_primary_key("serialid");
# spent 98µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
163
164=head1 RELATIONS
165
166=head2 serialitems
167
168Type: has_many
169
170Related object: L<Koha::Schema::Result::Serialitem>
171
172=cut
173
174110µs1354µs__PACKAGE__->has_many(
# spent 354µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
175 "serialitems",
176 "Koha::Schema::Result::Serialitem",
177 { "foreign.serialid" => "self.serialid" },
178 { cascade_copy => 0, cascade_delete => 0 },
179);
180
181
182# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:19:30
183# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZwOGHLaGRVFow9J/DeKSGg
184
185
186# You can replace this text with custom code or comments, and it will be preserved on regeneration
187119µs1;