← 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/CourseInstructor.pm
StatementsExecuted 14 statements in 498µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11131µs35µsClass::C3::Componentised::::BEGIN@1.1871 Class::C3::Componentised::BEGIN@1.1871
11111µs97µsKoha::Schema::Result::CourseInstructor::::BEGIN@16Koha::Schema::Result::CourseInstructor::BEGIN@16
11111µs19µsKoha::Schema::Result::CourseInstructor::::BEGIN@14Koha::Schema::Result::CourseInstructor::BEGIN@14
11110µs22µsKoha::Schema::Result::CourseInstructor::::BEGIN@13Koha::Schema::Result::CourseInstructor::BEGIN@13
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 35µs (31+4) within Class::C3::Componentised::BEGIN@1.1871 which was called: # once (31µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 35µs making 1 call to Class::C3::Componentised::BEGIN@1.1871 # spent 4µs making 1 call to utf8::import
2package Koha::Schema::Result::CourseInstructor;
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::CourseInstructor
10
11=cut
12
13242µs234µs
# spent 22µs (10+12) within Koha::Schema::Result::CourseInstructor::BEGIN@13 which was called: # once (10µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 22µs making 1 call to Koha::Schema::Result::CourseInstructor::BEGIN@13 # spent 12µs making 1 call to strict::import
14244µs228µs
# spent 19µs (11+9) within Koha::Schema::Result::CourseInstructor::BEGIN@14 which was called: # once (11µ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::CourseInstructor::BEGIN@14 # spent 9µs making 1 call to warnings::import
15
162245µs2182µs
# spent 97µs (11+86) within Koha::Schema::Result::CourseInstructor::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::CourseInstructor::BEGIN@16 # spent 86µs making 1 call to base::import
17
18=head1 TABLE: C<course_instructors>
19
20=cut
21
22123µs1345µs__PACKAGE__->table("course_instructors");
# spent 345µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 course_id
27
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
31
32=head2 borrowernumber
33
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 0
37
38=cut
39
40118µs1209µs__PACKAGE__->add_columns(
# spent 209µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
41 "course_id",
42 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
43 "borrowernumber",
44 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
45);
46
47=head1 PRIMARY KEY
48
49=over 4
50
51=item * L</course_id>
52
53=item * L</borrowernumber>
54
55=back
56
57=cut
58
59117µs184µs__PACKAGE__->set_primary_key("course_id", "borrowernumber");
# spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
60
61=head1 RELATIONS
62
63=head2 borrowernumber
64
65Type: belongs_to
66
67Related object: L<Koha::Schema::Result::Borrower>
68
69=cut
70
71119µs1438µs__PACKAGE__->belongs_to(
# spent 438µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
72 "borrowernumber",
73 "Koha::Schema::Result::Borrower",
74 { borrowernumber => "borrowernumber" },
75 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
76);
77
78=head2 course
79
80Type: belongs_to
81
82Related object: L<Koha::Schema::Result::Course>
83
84=cut
85
8614µs1199µs__PACKAGE__->belongs_to(
# spent 199µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
87 "course",
88 "Koha::Schema::Result::Course",
89 { course_id => "course_id" },
90 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
91);
92
93
94# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
95# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A
96
97
98# You can replace this text with custom content, and it will be preserved on regeneration
9918µs1;