id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
3003	IWikiSyntaxProvider with doxygen SEARCH_ENGINE unusable slow for large code-bases	mgerth@igd.fraunhofer.de	cboos	Case:\r\n\r\n1. search engine is enabled in doxygen \r\n2. the doxygen-html-code base is large\r\n3. a simple WIKI-page is loaded by the user \r\n-->\r\nthe WIKI-Syntax-provider of the DoxygenPlugin stalls the whole server for up to 5 seconds with 100% CPU usage when loading any simple wiki-page.\r\n\r\nmy current workaround (with lost functionality) is:\r\n\r\nfile: doxygentrac.py\r\n{{{\r\n_doxygen_lookup(self, segments):\r\n...\r\n\r\n        # Request for a named object\r\n        # TODO:\r\n        #  - do something about dirs\r\n        #  - expand with enum, defs, etc.\r\n        #  - this doesn't work well with the CREATE_SUBDIRS Doxygen option\r\n        path, link = lookup('class%s.html' % file, 'class')\r\n        if not path:\r\n            path, link = lookup('struct%s.html' % file, 'struct')\r\n        if path:\r\n            return 'view', path, link\r\n\r\n\r\n\r\n        # Revert to search\r\n>>>>>>> return ('search', None, None) # bail out for performance issues <<<<<<<<<< \r\n\r\n       results = self._search_in_documentation(doc, [file]) << this is never called now and he rest of this function can not be used at the moment in our case\r\n}}}\r\n\r\n\r\nIt would be nice to have a trac.ini - configuration option to disable the last branch, instead of hard-coding the return. I think optimizing the search_in_documentation function would take more time, and it is not needed that much.\r\n\r\nBest Regards	enhancement	new	normal	DoxygenPlugin	minor				0.11
