Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Feb 2011 at 22:59 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchThe full system scans on admin/config are due to #1014130: install_profile_info() does a file system scan on every request to admin/config (and etc.). However there's obviously plenty of other places that we do them and this patch looks good.
I profiled admin/config (without git pull so that bug was still there) with the patch applied, and saw a decent improvement in xhprof - attached screenshots. The raw numbers aren't very useful from only two runs, but you can see 50k saved in memory, and what looks like about 40% CPU within the function.
Patch is at least as readable as what we have there already, and all tests pass, so RTBC.
Comment #2
dries commentedCommitted to CVS HEAD. Thanks.