[buddypress-trac] [BuddyPress] #4060: Improve performance of BP_Core_User::get_users()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Mar 14 16:59:32 UTC 2012


#4060: Improve performance of BP_Core_User::get_users()
-----------------------------------+-----------------------------
 Reporter:  shanebp                |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Members                |     Version:  1.2.9
 Severity:  critical               |  Resolution:
 Keywords:  1.7-early 2nd-opinion  |
-----------------------------------+-----------------------------

Comment (by boonebgorges):

 > Do you think it's feasible to try and implement your query restructuring
 on a 1.2.9 install?

 Theoretically yes, but the problem is that the restructuring is not
 actually built yet :) I messed around a bit in the query class but I
 didn't actually write the logic to build the subqueries. I wrote them
 manually to do the benchmarks you see above. Writing that logic is going
 to take some time. Some changes will also need to be built elsewhere into
 BP, specifically wherever user activity is recorded and fetched. If you
 have some time to start a patch, it would be most welcome. Otherwise it
 will have to wait until I get some serious time to sit down with it.

 On the bright side, these queries have not significantly changed between
 1.2.9 and 1.5.x, so there shouldn't be a problem manually applying the
 patch. (However, your best bet is to get the heck off of 1.2.9! ;) )

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4060#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list