-
Notifications
You must be signed in to change notification settings - Fork 51
Performance Tuning
theory edited this page Aug 16, 2010
·
1 revision
Bricolage has two separate profiling systems that you can use to extract performance data:
- To run Bricolage under the Devel::Profiler module set the
PROFILE
variable on in yourbricolage.conf
file and restart your server. This will create aprofiler/$$/tmon.out
file in your Apache log directory for each server process. You can usedprofpp
to analyze these files after the server has been stopped withbric_apachectl stop
. See the Devel::Profiler documentation for more details.
- The database profiler is activated by enabling the
DBI_PROFILE
option inbricolage.conf
. This causes database profiling traces to be written to the Apache error log during requests. You can then usebric_dbprof
to analyze these trace. Seebric_dbprof
for details.
CAUTION: Neither of these options is appropriate for a production system.