Edgewall Software

Changes between Version 18 and Version 19 of TracPerformance


Ignore:
Timestamp:
May 1, 2018, 11:10:49 AM (6 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracPerformance

    v18 v19  
    33= Trac and Performance
    44
    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.
     5This page collects Trac performance issues, solutions and troubleshooting.
    66
    77When dealing with performance degradation on a Trac installation there are some potential causes to consider:
    88 - a large number of plugins may add to the load in subtle ways
    9  - the new security model of TracFineGrainedPermissions
     9 - the security model of TracFineGrainedPermissions
    1010 - the conditions in which Trac is run (web front-end)
    1111 - the specific configuration settings of Trac
    1212 - various bugs that might be triggered by any of the above
    13 
    14 This page collects Trac performance issues, solutions and troubleshooting.
    1513
    1614== Check your installation #Installation
     
    3331== Check your configuration #Configuration
    3432
    35 Several settings enhance Trac in one way or the other, but have a performance cost, which in some cases can be large.
     33Several 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.
    3634
    3735=== `[timeline]` #timeline-section
     
    4745 - use of `restrict_owner = true` can be slow on some installations (see #4245, #8034, #8212).
    4846
     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
    4958== Check your [TracLogging trac.log] #Log
    5059
     
    5665 - WARNING message: '''Slow mail submission''' [[br]]
    5766   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.
    5874
    5975== Unsorted