Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy.pm |
Statements | Executed 5213 statements in 40.0ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 39.4ms | 640ms | add_columns | DBIx::Class::ResultSourceProxy::
319 | 3 | 3 | 9.08ms | 115ms | add_relationship | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 13µs | 20µs | BEGIN@4 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 10µs | 27µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 9µs | 31µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 8µs | 48µs | BEGIN@7 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 7µs | 95µs | BEGIN@11 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 7µs | 10µ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 | 33µs | 2 | 26µs | # spent 20µs (13+6) within DBIx::Class::ResultSourceProxy::BEGIN@4 which was called:
# once (13µ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 10µs (7+4) within DBIx::Class::ResultSourceProxy::BEGIN@5 which was called:
# once (7µs+4µs) by base::import at line 5 # spent 10µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@5
# spent 4µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 70µs | 2 | 48µs | # spent 48µs (8+40) within DBIx::Class::ResultSourceProxy::BEGIN@7 which was called:
# once (8µs+40µs) by base::import at line 7 # spent 48µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@7
# spent 40µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 40µs |
8 | |||||
9 | 2 | 63µs | 2 | 53µs | # spent 31µs (9+22) within DBIx::Class::ResultSourceProxy::BEGIN@9 which was called:
# once (9µs+22µs) by base::import at line 9 # spent 31µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@9
# spent 22µs making 1 call to Exporter::import |
10 | 2 | 44µs | 2 | 44µs | # spent 27µs (10+17) within DBIx::Class::ResultSourceProxy::BEGIN@10 which was called:
# once (10µs+17µs) by base::import at line 10 # spent 27µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10
# spent 17µs making 1 call to Exporter::import |
11 | 2 | 1.08ms | 2 | 182µs | # spent 95µs (7+88) within DBIx::Class::ResultSourceProxy::BEGIN@11 which was called:
# once (7µs+88µs) by base::import at line 11 # spent 95µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@11
# spent 88µs making 1 call to namespace::clean::import |
12 | |||||
13 | 1 | 13µs | 1 | 360µs | __PACKAGE__->mk_group_accessors('inherited_ro_instance' => 'source_name'); # spent 360µ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 640ms (39.4+601) within DBIx::Class::ResultSourceProxy::add_columns which was called 174 times, avg 3.68ms/call:
# once (1.28ms+37.4ms) by Class::C3::Componentised::ensure_class_loaded at line 404 of Koha/Schema/Result/Deletedborrower.pm
# once (514µs+19.0ms) by Class::C3::Componentised::ensure_class_loaded at line 196 of Koha/Schema/Result/Issuingrule.pm
# once (670µs+17.9ms) by Class::C3::Componentised::ensure_class_loaded at line 278 of Koha/Schema/Result/Item.pm
# once (472µs+15.8ms) by Class::C3::Componentised::ensure_class_loaded at line 232 of Koha/Schema/Result/Aqorder.pm
# once (283µs+15.6ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/Z3950server.pm
# once (414µs+15.0ms) by Class::C3::Componentised::ensure_class_loaded at line 152 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (734µs+14.6ms) by Class::C3::Componentised::ensure_class_loaded at line 264 of Koha/Schema/Result/Subscription.pm
# once (403µs+14.5ms) by Class::C3::Componentised::ensure_class_loaded at line 170 of Koha/Schema/Result/Aqbookseller.pm
# once (5.22ms+8.24ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/Serial.pm
# once (338µs+11.5ms) by Class::C3::Componentised::ensure_class_loaded at line 139 of Koha/Schema/Result/CreatorTemplate.pm
# once (576µs+11.1ms) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/Category.pm
# once (468µs+11.1ms) by Class::C3::Componentised::ensure_class_loaded at line 217 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (241µs+11.3ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Course.pm
# once (4.51ms+6.30ms) by Class::C3::Componentised::ensure_class_loaded at line 118 of Koha/Schema/Result/Aqbudget.pm
# once (396µs+9.33ms) by Class::C3::Componentised::ensure_class_loaded at line 144 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (270µs+9.44ms) by Class::C3::Componentised::ensure_class_loaded at line 111 of Koha/Schema/Result/Aqbasket.pm
# once (396µs+9.18ms) by Class::C3::Componentised::ensure_class_loaded at line 207 of Koha/Schema/Result/Suggestion.pm
# once (159µs+9.21ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/UploadedFile.pm
# once (376µs+8.79ms) by Class::C3::Componentised::ensure_class_loaded at line 406 of Koha/Schema/Result/Borrower.pm
# once (337µs+8.61ms) by Class::C3::Componentised::ensure_class_loaded at line 137 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (381µs+7.79ms) by Class::C3::Componentised::ensure_class_loaded at line 133 of Koha/Schema/Result/Branch.pm
# once (5.02ms+2.84ms) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerFile.pm
# once (180µs+7.65ms) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/CourseItem.pm
# once (149µs+7.36ms) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerSync.pm
# once (226µs+7.04ms) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Overduerule.pm
# once (110µs+7.12ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/AuthType.pm
# once (267µs+5.88ms) by Class::C3::Componentised::ensure_class_loaded at line 134 of Koha/Schema/Result/OldReserve.pm
# once (90µs+5.93ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (447µs+5.35ms) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/BorrowerModification.pm
# once (232µs+5.51ms) by Class::C3::Componentised::ensure_class_loaded at line 95 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (264µs+5.48ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/ImportRecord.pm
# once (202µs+5.49ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/Accountline.pm
# once (300µs+5.39ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/CreatorLayout.pm
# once (230µs+5.24ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/ImportBatch.pm
# once (300µs+5.14ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/SavedSql.pm
# once (261µs+5.02ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ImportBiblio.pm
# once (200µs+5.05ms) by Class::C3::Componentised::ensure_class_loaded at line 91 of Koha/Schema/Result/Virtualshelve.pm
# once (182µs+4.90ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/OldIssue.pm
# once (179µs+4.74ms) by Class::C3::Componentised::ensure_class_loaded at line 97 of Koha/Schema/Result/MessageQueue.pm
# once (172µs+4.73ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/Aqcontact.pm
# once (157µs+4.49ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/CreatorBatch.pm
# once (169µs+4.41ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/Aqinvoice.pm
# once (184µs+4.30ms) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/PrintersProfile.pm
# once (149µs+4.18ms) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/Itemtype.pm
# once (124µs+4.19ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/BorrowerDebarment.pm
# once (104µs+3.78ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/City.pm
# once (154µs+3.65ms) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (192µs+3.55ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Biblio.pm
# once (182µs+3.40ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ExportFormat.pm
# once (146µs+3.34ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/AuthHeader.pm
# once (158µs+3.19ms) by Class::C3::Componentised::ensure_class_loaded at line 96 of Koha/Schema/Result/Statistic.pm
# once (124µs+3.20ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/SocialData.pm
# once (262µs+3.02ms) by Class::C3::Componentised::ensure_class_loaded at line 275 of Koha/Schema/Result/Deleteditem.pm
# once (156µs+2.94ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/Notify.pm
# once (120µs+2.95ms) by Class::C3::Componentised::ensure_class_loaded at line 69 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (101µs+2.92ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/ActionLogs.pm
# once (92µs+2.92ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Discharge.pm
# once (119µs+2.72ms) by Class::C3::Componentised::ensure_class_loaded at line 64 of Koha/Schema/Result/ColumnsSetting.pm
# once (127µs+2.70ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/AuthorisedValue.pm
# once (236µs+2.58ms) by Class::C3::Componentised::ensure_class_loaded at line 218 of Koha/Schema/Result/Biblioitem.pm
# once (136µs+2.68ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/Subscriptionhistory.pm
# once (122µs+2.63ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/SearchHistory.pm
# once (111µs+2.59ms) by Class::C3::Componentised::ensure_class_loaded at line 65 of Koha/Schema/Result/Currency.pm
# once (98µs+2.59ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/TagsApproval.pm
# once (127µs+2.55ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/MarcTagStructure.pm
# once (118µs+2.53ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Zebraqueue.pm
# once (101µs+2.52ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (80µs+2.50ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Localization.pm
# once (146µs+2.43ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/Aqbasketgroup.pm
# once (158µs+2.41ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Aqcontract.pm
# once (91µs+2.41ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Systempreference.pm
# once (142µs+2.30ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Branchtransfer.pm
# once (108µs+2.33ms) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/MatchpointComponent.pm
# once (100µs+2.30ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/OaiSetsMapping.pm
# once (96µs+2.28ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Fieldmapping.pm
# once (87µs+2.18ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Matchcheck.pm
# once (79µs+2.16ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/Printer.pm
# once (88µs+2.13ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (132µs+2.08ms) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/Matchpoint.pm
# once (93µs+2.11ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (120µs+2.07ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/RepeatableHoliday.pm
# once (140µs+2.02ms) by Class::C3::Componentised::ensure_class_loaded at line 135 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (87µs+2.08ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/Review.pm
# once (111µs+2.04ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Message.pm
# once (116µs+2.01ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Accountoffset.pm
# once (87µs+2.02ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Branchcategory.pm
# once (122µs+1.99ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/BranchTransferLimit.pm
# once (106µs+1.96ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/MessageTransport.pm
# once (101µs+1.95ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/AqordersTransfer.pm
# once (79µs+1.95ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/ItemsSearchField.pm
# once (113µs+1.87ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ReportsDictionary.pm
# once (121µs+1.85ms) by Class::C3::Componentised::ensure_class_loaded at line 86 of Koha/Schema/Result/OpacNews.pm
# once (87µs+1.87ms) by Class::C3::Componentised::ensure_class_loaded at line 55 of Koha/Schema/Result/Browser.pm
# once (65µs+1.85ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/PluginData.pm
# once (61µs+1.79ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/CreatorImage.pm
# once (77µs+1.75ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Virtualshelfshare.pm
# once (76µs+1.69ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (70µs+1.69ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Biblioimage.pm
# once (179µs+1.54ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/SpecialHoliday.pm
# once (124µs+1.60ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (88µs+1.63ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/TagsIndex.pm
# once (96µs+1.60ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Userflag.pm
# once (179µs+1.49ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/Letter.pm
# once (71µs+1.59ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/SavedReport.pm
# once (78µs+1.58ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultCircRule.pm
# once (85µs+1.56ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Collection.pm
# once (92µs+1.55ms) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (56µs+1.56ms) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/ServicesThrottle.pm
# once (130µs+1.43ms) by Class::C3::Componentised::ensure_class_loaded at line 138 of Koha/Schema/Result/Reserve.pm
# once (104µs+1.45ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/ImportAuth.pm
# once (99µs+1.45ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/MiscFile.pm
# once (68µs+1.42ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (74µs+1.41ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/MarcMatcher.pm
# once (75µs+1.40ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AudioAlert.pm
# once (97µs+1.35ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/TagAll.pm
# once (54µs+1.38ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/ClassSortRule.pm
# once (82µs+1.35ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/Quote.pm
# once (57µs+1.36ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/Alert.pm
# once (73µs+1.33ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/CourseReserve.pm
# once (68µs+1.31ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/AdditionalField.pm
# once (55µs+1.32ms) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (95µs+1.26ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ImportItem.pm
# once (63µs+1.24ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/ClassSource.pm
# once (47µs+1.24ms) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (67µs+1.20ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/MessageAttribute.pm
# once (68µs+1.19ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/HoldFillTarget.pm
# once (60µs+1.19ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (86µs+1.15ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (84µs+1.10ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageDescription.pm
# once (89µs+1.08ms) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/Permission.pm
# once (57µs+1.10ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/ImportRecordMatch.pm
# once (53µs+1.10ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (52µs+1.08ms) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (57µs+1.03ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronListPatron.pm
# once (54µs+1000µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/OaiSet.pm
# once (57µs+988µs) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/CollectionsTracking.pm
# once (94µs+931µs) by Class::C3::Componentised::ensure_class_loaded at line 106 of Koha/Schema/Result/Issue.pm
# once (57µs+954µs) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Linktracker.pm
# once (59µs+949µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BorrowerAttribute.pm
# once (56µs+948µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (55µs+940µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (45µs+942µs) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/TransportCost.pm
# once (36µs+946µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BiblioFramework.pm
# once (104µs+849µs) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Deletedbiblio.pm
# once (53µs+860µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/Patronimage.pm
# once (65µs+842µs) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (46µs+844µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (48µs+840µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/AqorderUser.pm
# once (50µs+837µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/CourseInstructor.pm
# once (53µs+828µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronList.pm
# once (58µs+819µs) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Rating.pm
# once (34µs+835µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (35µs+786µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/Session.pm
# once (35µs+723µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Serialitem.pm
# once (47µs+702µs) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/Tag.pm
# once (28µs+688µs) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/Stopword.pm
# once (68µs+588µs) by Class::C3::Componentised::ensure_class_loaded at line 67 of Koha/Schema/Result/ActionLog.pm
# once (66µs+503µs) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/AuthTagStructure.pm
# once (34µs+500µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (54µs+362µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (56µs+330µs) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (46µs+289µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BranchItemRule.pm
# once (40µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (47µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/AqordersItem.pm
# once (56µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 49 of Koha/Schema/Result/UserPermission.pm
# once (42µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (34µs+199µs) by Class::C3::Componentised::ensure_class_loaded at line 44 of Koha/Schema/Result/Branchrelation.pm
# once (41µs+170µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (36µs+167µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (37µs+163µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/CategoriesBranch.pm
# once (36µs+161µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/OaiSetsDescription.pm
# once (37µs+160µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbasketuser.pm
# once (35µs+157µs) by Class::C3::Componentised::ensure_class_loaded at line 43 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (31µs+99µs) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/MessageTransportType.pm | ||||
28 | 174 | 397µs | my ($class, @cols) = @_; | ||
29 | 174 | 273µs | 174 | 1.20ms | my $source = $class->result_source_instance; # spent 26µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 14µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deletedborrower::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::Aqorder::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchTransferLimit::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::MessageQueue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchItemRule::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::Reserve::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::SubscriptionNumberpattern::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqinvoice::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::BorrowerMessagePreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchtransfer::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::ImportAuth::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::MiscFile::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::PrintersProfile::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::Aqbookseller::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branch::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::BorrowerDebarment::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportBatch::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::OldIssue::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::AqordersTransfer::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::BranchBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorBatch::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::LanguageRfc4646ToIso639::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Z3950server::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::AuthorisedValuesBranch::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::BorrowerAttributeType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::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::MarcSubfieldStructure::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::SocialData::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::Aqbudget::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::CreatorImage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorLayout::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::Subscriptionroutinglist::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::AuthTagStructure::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::ClassSource::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Course::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::HoldFillTarget::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::MarcModificationTemplate::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::OpacNews::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::TmpHoldsqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::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::Biblioimage::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::CourseReserve::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::DefaultBranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Issue::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::Letter::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageTransportType::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::OverduerulesTransportType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Serial::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::TagsApproval::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagsIndex::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::ActionLog::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::AuthType::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::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::ColumnsSetting::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultCircRule::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::Discharge::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::LanguageScriptBidi::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::OaiSetsBiblio::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::Session::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::Subscriptionhistory::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::Userflag::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::ActionLogs::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::BorrowerAttribute::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::Branchcategory::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::LanguageSubtagRegistry::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::Matchcheck::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::PatronList::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::PluginData::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::ReportsDictionary::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::AqorderUser::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::City::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::MatchpointComponentNorm::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OldReserve::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::SearchHistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Serialitem::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::Virtualshelfcontent::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance |
30 | 174 | 830µs | 174 | 12.8ms | $source->add_columns(@cols); # spent 12.8ms making 174 calls to DBIx::Class::ResultSource::add_columns, avg 74µs/call |
31 | 174 | 1.60ms | foreach my $c (grep { !ref } @cols) { | ||
32 | # If this is an augment definition get the real colname. | ||||
33 | 1602 | 13.7ms | 1602 | 1.34ms | $c =~ s/^\+//; # spent 1.34ms making 1602 calls to DBIx::Class::ResultSourceProxy::CORE:subst, avg 838ns/call |
34 | |||||
35 | 1602 | 17.3ms | 3204 | 585ms | $class->register_column($c => $source->column_info($c)); # spent 580ms making 1602 calls to DBIx::Class::Row::register_column, avg 362µs/call
# spent 5.62ms 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 115ms (9.08+106) within DBIx::Class::ResultSourceProxy::add_relationship which was called 319 times, avg 359µs/call:
# 164 times (3.13ms+66.2ms) by DBIx::Class::Relationship::BelongsTo::belongs_to at line 97 of DBIx/Class/Relationship/BelongsTo.pm, avg 422µs/call
# 144 times (5.83ms+38.0ms) by DBIx::Class::Relationship::HasMany::has_many at line 50 of DBIx/Class/Relationship/HasMany.pm, avg 304µs/call
# 11 times (115µs+1.40ms) by DBIx::Class::Relationship::HasOne::_has_one at line 82 of DBIx/Class/Relationship/HasOne.pm, avg 138µs/call | ||||
43 | 319 | 279µs | my ($class, $rel, @rest) = @_; | ||
44 | 319 | 404µs | 319 | 2.30ms | my $source = $class->result_source_instance; # spent 241µs making 36 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 7µs/call
# spent 152µs making 21 calls to Koha::Schema::Result::Branch::result_source_instance, avg 7µs/call
# spent 109µs making 16 calls to Koha::Schema::Result::Item::result_source_instance, avg 7µs/call
# spent 83µs making 5 calls to Koha::Schema::Result::Matchpoint::result_source_instance, avg 17µs/call
# spent 83µs making 11 calls to Koha::Schema::Result::Biblio::result_source_instance, avg 8µs/call
# spent 57µs making 9 calls to Koha::Schema::Result::Aqorder::result_source_instance, avg 6µs/call
# spent 50µs making 2 calls to Koha::Schema::Result::Virtualshelfshare::result_source_instance, avg 25µs/call
# spent 50µs making 4 calls to Koha::Schema::Result::Subscription::result_source_instance, avg 13µs/call
# spent 45µs making 7 calls to Koha::Schema::Result::Aqbookseller::result_source_instance, avg 6µs/call
# spent 41µs making 5 calls to Koha::Schema::Result::MessageTransportType::result_source_instance, avg 8µs/call
# spent 39µs making 5 calls to Koha::Schema::Result::Category::result_source_instance, avg 8µs/call
# spent 39µs making 6 calls to Koha::Schema::Result::Aqbasket::result_source_instance, avg 6µs/call
# spent 36µs making 5 calls to Koha::Schema::Result::Aqbudget::result_source_instance, avg 7µs/call
# spent 35µs making 5 calls to Koha::Schema::Result::ImportRecord::result_source_instance, avg 7µs/call
# spent 33µs making 5 calls to Koha::Schema::Result::Issue::result_source_instance, avg 7µs/call
# spent 32µs making 3 calls to Koha::Schema::Result::OldReserve::result_source_instance, avg 11µs/call
# spent 32µs making 6 calls to Koha::Schema::Result::Reserve::result_source_instance, avg 5µs/call
# spent 30µs making 3 calls to Koha::Schema::Result::Virtualshelve::result_source_instance, avg 10µs/call
# spent 25µs making 3 calls to Koha::Schema::Result::CreatorBatch::result_source_instance, avg 8µs/call
# spent 25µs making 3 calls to Koha::Schema::Result::Virtualshelfcontent::result_source_instance, avg 8µs/call
# spent 25µs making 2 calls to Koha::Schema::Result::Aqcontract::result_source_instance, avg 12µs/call
# spent 24µs making 2 calls to Koha::Schema::Result::TagsIndex::result_source_instance, avg 12µs/call
# spent 24µs making 4 calls to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance, avg 6µs/call
# spent 22µs making 2 calls to Koha::Schema::Result::Currency::result_source_instance, avg 11µs/call
# spent 22µs making 4 calls to Koha::Schema::Result::HoldFillTarget::result_source_instance, avg 5µs/call
# spent 21µs making 3 calls to Koha::Schema::Result::MarcMatcher::result_source_instance, avg 7µ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::OaiSet::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::MessageTransport::result_source_instance, avg 6µs/call
# spent 19µs making 2 calls to Koha::Schema::Result::OverduerulesTransportType::result_source_instance, avg 9µs/call
# spent 19µs making 3 calls to Koha::Schema::Result::Branchtransfer::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::Biblioitem::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::CourseItem::result_source_instance, avg 6µs/call
# spent 17µs making 2 calls to Koha::Schema::Result::BranchItemRule::result_source_instance, avg 9µs/call
# spent 17µs making 3 calls to Koha::Schema::Result::Aqinvoice::result_source_instance, avg 6µs/call
# spent 16µs making 2 calls to Koha::Schema::Result::AuthType::result_source_instance, avg 8µs/call
# spent 15µ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 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::MatcherMatchpoint::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::MessageAttribute::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Aqbasketgroup::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::OldIssue::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Letter::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::PatronListPatron::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Itemtype::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::UserPermission::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::BorrowerMessageTransportPreference::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Review::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::BranchBorrowerCircRule::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::PatronList::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::Aqbudgetborrower::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance, avg 6µs/call
# spent 12µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 11µs making 2 calls to Koha::Schema::Result::Accountline::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::ItemsLastBorrower::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::AqorderUser::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::BorrowerAttribute::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::CategoriesBranch::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::CourseInstructor::result_source_instance, avg 6µs/call
# spent 11µ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::Branchrelation::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Serialitem::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Rating::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::OpacNews::result_source_instance, avg 5µs/call
# spent 10µs making 2 calls to Koha::Schema::Result::TagAll::result_source_instance, avg 5µs/call
# spent 8µs making 1 call to Koha::Schema::Result::ImportBiblio::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::AdditionalField::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::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Userflag::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::Collection::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::Branchcategory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::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::AqbudgetsPlanning::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::MatchpointComponentNorm::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::ImportAuth::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::OaiSetsBiblio::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::OaiSetsDescription::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::AdditionalFieldValue::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::DefaultBorrowerCircRule::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::Suggestion::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::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::Discharge::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::Biblioimage::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::BorrowerSync::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance |
45 | 319 | 829µs | 319 | 6.58ms | $source->add_relationship($rel => @rest); # spent 6.58ms making 319 calls to DBIx::Class::ResultSource::add_relationship, avg 21µs/call |
46 | 319 | 2.99ms | 638 | 96.6ms | $class->register_relationship($rel => $source->relationship_info($rel)); # spent 96.0ms making 319 calls to DBIx::Class::Relationship::Accessor::register_relationship, avg 301µs/call
# spent 588µ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.07ms | quote_sub __PACKAGE__."::$method_to_proxy", sprintf( <<'EOC', $method_to_proxy ); # spent 1.07ms making 22 calls to Sub::Quote::quote_sub, avg 49µ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 | 331µs | 1; # spent 331µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |