Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy.pm |
Statements | Executed 5213 statements in 36.2ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 25.7ms | 632ms | add_columns | DBIx::Class::ResultSourceProxy::
319 | 3 | 3 | 8.95ms | 143ms | add_relationship | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 14µs | 20µs | BEGIN@4 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 11µs | 48µs | BEGIN@7 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 9µs | 32µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 8µs | 22µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 8µs | 102µs | BEGIN@11 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 7µs | 11µs | BEGIN@5 | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | add_column | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | get_inherited_ro_instance | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | iterator_class | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | set_inherited_ro_instance | DBIx::Class::ResultSourceProxy::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package # hide from PAUSE | ||||
2 | DBIx::Class::ResultSourceProxy; | ||||
3 | |||||
4 | 2 | 34µs | 2 | 26µs | # spent 20µs (14+6) within DBIx::Class::ResultSourceProxy::BEGIN@4 which was called:
# once (14µs+6µs) by base::import at line 4 # spent 20µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@4
# spent 6µs making 1 call to strict::import |
5 | 2 | 29µs | 2 | 14µs | # spent 11µs (7+4) within DBIx::Class::ResultSourceProxy::BEGIN@5 which was called:
# once (7µs+4µs) by base::import at line 5 # spent 11µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@5
# spent 4µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 71µs | 2 | 48µs | # spent 48µs (11+37) within DBIx::Class::ResultSourceProxy::BEGIN@7 which was called:
# once (11µs+37µs) by base::import at line 7 # spent 48µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@7
# spent 37µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 37µs |
8 | |||||
9 | 2 | 52µs | 2 | 55µs | # spent 32µs (9+23) within DBIx::Class::ResultSourceProxy::BEGIN@9 which was called:
# once (9µs+23µs) by base::import at line 9 # spent 32µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@9
# spent 23µs making 1 call to Exporter::import |
10 | 2 | 40µs | 2 | 37µs | # spent 22µs (8+14) within DBIx::Class::ResultSourceProxy::BEGIN@10 which was called:
# once (8µs+14µs) by base::import at line 10 # spent 22µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10
# spent 14µs making 1 call to Exporter::import |
11 | 2 | 630µs | 2 | 196µs | # spent 102µs (8+94) within DBIx::Class::ResultSourceProxy::BEGIN@11 which was called:
# once (8µs+94µs) by base::import at line 11 # spent 102µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@11
# spent 94µs making 1 call to namespace::clean::import |
12 | |||||
13 | 1 | 10µs | 1 | 356µs | __PACKAGE__->mk_group_accessors('inherited_ro_instance' => 'source_name'); # spent 356µs making 1 call to Class::Accessor::Grouped::mk_group_accessors |
14 | |||||
15 | sub get_inherited_ro_instance { shift->get_inherited(@_) } | ||||
16 | |||||
17 | sub set_inherited_ro_instance { | ||||
18 | my $self = shift; | ||||
19 | |||||
20 | $self->throw_exception ("Cannot set @{[shift]} on an instance") | ||||
21 | if blessed $self; | ||||
22 | |||||
23 | $self->set_inherited(@_); | ||||
24 | } | ||||
25 | |||||
26 | |||||
27 | # spent 632ms (25.7+606) within DBIx::Class::ResultSourceProxy::add_columns which was called 174 times, avg 3.63ms/call:
# once (1.27ms+40.3ms) by Class::C3::Componentised::ensure_class_loaded at line 404 of Koha/Schema/Result/Deletedborrower.pm
# once (997µs+29.0ms) by Class::C3::Componentised::ensure_class_loaded at line 275 of Koha/Schema/Result/Deleteditem.pm
# once (695µs+25.2ms) by Class::C3::Componentised::ensure_class_loaded at line 264 of Koha/Schema/Result/Subscription.pm
# once (435µs+16.9ms) by Class::C3::Componentised::ensure_class_loaded at line 152 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (586µs+13.8ms) by Class::C3::Componentised::ensure_class_loaded at line 196 of Koha/Schema/Result/Issuingrule.pm
# once (467µs+13.0ms) by Class::C3::Componentised::ensure_class_loaded at line 232 of Koha/Schema/Result/Aqorder.pm
# once (380µs+12.8ms) by Class::C3::Componentised::ensure_class_loaded at line 144 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (525µs+12.2ms) by Class::C3::Componentised::ensure_class_loaded at line 217 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (566µs+11.8ms) by Class::C3::Componentised::ensure_class_loaded at line 207 of Koha/Schema/Result/Suggestion.pm
# once (432µs+10.3ms) by Class::C3::Componentised::ensure_class_loaded at line 170 of Koha/Schema/Result/Aqbookseller.pm
# once (306µs+10.1ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/Z3950server.pm
# once (233µs+9.92ms) by Class::C3::Componentised::ensure_class_loaded at line 111 of Koha/Schema/Result/Aqbasket.pm
# once (473µs+9.61ms) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/BorrowerModification.pm
# once (301µs+9.07ms) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/Category.pm
# once (432µs+8.55ms) by Class::C3::Componentised::ensure_class_loaded at line 133 of Koha/Schema/Result/Branch.pm
# once (314µs+8.58ms) by Class::C3::Componentised::ensure_class_loaded at line 134 of Koha/Schema/Result/OldReserve.pm
# once (334µs+8.48ms) by Class::C3::Componentised::ensure_class_loaded at line 139 of Koha/Schema/Result/CreatorTemplate.pm
# once (158µs+7.87ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/SearchHistory.pm
# once (220µs+7.73ms) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Overduerule.pm
# once (231µs+7.19ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/SavedSql.pm
# once (110µs+7.21ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ReportsDictionary.pm
# once (101µs+7.21ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Collection.pm
# once (268µs+6.73ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/ImportBatch.pm
# once (314µs+6.38ms) by Class::C3::Componentised::ensure_class_loaded at line 118 of Koha/Schema/Result/Aqbudget.pm
# once (321µs+6.17ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/CreatorLayout.pm
# once (106µs+6.30ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/TagAll.pm
# once (210µs+6.15ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/UploadedFile.pm
# once (248µs+5.98ms) by Class::C3::Componentised::ensure_class_loaded at line 137 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (90µs+5.96ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/ImportAuth.pm
# once (297µs+5.50ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/Serial.pm
# once (189µs+5.59ms) by Class::C3::Componentised::ensure_class_loaded at line 97 of Koha/Schema/Result/MessageQueue.pm
# once (264µs+5.13ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/Accountline.pm
# once (180µs+5.19ms) by Class::C3::Componentised::ensure_class_loaded at line 96 of Koha/Schema/Result/Statistic.pm
# once (206µs+4.97ms) by Class::C3::Componentised::ensure_class_loaded at line 95 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (168µs+4.99ms) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (166µs+4.96ms) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/PrintersProfile.pm
# once (181µs+4.88ms) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/Itemtype.pm
# once (187µs+4.76ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/ImportRecord.pm
# once (206µs+4.66ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/Aqcontact.pm
# once (376µs+4.46ms) by Class::C3::Componentised::ensure_class_loaded at line 406 of Koha/Schema/Result/Borrower.pm
# once (175µs+4.66ms) by Class::C3::Componentised::ensure_class_loaded at line 91 of Koha/Schema/Result/Virtualshelve.pm
# once (179µs+4.32ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/OldIssue.pm
# once (132µs+4.17ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/Subscriptionhistory.pm
# once (142µs+4.00ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/SocialData.pm
# once (283µs+3.77ms) by Class::C3::Componentised::ensure_class_loaded at line 278 of Koha/Schema/Result/Item.pm
# once (125µs+3.87ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/City.pm
# once (133µs+3.78ms) by Class::C3::Componentised::ensure_class_loaded at line 65 of Koha/Schema/Result/Currency.pm
# once (145µs+3.64ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Aqcontract.pm
# once (126µs+3.63ms) by Class::C3::Componentised::ensure_class_loaded at line 69 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (176µs+3.58ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/Aqinvoice.pm
# once (148µs+3.38ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/CreatorBatch.pm
# once (148µs+3.33ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/BorrowerDebarment.pm
# once (92µs+3.28ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Localization.pm
# once (178µs+3.15ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/SpecialHoliday.pm
# once (122µs+3.18ms) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerFile.pm
# once (147µs+3.08ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ImportBiblio.pm
# once (149µs+3.04ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Deletedbiblio.pm
# once (184µs+2.93ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Course.pm
# once (158µs+2.85ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ExportFormat.pm
# once (111µs+2.88ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/BranchTransferLimit.pm
# once (124µs+2.83ms) by Class::C3::Componentised::ensure_class_loaded at line 64 of Koha/Schema/Result/ColumnsSetting.pm
# once (155µs+2.73ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/Letter.pm
# once (142µs+2.73ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Systempreference.pm
# once (91µs+2.69ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Fieldmapping.pm
# once (127µs+2.64ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/AuthTagStructure.pm
# once (118µs+2.64ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/AuthHeader.pm
# once (119µs+2.63ms) by Class::C3::Componentised::ensure_class_loaded at line 67 of Koha/Schema/Result/ActionLog.pm
# once (152µs+2.58ms) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerSync.pm
# once (140µs+2.59ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/Aqbasketgroup.pm
# once (137µs+2.57ms) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/MatchpointComponent.pm
# once (126µs+2.58ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/AuthorisedValue.pm
# once (127µs+2.42ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/CourseReserve.pm
# once (92µs+2.44ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Userflag.pm
# once (210µs+2.31ms) by Class::C3::Componentised::ensure_class_loaded at line 218 of Koha/Schema/Result/Biblioitem.pm
# once (82µs+2.38ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/SavedReport.pm
# once (92µs+2.36ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Message.pm
# once (139µs+2.29ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Branchtransfer.pm
# once (128µs+2.23ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (108µs+2.23ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Zebraqueue.pm
# once (114µs+2.20ms) by Class::C3::Componentised::ensure_class_loaded at line 55 of Koha/Schema/Result/Browser.pm
# once (92µs+2.16ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Biblioimage.pm
# once (131µs+2.06ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (111µs+2.02ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/OaiSetsMapping.pm
# once (155µs+1.93ms) by Class::C3::Componentised::ensure_class_loaded at line 135 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (123µs+1.94ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/TagsApproval.pm
# once (96µs+1.96ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ImportItem.pm
# once (106µs+1.94ms) by Class::C3::Componentised::ensure_class_loaded at line 86 of Koha/Schema/Result/OpacNews.pm
# once (80µs+1.97ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AudioAlert.pm
# once (81µs+1.94ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/AuthType.pm
# once (99µs+1.92ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/Notify.pm
# once (97µs+1.90ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/MessageTransport.pm
# once (86µs+1.91ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Accountoffset.pm
# once (92µs+1.80ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Branchcategory.pm
# once (73µs+1.81ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/PluginData.pm
# once (72µs+1.81ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/HoldFillTarget.pm
# once (100µs+1.75ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (57µs+1.78ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/CreatorImage.pm
# once (65µs+1.77ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/Alert.pm
# once (76µs+1.70ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Virtualshelfshare.pm
# once (82µs+1.69ms) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/Matchpoint.pm
# once (60µs+1.64ms) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/ServicesThrottle.pm
# once (99µs+1.58ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/ItemsSearchField.pm
# once (73µs+1.60ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/AqordersTransfer.pm
# once (97µs+1.53ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Discharge.pm
# once (76µs+1.51ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Matchcheck.pm
# once (91µs+1.49ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/Review.pm
# once (57µs+1.49ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/MessageAttribute.pm
# once (128µs+1.36ms) by Class::C3::Componentised::ensure_class_loaded at line 138 of Koha/Schema/Result/Reserve.pm
# once (74µs+1.41ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/Printer.pm
# once (81µs+1.38ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (78µs+1.37ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/Quote.pm
# once (105µs+1.33ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (59µs+1.37ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (80µs+1.32ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (88µs+1.31ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/MiscFile.pm
# once (107µs+1.27ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Linktracker.pm
# once (88µs+1.27ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (68µs+1.26ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (57µs+1.23ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/MarcMatcher.pm
# once (67µs+1.17ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/TransportCost.pm
# once (72µs+1.16ms) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BranchItemRule.pm
# once (59µs+1.11ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/AdditionalField.pm
# once (72µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (80µs+1.07ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/RepeatableHoliday.pm
# once (56µs+1.08ms) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/Tag.pm
# once (71µs+1.06ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (67µs+1.06ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/ClassSortRule.pm
# once (52µs+1.05ms) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (74µs+1.02ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/ImportRecordMatch.pm
# once (63µs+1.01ms) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BorrowerAttribute.pm
# once (63µs+1.00ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Rating.pm
# once (117µs+937µs) by Class::C3::Componentised::ensure_class_loaded at line 106 of Koha/Schema/Result/Issue.pm
# once (63µs+971µs) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (56µs+976µs) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/CollectionsTracking.pm
# once (62µs+970µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/OaiSet.pm
# once (45µs+982µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (68µs+948µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronList.pm
# once (62µs+918µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronListPatron.pm
# once (90µs+875µs) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Biblio.pm
# once (69µs+881µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (66µs+863µs) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/ClassSource.pm
# once (52µs+841µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (75µs+801µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultCircRule.pm
# once (56µs+804µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (44µs+809µs) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/TagsIndex.pm
# once (64µs+742µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/AqordersItem.pm
# once (67µs+721µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/Session.pm
# once (53µs+681µs) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (58µs+641µs) by Class::C3::Componentised::ensure_class_loaded at line 49 of Koha/Schema/Result/UserPermission.pm
# once (70µs+595µs) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/CourseItem.pm
# once (33µs+624µs) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/Stopword.pm
# once (38µs+575µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BiblioFramework.pm
# once (64µs+500µs) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/MarcTagStructure.pm
# once (62µs+493µs) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/ActionLogs.pm
# once (40µs+514µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (57µs+433µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (54µs+378µs) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageDescription.pm
# once (46µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (43µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/Permission.pm
# once (44µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (44µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (44µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/Patronimage.pm
# once (61µs+203µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (64µs+183µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/CategoriesBranch.pm
# once (42µs+193µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (38µs+198µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/CourseInstructor.pm
# once (37µs+197µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/OaiSetsDescription.pm
# once (39µs+179µs) by Class::C3::Componentised::ensure_class_loaded at line 43 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (41µs+173µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Serialitem.pm
# once (39µs+174µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbasketuser.pm
# once (40µs+173µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/AqorderUser.pm
# once (39µs+167µs) by Class::C3::Componentised::ensure_class_loaded at line 44 of Koha/Schema/Result/Branchrelation.pm
# once (41µs+164µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (30µs+94µs) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/MessageTransportType.pm | ||||
28 | 174 | 387µs | my ($class, @cols) = @_; | ||
29 | 174 | 277µs | 174 | 1.10ms | my $source = $class->result_source_instance; # spent 12µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 200ns making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 100ns making 1 call to Koha::Schema::Result::OldReserve::result_source_instance |
30 | 174 | 786µs | 174 | 12.3ms | $source->add_columns(@cols); # spent 12.3ms making 174 calls to DBIx::Class::ResultSource::add_columns, avg 71µs/call |
31 | 174 | 1.61ms | foreach my $c (grep { !ref } @cols) { | ||
32 | # If this is an augment definition get the real colname. | ||||
33 | 1602 | 3.79ms | 1602 | 1.35ms | $c =~ s/^\+//; # spent 1.35ms making 1602 calls to DBIx::Class::ResultSourceProxy::CORE:subst, avg 842ns/call |
34 | |||||
35 | 1602 | 18.3ms | 3204 | 592ms | $class->register_column($c => $source->column_info($c)); # spent 585ms making 1602 calls to DBIx::Class::Row::register_column, avg 365µs/call
# spent 6.18ms making 1602 calls to DBIx::Class::ResultSource::column_info, avg 4µs/call |
36 | } | ||||
37 | } | ||||
38 | |||||
39 | sub add_column { shift->add_columns(@_) } | ||||
40 | |||||
41 | |||||
42 | # spent 143ms (8.95+134) within DBIx::Class::ResultSourceProxy::add_relationship which was called 319 times, avg 447µs/call:
# 164 times (3.27ms+71.9ms) by DBIx::Class::Relationship::BelongsTo::belongs_to at line 97 of DBIx/Class/Relationship/BelongsTo.pm, avg 458µs/call
# 144 times (5.55ms+60.5ms) by DBIx::Class::Relationship::HasMany::has_many at line 50 of DBIx/Class/Relationship/HasMany.pm, avg 459µs/call
# 11 times (134µs+1.37ms) by DBIx::Class::Relationship::HasOne::_has_one at line 82 of DBIx/Class/Relationship/HasOne.pm, avg 136µs/call | ||||
43 | 319 | 287µs | my ($class, $rel, @rest) = @_; | ||
44 | 319 | 411µs | 319 | 6.52ms | my $source = $class->result_source_instance; # spent 4.41ms making 11 calls to Koha::Schema::Result::Biblio::result_source_instance, avg 401µs/call
# spent 259µs making 36 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 7µs/call
# spent 153µs making 21 calls to Koha::Schema::Result::Branch::result_source_instance, avg 7µs/call
# spent 112µs making 16 calls to Koha::Schema::Result::Item::result_source_instance, avg 7µs/call
# spent 69µs making 9 calls to Koha::Schema::Result::Aqorder::result_source_instance, avg 8µs/call
# spent 63µs making 7 calls to Koha::Schema::Result::Aqbookseller::result_source_instance, avg 9µs/call
# spent 52µs making 5 calls to Koha::Schema::Result::Matchpoint::result_source_instance, avg 10µs/call
# spent 37µs making 6 calls to Koha::Schema::Result::Aqbasket::result_source_instance, avg 6µs/call
# spent 35µs making 5 calls to Koha::Schema::Result::Category::result_source_instance, avg 7µs/call
# spent 34µs making 5 calls to Koha::Schema::Result::Aqbudget::result_source_instance, avg 7µs/call
# spent 34µs making 5 calls to Koha::Schema::Result::MessageTransportType::result_source_instance, avg 7µs/call
# spent 34µs making 6 calls to Koha::Schema::Result::Reserve::result_source_instance, avg 6µs/call
# spent 34µs making 4 calls to Koha::Schema::Result::Subscription::result_source_instance, avg 9µs/call
# spent 34µs making 5 calls to Koha::Schema::Result::ImportRecord::result_source_instance, avg 7µs/call
# spent 31µs making 5 calls to Koha::Schema::Result::Issue::result_source_instance, avg 6µs/call
# spent 26µs making 3 calls to Koha::Schema::Result::Virtualshelve::result_source_instance, avg 9µs/call
# spent 24µs making 4 calls to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance, avg 6µs/call
# spent 22µs making 3 calls to Koha::Schema::Result::MarcMatcher::result_source_instance, avg 7µs/call
# spent 22µs making 4 calls to Koha::Schema::Result::HoldFillTarget::result_source_instance, avg 6µs/call
# spent 20µs making 2 calls to Koha::Schema::Result::TagsApproval::result_source_instance, avg 10µs/call
# spent 20µs making 3 calls to Koha::Schema::Result::Aqinvoice::result_source_instance, avg 7µs/call
# spent 20µs making 2 calls to Koha::Schema::Result::Permission::result_source_instance, avg 10µs/call
# spent 19µs making 3 calls to Koha::Schema::Result::Biblioitem::result_source_instance, avg 6µs/call
# spent 19µs making 3 calls to Koha::Schema::Result::MessageTransport::result_source_instance, avg 6µs/call
# spent 19µs making 3 calls to Koha::Schema::Result::OaiSet::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::CourseItem::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::CreatorBatch::result_source_instance, avg 6µs/call
# spent 18µs making 2 calls to Koha::Schema::Result::Letter::result_source_instance, avg 9µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::Virtualshelfcontent::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::Matchcheck::result_source_instance, avg 6µs/call
# spent 17µs making 3 calls to Koha::Schema::Result::Branchtransfer::result_source_instance, avg 6µs/call
# spent 17µs making 2 calls to Koha::Schema::Result::Aqbasketgroup::result_source_instance, avg 9µs/call
# spent 17µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 16µs making 3 calls to Koha::Schema::Result::OldReserve::result_source_instance, avg 5µs/call
# spent 16µs making 2 calls to Koha::Schema::Result::BorrowerAttributeType::result_source_instance, avg 8µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::AuthorisedValue::result_source_instance, avg 8µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::OpacNews::result_source_instance, avg 8µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::AuthType::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::Currency::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::CategoriesBranch::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::Course::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::MessageAttribute::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::MatchpointComponent::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::Aqcontract::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::PatronList::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::UserPermission::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::MatcherMatchpoint::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Itemtype::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::OverduerulesTransportType::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::PatronListPatron::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Aqbasketuser::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Aqbudgetborrower::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::CourseReserve::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::CourseInstructor::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::MessageQueue::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::TransportCost::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Virtualshelfshare::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Rating::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::TagsIndex::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::BranchItemRule::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Branchrelation::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::OldIssue::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::TagAll::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Accountline::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::BorrowerAttribute::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::ItemsLastBorrower::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Serialitem::result_source_instance, avg 5µs/call
# spent 10µs making 2 calls to Koha::Schema::Result::Review::result_source_instance, avg 5µs/call
# spent 9µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 9µs making 2 calls to Koha::Schema::Result::AqorderUser::result_source_instance, avg 4µs/call
# spent 8µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 1µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance |
45 | 319 | 880µs | 319 | 6.62ms | $source->add_relationship($rel => @rest); # spent 6.62ms making 319 calls to DBIx::Class::ResultSource::add_relationship, avg 21µs/call |
46 | 319 | 8.48ms | 638 | 121ms | $class->register_relationship($rel => $source->relationship_info($rel)); # spent 120ms making 319 calls to DBIx::Class::Relationship::Accessor::register_relationship, avg 376µs/call
# spent 614µs making 319 calls to DBIx::Class::ResultSource::relationship_info, avg 2µs/call |
47 | } | ||||
48 | |||||
49 | |||||
50 | # legacy resultset_class accessor, seems to be used by cdbi only | ||||
51 | sub iterator_class { shift->result_source_instance->resultset_class(@_) } | ||||
52 | |||||
53 | 1 | 800ns | for my $method_to_proxy (qw/ | ||
54 | source_info | ||||
55 | result_class | ||||
56 | resultset_class | ||||
57 | resultset_attributes | ||||
58 | |||||
59 | columns | ||||
60 | has_column | ||||
61 | |||||
62 | remove_column | ||||
63 | remove_columns | ||||
64 | |||||
65 | column_info | ||||
66 | columns_info | ||||
67 | column_info_from_storage | ||||
68 | |||||
69 | set_primary_key | ||||
70 | primary_columns | ||||
71 | sequence | ||||
72 | |||||
73 | add_unique_constraint | ||||
74 | add_unique_constraints | ||||
75 | |||||
76 | unique_constraints | ||||
77 | unique_constraint_names | ||||
78 | unique_constraint_columns | ||||
79 | |||||
80 | relationships | ||||
81 | relationship_info | ||||
82 | has_relationship | ||||
83 | /) { | ||||
84 | 22 | 59µs | 22 | 1.12ms | quote_sub __PACKAGE__."::$method_to_proxy", sprintf( <<'EOC', $method_to_proxy ); # spent 1.12ms making 22 calls to Sub::Quote::quote_sub, avg 51µs/call |
85 | DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call; | ||||
86 | shift->result_source_instance->%s (@_); | ||||
87 | EOC | ||||
88 | |||||
89 | } | ||||
90 | |||||
91 | 1 | 6µs | 1 | 73µs | 1; # spent 73µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |