[ANN] Production Log Analyzer 1.1.0

E

Eric Hodel

First public release of Production Log Analyzer!

Download it at:

http://rubyforge.org/frs/?group_id=586

The Production Analyzer lets you find out which pages on your site are
dragging you down. pl_analyze requires the use of SyslogLogger
(included) because the default Logger doesn't give any way to associate
lines logged to a request.

SyslogLogger gives you many other advantages, such as the ability to
combine logs from multiple machines.

(Note that SyslogLogger is required, but it should be easy to modify
the default Logger to write out the pid of the logging process. The
method you'll need to change is LogParser::parse. I can't accept
patches without full tests. I'll never use a Logger and without full
tests I can't be assured that future changes won't break it.)

Please see http://rails-analyzer.rubyforge.org for installation
instructions and details.

Sample Output:

Average Request Time: 0.279874593327209
Request Time Std Dev: 0.351590385021209

Slowest Request Times:
ZeitgeistController#goals took 30.889858s
ZeitgeistController#goals took 29.657513s
EntriesController#save_comment took 20.499292s
AccountController#create took 19.539545s
EntriesController#save_comment took 15.46844s
ZeitgeistController#goals took 14.814086s
ZeitgeistController#goals took 13.943129s
ZeitgeistController#goals took 13.113908s
ZeitgeistController#completed_goals took 12.776777s
ZeitgeistController#goals took 12.32529s

Average DB Time: 0.0649204642242509
DB Time Std Dev: 0.214050667483775

Slowest Total DB Times:
ZeitgeistController#goals took 30.797014s
ZeitgeistController#goals took 29.567076s
ZeitgeistController#goals took 14.709733s
ZeitgeistController#goals took 13.84484s
ZeitgeistController#goals took 12.968071s
ZeitgeistController#completed_goals took 12.400506s
ZeitgeistController#goals took 12.241167s
ZeitgeistController#goals took 11.561719s
ZeitgeistController#goals took 11.445382s
ZeitgeistController#goals took 11.085795s

Average Render Time: 0.128757978789508
Render Time Std Dev: 0.131171213785894

Slowest Total Render Times:
TeamsController#progress took 4.698406s
TeamsController#progress took 4.679505s
PeopleController#doing_same_things took 3.628557s
ThingsController#view took 3.34039s
ThingsController#view took 2.096405s
RssController#goals took 1.759452s
EntriesController#view took 1.423261s
ThingsController#view took 1.422453s
ThingsController#people took 1.377157s
PeopleController#view took 1.195831s
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top