Edgewall Software

Changes between Version 14 and Version 15 of TracPerformance


Ignore:
Timestamp:
Jan 4, 2015, 8:46:43 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

New-style markup.

Legend:

Unmodified
Added
Removed
Modified
  • TracPerformance

    v14 v15  
    1 = Trac and Performance =
     1= Trac and Performance
    22
    33With Trac 0.11, the ClearSilver template engine was replaced with the Genshi template engine, but with its increased flexibility, Trac also became slower and memory hungry. As memory usage seems now mostly OK (#6614), there are still many concerns over Trac's performance.
     
    1212This page collects Trac performance issues, solutions and troubleshooting.
    1313
    14 == Check your installation == #Installation
     14== Check your installation #Installation
    1515
    1616If Trac is not installed correctly, performance will suffer. The most obvious mistake is installing Trac as a CGI script. Even for testing, there are better alternatives, see [TracStandalone tracd].
     
    2727 - ensure an image has been configured as the trac logo in the top left. The default install from Ubuntu 10.04 for example does not include a default logo and this makes pages slow to load.
    2828
    29 == Check your configuration == #Configuration
     29== Check your configuration #Configuration
    3030
    3131Several settings enhance Trac in one way or the other, but have a performance cost, which in some cases can be large.
    3232
    33 === `[timeline]` === #timeline-section
     33=== `[timeline]` #timeline-section
    3434 - `default_daysback` set to a high value might introduce quite some load, depending on the activity.
    3535   Pick an appropriate value for your site.
     
    3939   depending on the quantity of changesets to process
    4040
    41 === `[ticket]` === #ticket-section
     41=== `[ticket]` #ticket-section
    4242 - use of `restrict_owner = true` can be slow on some installations (see #4245, #8034, #8212 ...)
    4343
    44 == Check your [TracLogging trac.log] == #Log
     44== Check your [TracLogging trac.log] #Log
    4545
    4646Search for the following:
     
    5252   A mis-configured or simply slow mail server make Trac appear very slow (#3220 and numerous others).
    5353
    54 == Unsorted ==
     54== Unsorted
    5555 
    5656 - There was a bug up to 0.11.4 which could cause 100% CPU usage once in a while on some platforms (#7785, thought to be fixed in 0.11.5, but re-opened since).
    5757 - Some plugins seem to have a high impact on the performance, see ["TracDev/Performance/0.11.5#customizationsandplugins"].
    5858
    59 == Profiling a Trac request ==
     59== Profiling a Trac request
    6060
    6161I've written a blog post on how I do basic profiling for Trac. It includes a simple script that I use to check single requests. [https://www.coderesort.com/u/simon/blog/2011/09/06/trac_profiling Read it @ my blog].