Roundup Tracker - Issues

Message7321

Author rouilj
Recipients rouilj, techtonik
Date 2021-08-19.00:57:22
Message-id <1629334642.37.0.61995175635.issue2550736@roundup.psfhosted.org>
In-reply-to
I have opened issue2551153 to expose timing data as Server-Timing
headers.

This should make it available to various development tools.

Also you can add a stat reporting to templating utils to get
response time.

E.G. in extensions/templating.py add:

  def report_stats(client):
    return '<p><small>Generated in %0.3fs<small></p>\n'%(time.time()-
client.start)

call it in page.html using:

  <div tal:replace="structure 
python:utils.report_stats(request.client)"></div>
History
Date User Action Args
2021-08-19 00:57:22rouiljsetmessageid: <1629334642.37.0.61995175635.issue2550736@roundup.psfhosted.org>
2021-08-19 00:57:22rouiljsetrecipients: + rouilj, techtonik
2021-08-19 00:57:22rouiljlinkissue2550736 messages
2021-08-19 00:57:22rouiljcreate