[ANN] Production Log Analyzer 1.2.1

Discussion in 'Ruby' started by Eric Hodel, May 17, 2005.

  1. Eric Hodel

    Eric Hodel Guest

    Notes:
    The Production Analyzer lets you find out which pages on your
    Rails 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.

    Changes:
    * Rails .12 compatibility (thanks to Jamis Buck).
    * Removed duplication of average/std deviation in report.
    * Worked around a bug where the request name could be nil.

    http://rails-analyzer.rubyforge.org/

    Download at:

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

    Sample Output:

    Request Times Summary: Count Avg Std Dev Min Max
    ALL REQUESTS: 11 0.576 0.508 0.000 1.470

    ThingsController#view: 3 0.716 0.387 0.396 1.260
    TeamsController#progress: 2 0.841 0.629 0.212 1.470
    RssController#uber: 2 0.035 0.000 0.035 0.035
    PeopleController#progress: 2 0.489 0.489 0.000 0.977
    PeopleController#view: 2 0.731 0.371 0.360 1.102

    Slowest Request Times:
    TeamsController#progress took 1.470s
    ThingsController#view took 1.260s
    PeopleController#view took 1.102s
    PeopleController#progress took 0.977s
    ThingsController#view took 0.492s
    ThingsController#view took 0.396s
    PeopleController#view took 0.360s
    TeamsController#progress took 0.212s
    RssController#uber took 0.035s
    RssController#uber took 0.035s

    ------------------------------------------------------------------------

    DB Times Summary: Count Avg Std Dev Min Max
    ALL REQUESTS: 11 0.366 0.393 0.000 1.144

    ThingsController#view: 3 0.403 0.362 0.122 0.914
    TeamsController#progress: 2 0.646 0.497 0.149 1.144
    RssController#uber: 2 0.008 0.000 0.008 0.008
    PeopleController#progress: 2 0.415 0.415 0.000 0.830
    PeopleController#view: 2 0.338 0.149 0.189 0.486

    Slowest Total DB Times:
    TeamsController#progress took 1.144s
    ThingsController#view took 0.914s
    PeopleController#progress took 0.830s
    PeopleController#view took 0.486s
    PeopleController#view took 0.189s
    ThingsController#view took 0.173s
    TeamsController#progress took 0.149s
    ThingsController#view took 0.122s
    RssController#uber took 0.008s
    RssController#uber took 0.008s

    ------------------------------------------------------------------------

    Render Times Summary: Count Avg Std Dev Min Max
    ALL REQUESTS: 11 0.219 0.253 0.000 0.695

    ThingsController#view: 3 0.270 0.171 0.108 0.506
    TeamsController#progress: 2 0.000 0.000 0.000 0.000
    RssController#uber: 2 0.012 0.000 0.012 0.012
    PeopleController#progress: 2 0.302 0.302 0.000 0.604
    PeopleController#view: 2 0.487 0.209 0.278 0.695

    Slowest Total Render Times:
    PeopleController#view took 0.695s
    PeopleController#progress took 0.604s
    ThingsController#view took 0.506s
    PeopleController#view took 0.278s
    ThingsController#view took 0.197s
    ThingsController#view took 0.108s
    RssController#uber took 0.012s
    RssController#uber took 0.012s
    TeamsController#progress took 0.000s
    TeamsController#progress took 0.000s

    --
    Eric Hodel - - http://segment7.net
    FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
     
    Eric Hodel, May 17, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Jaffe
    Replies:
    4
    Views:
    1,205
    John Saunders
    Jul 9, 2004
  2. Max

    need log analyzer

    Max, Apr 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    686
    Brock Allen
    Apr 8, 2005
  3. Adrienne

    Re: Log analyzer

    Adrienne, Jul 21, 2003, in forum: HTML
    Replies:
    2
    Views:
    648
    Rob McAninch
    Jul 23, 2003
  4. Eric Hodel
    Replies:
    0
    Views:
    98
    Eric Hodel
    Mar 30, 2005
  5. Eric Hodel
    Replies:
    1
    Views:
    96
    Eric Hodel
    May 10, 2005
Loading...

Share This Page