[wp-trac] [WordPress Trac] #21120: Optimize get_user_by()

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 08:54:16 UTC 2012


#21120: Optimize get_user_by()
--------------------------+------------------------------
 Reporter:  kurtpayne     |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by kurtpayne):

 To test this out, I put together a simple static cache for `get_user_by()`
 and ran a profile for the "All Posts" page before and after.  It shaved
 off a good amount of time and duplicate work.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21120#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list