-
Notifications
You must be signed in to change notification settings - Fork 52
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
PROFILEvariable on in yourbricolage.conffile and restart your server. This will create aprofiler/$$/tmon.outfile in your Apache log directory for each server process. You can usedprofppto 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_PROFILEoption inbricolage.conf. This causes database profiling traces to be written to the Apache error log during requests. You can then usebric_dbprofto analyze these trace. Seebric_dbproffor details.
CAUTION: Neither of these options is appropriate for a production system.