Active
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Activity/status streams
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Dec 2012 at 14:31 UTC
Updated:
1 Mar 2015 at 09:43 UTC
Jump to comment: Most recent
Comments
Comment #1
ezra-g commentedWe may also be able to improve the performance of the count() on the tabs since it currently executes the same view twice.
Comment #2
msonnabaum commentedI'm seeing 1500+ calls to entity_load. The call chain is roughly like so:
views_handler_field::advanced_render -> … -> flag_flag::access -> … -> flag_entity::_load_content -> entity_load
Hoping we can construct the view in a different way so this doesn't happen…
Comment #3
ezra-g commentedThanks, msonnabaum!
2 other conveniences to add while we're working on these views:
- Magic table headers unless we page the views
- Sort by flag created time rather than alpha.
Comment #4
ezra-g commentedBumping priority to 'major'.
If we page at a sane # of items, we'll significantly reduce the # of calls to entity_access().
Comment #5
ezra-g commentedI committed the following changes:
- Views Litepager at 20 items/page with unique pager IDs, with the "Use ajax" option on the view
- Magic table headers unless we page the views
- Sort by flag created time rather than alpha.
Marking "needs review" to compare before/after.
http://drupalcode.org/project/commons_follow.git/commitdiff/1ff32a9?hp=2...
Comment #6
ezra-g commentedRetitling with the remaining action item: Measuring the impact of this change :).
Comment #7
ezra-g commentedI believe the proper status here is "active."
Comment #7.0
ezra-g commentedEmbed image.
Comment #8
lsolesen commented