← 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:37 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/AuthorisedValuesBranch.pm
StatementsExecuted 14 statements in 526µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11138µs42µsClass::C3::Componentised::::BEGIN@1.149 Class::C3::Componentised::BEGIN@1.149
11111µs94µsKoha::Schema::Result::AuthorisedValuesBranch::::BEGIN@16Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@16
11110µs19µsKoha::Schema::Result::AuthorisedValuesBranch::::BEGIN@14Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@14
11110µs23µsKoha::Schema::Result::AuthorisedValuesBranch::::BEGIN@13Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@13
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1278µs246µs
# spent 42µs (38+4) within Class::C3::Componentised::BEGIN@1.149 which was called: # once (38µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 42µs making 1 call to Class::C3::Componentised::BEGIN@1.149 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::AuthorisedValuesBranch;
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::AuthorisedValuesBranch
10
11=cut
12
13243µs235µs
# spent 23µs (10+13) within Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@13 which was called: # once (10µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 23µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@13 # spent 13µs making 1 call to strict::import
14242µs228µs
# spent 19µs (10+9) within Koha::Schema::Result::AuthorisedValuesBranch::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::AuthorisedValuesBranch::BEGIN@14 # spent 9µs making 1 call to warnings::import
15
162252µs2177µs
# spent 94µs (11+83) within Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@16 which was called: # once (11µs+83µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 94µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::BEGIN@16 # spent 83µs making 1 call to base::import
17
18=head1 TABLE: C<authorised_values_branches>
19
20=cut
21
22125µs1354µs__PACKAGE__->table("authorised_values_branches");
# spent 354µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 av_id
27
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
31
32=head2 branchcode
33
34 data_type: 'varchar'
35 is_foreign_key: 1
36 is_nullable: 0
37 size: 10
38
39=cut
40
41119µs1576µs__PACKAGE__->add_columns(
# spent 576µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
42 "av_id",
43 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
44 "branchcode",
45 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
46);
47
48=head1 RELATIONS
49
50=head2 av
51
52Type: belongs_to
53
54Related object: L<Koha::Schema::Result::AuthorisedValue>
55
56=cut
57
58114µs1345µs__PACKAGE__->belongs_to(
# spent 345µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
59 "av",
60 "Koha::Schema::Result::AuthorisedValue",
61 { id => "av_id" },
62 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
63);
64
65=head2 branchcode
66
67Type: belongs_to
68
69Related object: L<Koha::Schema::Result::Branch>
70
71=cut
72
7314µs1274µs__PACKAGE__->belongs_to(
# spent 274µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
74 "branchcode",
75 "Koha::Schema::Result::Branch",
76 { branchcode => "branchcode" },
77 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
78);
79
80
81# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-10-23 10:48:27
82# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cjPAyQSK7F7sEkiWjCUE7Q
83
84137µs2610µs__PACKAGE__->set_primary_key(__PACKAGE__->columns);
# spent 503µs making 1 call to DBIx::Class::ResultSourceProxy::columns # spent 107µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
85
86111µs1;