incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Van Steenburgh" <>
Subject [allura:tickets] #6387 TimerMiddleware doesn't work with generator functions
Date Tue, 25 Jun 2013 21:31:28 GMT
- **QA**: Tim Van Steenburgh


** [tickets:#6387] TimerMiddleware doesn't work with generator functions**

**Status:** code-review
**Created:** Mon Jun 24, 2013 02:41 PM UTC by Cory Johns
**Last Updated:** Mon Jun 24, 2013 10:03 PM UTC
**Owner:** Cory Johns

Testing TMW with the following generator function logs a time of 0:

def time_this(self):
    import time
    yield 1

More of our SCM code is using generators which are not being tracked properly and could be
hiding critical points.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message