7 Aug 2009 18:23
[Trac-dev] trac performance: reload all plugins on every click really necessary ?
rupert.thurner <at> gmail.com <rupert.thurner <at> gmail.com>
2009-08-07 16:23:24 GMT
2009-08-07 16:23:24 GMT
i am not enough python developer to judge this, but it looks so much overload that on every click we have 160 lines caused by plugins in our log file. is this really necessary? 2009-08-07 17:36:44,918 Trac[loader] DEBUG: Loading datefield.filter from /opt/csw/lib/python/site-packages/TracDateField-1.0.1-py2.5.egg 2009-08-07 17:36:45,189 Trac[loader] DEBUG: Loading tracreposearch from /opt/csw/lib/python/site-packages/tracreposearch-0.2-py2.5.egg 2009-08-07 17:36:45,223 Trac[loader] DEBUG: Loading newsflash.macro from /opt/csw/lib/python/site-packages/TracNewsFlash-0.1-py2.5.egg 2009-08-07 17:36:45,335 Trac[loader] DEBUG: Loading tracwysiwyg from / opt/csw/lib/python/site-packages/TracWysiwyg-0.2_r4353-py2.5.egg 2009-08-07 17:36:45,358 Trac[loader] DEBUG: Loading ticketdelete.web_ui from /opt/csw/lib/python/site-packages/ TracTicketDelete-2.0-py2.5.egg 2009-08-07 17:36:45,415 Trac[loader] DEBUG: Loading iniadmin from /opt/ csw/lib/python/site-packages/IniAdmin-0.2-py2.5.egg 2009-08-07 17:36:45,449 Trac[loader] DEBUG: Loading customfieldadmin.api from /opt/csw/lib/python/site-packages/ TracCustomFieldAdmin-0.2-py2.5.egg 2009-08-07 17:36:45,481 Trac[loader] DEBUG: Loading customfieldadmin.customfieldadmin from /opt/csw/lib/python/site- packages/TracCustomFieldAdmin-0.2-py2.5.egg 2009-08-07 17:36:45,514 Trac[loader] DEBUG: Loading announcerplugin from /opt/csw/lib/python/site-packages/AnnouncerPlugin-0.2-py2.5.egg 2009-08-07 17:36:46,179 Trac[loader] DEBUG: Loading TracDownloads.timeline from /opt/csw/lib/python/site-packages/ TracDownloads-0.2-py2.5.egg 2009-08-07 17:36:46,425 Trac[loader] DEBUG: Loading TracDownloads.api(Continue reading)
-- Remy
You are right Agilo uses the
touch() in two specific situations, when the types definition changes
(because you add your own new type for example, or changed and
alias... or add some additional properties). We are very sensible to
performance issues, and we will investigate more on the flow
generating the reload of the plugins, that may be dependent on many
RSS Feed