Changes between Version 18 and Version 19 of TracPerformance
- Timestamp:
- May 1, 2018, 11:10:49 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPerformance
v18 v19 3 3 = Trac and Performance 4 4 5 After the adoption of the [genshi:Genshi] template engine in [/milestone/0.11 Trac 0.11] in 2008, some associated performance issues were also solved (#6614). There are however, still occasional concerns over Trac's performance.5 This page collects Trac performance issues, solutions and troubleshooting. 6 6 7 7 When dealing with performance degradation on a Trac installation there are some potential causes to consider: 8 8 - a large number of plugins may add to the load in subtle ways 9 - the newsecurity model of TracFineGrainedPermissions9 - the security model of TracFineGrainedPermissions 10 10 - the conditions in which Trac is run (web front-end) 11 11 - the specific configuration settings of Trac 12 12 - various bugs that might be triggered by any of the above 13 14 This page collects Trac performance issues, solutions and troubleshooting.15 13 16 14 == Check your installation #Installation … … 33 31 == Check your configuration #Configuration 34 32 35 Several settings enhance Trac in one way or the other, but have a performance cost, which in some cases can be large. 33 Several settings enhance Trac in one way or the other, but have a performance cost, which in some cases can be large. Other settings can help improve (perceived) performance. 36 34 37 35 === `[timeline]` #timeline-section … … 47 45 - use of `restrict_owner = true` can be slow on some installations (see #4245, #8034, #8212). 48 46 47 === `[trac]` #trac-section 48 - `use_chunked_encoding` 49 - `use_xsendfile` and `xsendfile_header` 50 51 === `[git]` #git-section 52 - Use of `trac_user_rlookup` can reduce performance if there are many users and the `cached_repository` option is disabled. 53 - `persistent_cache` and `cached_repository` 54 55 === `[gitweb-repositories]` #gitweb-repositories-section 56 - `sync_per_request` option. 57 49 58 == Check your [TracLogging trac.log] #Log 50 59 … … 56 65 - WARNING message: '''Slow mail submission''' [[br]] 57 66 A mis-configured or simply slow mail server make Trac appear very slow (#3220). 67 - Excessive permission checks. 68 - Enable `[trac] debug_sql` and check DEBUG messages for excessive SQL queries. 69 70 == Templates 71 - After the adoption of the [genshi:Genshi] template engine in [/milestone/0.11 Trac 0.11] in 2008, some associated performance issues were also solved (#6614). 72 - In Trac 1.3 the Jinja template engine was adopted instead, for improved performance on certain big pages (#12639) Many plugins still use the slower Genshi templates though. 73 - Plugins that use the `ITemplateStreamFilter` interface prevent the performance improvements gained by using Jinja. 58 74 59 75 == Unsorted