Last modified: 2010-12-23 21:04:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26399 - ResourceLoaderStartupModule doesn't preload info for all modules, resulting in lots of individual DB queries
ResourceLoaderStartupModule doesn't preload info for all modules, resulting i...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-22 21:18 UTC by Roan Kattouw
Modified: 2010-12-23 21:04 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2010-12-22 21:18:21 UTC
Query 15 (slave): SELECT /* ResourceLoaderModule::getFileDependencies Catrope */  md_deps  FROM `module_deps`  WHERE md_module = 'skins.vector' AND md_skin = 'vector'  LIMIT 1  
Query 16 (slave): SELECT /* ResourceLoaderModule::getFileDependencies Catrope */  md_deps  FROM `module_deps`  WHERE md_module = 'skins.monobook' AND md_skin = 'vector'  LIMIT 1  
.....
.....
Query 147 (slave): SELECT /* ResourceLoaderModule::getFileDependencies Catrope */  md_deps  FROM `module_deps`  WHERE md_module = 'ext.proofreadpage.index' AND md_skin = 'vector'  LIMIT 1  

Should just preload everything in one query like we do for normal requests.
Comment 1 Roan Kattouw 2010-12-23 21:04:49 UTC
Done in r78926

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links