Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #865 (closed enhancement: wontfix)

Opened 13 years ago

Last modified 10 years ago

Log page generation times

Reported by: rob@… Owned by: anonymous
Priority: normal Milestone: 1.x
Component: TurboGears Version: 0.9a5
Severity: normal Keywords: tosplit
Cc:

Description

It would be good if we could log the page generation time with the new logging features. It would overcome all the shortcomings that presenting this information in .9a1 had. We would also gain the ability to include Kid processing times in the number, which AFAIK can be significant.

A nice-to-have would be seperate output of controller and view processing times, to make it easy to tell which side of the application is running sluggishly.

Change History

comment:1 Changed 13 years ago by alberto

I think we could adapt paste.profilemiddleware to do this. It can be even more powerful as it has the ability of dumping all hotshot produced profile information to a file.

We could incorporate it in a very similar way as we are incorporating evalexception.

Opinions?

comment:2 Changed 13 years ago by max

I haven't seen paste.profilemiddleware but sounds promising.

As for Kid templates, good idea is IMO just add more logging to kidsupport.py.

comment:3 Changed 13 years ago by jorge.vargas

  • Milestone set to __future__

the paste idea seems like for 1.1 the logging could be implemented in 1.0

depends on what you think let me know to assign the bug.

comment:4 Changed 10 years ago by jorge.vargas

  • Keywords tosplit added

comment:5 Changed 10 years ago by jorge.vargas

  • Milestone changed from __future__ to 1.x

comment:6 Changed 10 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to wontfix

Cruft ticket. Since nobody has bothered to work on this, closing ticket as "wontfix".

Note: See TracTickets for help on using tickets.