← 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/MessageQueue.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11146µs50µsClass::C3::Componentised::::BEGIN@1.2133 Class::C3::Componentised::BEGIN@1.2133
11113µs122µsKoha::Schema::Result::MessageQueue::::BEGIN@16Koha::Schema::Result::MessageQueue::BEGIN@16
11112µs26µsKoha::Schema::Result::MessageQueue::::BEGIN@13Koha::Schema::Result::MessageQueue::BEGIN@13
11111µs22µsKoha::Schema::Result::MessageQueue::::BEGIN@14Koha::Schema::Result::MessageQueue::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1255µs
# spent 50µs (46+5) within Class::C3::Componentised::BEGIN@1.2133 which was called: # once (46µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 50µs making 1 call to Class::C3::Componentised::BEGIN@1.2133 # spent 5µs making 1 call to utf8::import
2package Koha::Schema::Result::MessageQueue;
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::MessageQueue
10
11=cut
12
13239µs
# spent 26µs (12+14) within Koha::Schema::Result::MessageQueue::BEGIN@13 which was called: # once (12µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 26µs making 1 call to Koha::Schema::Result::MessageQueue::BEGIN@13 # spent 14µs making 1 call to strict::import
14233µs
# spent 22µs (11+11) within Koha::Schema::Result::MessageQueue::BEGIN@14 which was called: # once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 22µs making 1 call to Koha::Schema::Result::MessageQueue::BEGIN@14 # spent 11µs making 1 call to warnings::import
15
162232µs
# spent 122µs (13+110) within Koha::Schema::Result::MessageQueue::BEGIN@16 which was called: # once (13µs+110µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 122µs making 1 call to Koha::Schema::Result::MessageQueue::BEGIN@16 # spent 110µs making 1 call to base::import
17
18=head1 TABLE: C<message_queue>
19
20=cut
21
221452µs__PACKAGE__->table("message_queue");
# spent 452µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 message_id
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 borrowernumber
33
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 1
37
38=head2 subject
39
40 data_type: 'text'
41 is_nullable: 1
42
43=head2 content
44
45 data_type: 'text'
46 is_nullable: 1
47
48=head2 metadata
49
50 data_type: 'text'
51 is_nullable: 1
52
53=head2 letter_code
54
55 data_type: 'varchar'
56 is_nullable: 1
57 size: 64
58
59=head2 message_transport_type
60
61 data_type: 'varchar'
62 is_foreign_key: 1
63 is_nullable: 0
64 size: 20
65
66=head2 status
67
68 data_type: 'enum'
69 default_value: 'pending'
70 extra: {list => ["sent","pending","failed","deleted"]}
71 is_nullable: 0
72
73=head2 time_queued
74
75 data_type: 'timestamp'
76 datetime_undef_if_invalid: 1
77 default_value: current_timestamp
78 is_nullable: 0
79
80=head2 to_address
81
82 data_type: 'mediumtext'
83 is_nullable: 1
84
85=head2 from_address
86
87 data_type: 'mediumtext'
88 is_nullable: 1
89
90=head2 content_type
91
92 data_type: 'text'
93 is_nullable: 1
94
95=cut
96
9716.46ms__PACKAGE__->add_columns(
# spent 6.46ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
98 "message_id",
99 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
100 "borrowernumber",
101 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
102 "subject",
103 { data_type => "text", is_nullable => 1 },
104 "content",
105 { data_type => "text", is_nullable => 1 },
106 "metadata",
107 { data_type => "text", is_nullable => 1 },
108 "letter_code",
109 { data_type => "varchar", is_nullable => 1, size => 64 },
110 "message_transport_type",
111 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 20 },
112 "status",
113 {
114 data_type => "enum",
115 default_value => "pending",
116 extra => { list => ["sent", "pending", "failed", "deleted"] },
117 is_nullable => 0,
118 },
119 "time_queued",
120 {
121 data_type => "timestamp",
122 datetime_undef_if_invalid => 1,
123 default_value => \"current_timestamp",
124 is_nullable => 0,
125 },
126 "to_address",
127 { data_type => "mediumtext", is_nullable => 1 },
128 "from_address",
129 { data_type => "mediumtext", is_nullable => 1 },
130 "content_type",
131 { data_type => "text", is_nullable => 1 },
132);
133
134=head1 PRIMARY KEY
135
136=over 4
137
138=item * L</message_id>
139
140=back
141
142=cut
143
1441100µs__PACKAGE__->set_primary_key("message_id");
# spent 100µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
145
146=head1 RELATIONS
147
148=head2 borrowernumber
149
150Type: belongs_to
151
152Related object: L<Koha::Schema::Result::Borrower>
153
154=cut
155
1561410µs__PACKAGE__->belongs_to(
# spent 410µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
157 "borrowernumber",
158 "Koha::Schema::Result::Borrower",
159 { borrowernumber => "borrowernumber" },
160 {
161 is_deferrable => 1,
162 join_type => "LEFT",
163 on_delete => "CASCADE",
164 on_update => "CASCADE",
165 },
166);
167
168=head2 message_transport_type
169
170Type: belongs_to
171
172Related object: L<Koha::Schema::Result::MessageTransportType>
173
174=cut
175
1761209µs__PACKAGE__->belongs_to(
# spent 209µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
177 "message_transport_type",
178 "Koha::Schema::Result::MessageTransportType",
179 { message_transport_type => "message_transport_type" },
180 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
181);
182
183
184# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-06-22 16:37:20
185# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nQcmtLCbGEeLFLFP4jwy2g
186
187
188# You can replace this text with custom content, and it will be preserved on regeneration
1891;