← 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 13:01:18 2016
Reported on Fri Jan 8 13:01:35 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/TagsIndex.pm
StatementsExecuted 14 statements in 599µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11138µs44µsClass::C3::Componentised::::BEGIN@1.694 Class::C3::Componentised::BEGIN@1.694
11114µs132µsKoha::Schema::Result::TagsIndex::::BEGIN@16Koha::Schema::Result::TagsIndex::BEGIN@16
11111µs24µsKoha::Schema::Result::TagsIndex::::BEGIN@13Koha::Schema::Result::TagsIndex::BEGIN@13
11111µs21µsKoha::Schema::Result::TagsIndex::::BEGIN@14Koha::Schema::Result::TagsIndex::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1286µs250µs
# spent 44µs (38+6) within Class::C3::Componentised::BEGIN@1.694 which was called: # once (38µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 44µs making 1 call to Class::C3::Componentised::BEGIN@1.694 # spent 6µs making 1 call to utf8::import
2package Koha::Schema::Result::TagsIndex;
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::TagsIndex
10
11=cut
12
13245µs237µs
# spent 24µs (11+13) within Koha::Schema::Result::TagsIndex::BEGIN@13 which was called: # once (11µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 24µs making 1 call to Koha::Schema::Result::TagsIndex::BEGIN@13 # spent 13µs making 1 call to strict::import
14244µs232µs
# spent 21µs (11+11) within Koha::Schema::Result::TagsIndex::BEGIN@14 which was called: # once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 21µs making 1 call to Koha::Schema::Result::TagsIndex::BEGIN@14 # spent 11µs making 1 call to warnings::import
15
162295µs2250µs
# spent 132µs (14+118) within Koha::Schema::Result::TagsIndex::BEGIN@16 which was called: # once (14µs+118µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 132µs making 1 call to Koha::Schema::Result::TagsIndex::BEGIN@16 # spent 118µs making 1 call to base::import
17
18=head1 TABLE: C<tags_index>
19
20=cut
21
22130µs1375µs__PACKAGE__->table("tags_index");
# spent 375µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 term
27
28 data_type: 'varchar'
29 is_foreign_key: 1
30 is_nullable: 0
31 size: 255
32
33=head2 biblionumber
34
35 data_type: 'integer'
36 is_foreign_key: 1
37 is_nullable: 0
38
39=head2 weight
40
41 data_type: 'integer'
42 default_value: 1
43 is_nullable: 0
44
45=cut
46
47124µs11.71ms__PACKAGE__->add_columns(
# spent 1.71ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
48 "term",
49 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 255 },
50 "biblionumber",
51 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
52 "weight",
53 { data_type => "integer", default_value => 1, is_nullable => 0 },
54);
55
56=head1 PRIMARY KEY
57
58=over 4
59
60=item * L</term>
61
62=item * L</biblionumber>
63
64=back
65
66=cut
67
68127µs1157µs__PACKAGE__->set_primary_key("term", "biblionumber");
# spent 157µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
69
70=head1 RELATIONS
71
72=head2 biblionumber
73
74Type: belongs_to
75
76Related object: L<Koha::Schema::Result::Biblio>
77
78=cut
79
80117µs11.32ms__PACKAGE__->belongs_to(
# spent 1.32ms making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
81 "biblionumber",
82 "Koha::Schema::Result::Biblio",
83 { biblionumber => "biblionumber" },
84 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
85);
86
87=head2 term
88
89Type: belongs_to
90
91Related object: L<Koha::Schema::Result::TagsApproval>
92
93=cut
94
95114µs11.22ms__PACKAGE__->belongs_to(
# spent 1.22ms making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
96 "term",
97 "Koha::Schema::Result::TagsApproval",
98 { term => "term" },
99 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
100);
101
102
103# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
104# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LCvvyig+memFWmWUdCStXQ
105
106
107# You can replace this text with custom content, and it will be preserved on regeneration
108116µs1;