← 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/MessageAttribute.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11146µs51µsClass::C3::Componentised::::BEGIN@1.2196 Class::C3::Componentised::BEGIN@1.2196
11112µs25µsKoha::Schema::Result::MessageAttribute::::BEGIN@13Koha::Schema::Result::MessageAttribute::BEGIN@13
11112µs22µsKoha::Schema::Result::MessageAttribute::::BEGIN@14Koha::Schema::Result::MessageAttribute::BEGIN@14
11111µs96µsKoha::Schema::Result::MessageAttribute::::BEGIN@16Koha::Schema::Result::MessageAttribute::BEGIN@16
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1256µs
# spent 51µs (46+5) within Class::C3::Componentised::BEGIN@1.2196 which was called: # once (46µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 51µs making 1 call to Class::C3::Componentised::BEGIN@1.2196 # spent 5µs making 1 call to utf8::import
2package Koha::Schema::Result::MessageAttribute;
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::MessageAttribute
10
11=cut
12
13238µs
# spent 25µs (12+13) within Koha::Schema::Result::MessageAttribute::BEGIN@13 which was called: # once (12µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 25µs making 1 call to Koha::Schema::Result::MessageAttribute::BEGIN@13 # spent 13µs making 1 call to strict::import
14233µs
# spent 22µs (12+11) within Koha::Schema::Result::MessageAttribute::BEGIN@14 which was called: # once (12µ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::MessageAttribute::BEGIN@14 # spent 11µs making 1 call to warnings::import
15
162180µs
# spent 96µs (11+85) within Koha::Schema::Result::MessageAttribute::BEGIN@16 which was called: # once (11µs+85µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 96µs making 1 call to Koha::Schema::Result::MessageAttribute::BEGIN@16 # spent 85µs making 1 call to base::import
17
18=head1 TABLE: C<message_attributes>
19
20=cut
21
221364µs__PACKAGE__->table("message_attributes");
# spent 364µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 message_attribute_id
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 message_name
33
34 data_type: 'varchar'
35 default_value: (empty string)
36 is_nullable: 0
37 size: 40
38
39=head2 takes_days
40
41 data_type: 'tinyint'
42 default_value: 0
43 is_nullable: 0
44
45=cut
46
4711.61ms__PACKAGE__->add_columns(
# spent 1.61ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
48 "message_attribute_id",
49 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
50 "message_name",
51 { data_type => "varchar", default_value => "", is_nullable => 0, size => 40 },
52 "takes_days",
53 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
54);
55
56=head1 PRIMARY KEY
57
58=over 4
59
60=item * L</message_attribute_id>
61
62=back
63
64=cut
65
661195µs__PACKAGE__->set_primary_key("message_attribute_id");
# spent 195µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
67
68=head1 UNIQUE CONSTRAINTS
69
70=head2 C<message_name>
71
72=over 4
73
74=item * L</message_name>
75
76=back
77
78=cut
79
80131µs__PACKAGE__->add_unique_constraint("message_name", ["message_name"]);
81
82=head1 RELATIONS
83
84=head2 borrower_message_preferences
85
86Type: has_many
87
88Related object: L<Koha::Schema::Result::BorrowerMessagePreference>
89
90=cut
91
921400µs__PACKAGE__->has_many(
# spent 400µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
93 "borrower_message_preferences",
94 "Koha::Schema::Result::BorrowerMessagePreference",
95 { "foreign.message_attribute_id" => "self.message_attribute_id" },
96 { cascade_copy => 0, cascade_delete => 0 },
97);
98
99=head2 message_transports
100
101Type: has_many
102
103Related object: L<Koha::Schema::Result::MessageTransport>
104
105=cut
106
1071253µs__PACKAGE__->has_many(
# spent 253µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
108 "message_transports",
109 "Koha::Schema::Result::MessageTransport",
110 { "foreign.message_attribute_id" => "self.message_attribute_id" },
111 { cascade_copy => 0, cascade_delete => 0 },
112);
113
114
115# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
116# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N033AvWwG2CDBDuTj2unqQ
117
118
119# You can replace this text with custom content, and it will be preserved on regeneration
1201;