Message181913
See issue 9285 in which I wrote a decorator for profile/cProfile.
That can be modified to work both as a decorator or a context manager by using contextlib.contextmanager.
Shall I continue in issue 9285 and rewrite that patch? |
|
Date |
User |
Action |
Args |
2013-02-11 17:29:00 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, gvanrossum, pitrou, eric.araujo |
2013-02-11 17:29:00 | giampaolo.rodola | set | messageid: <1360603740.51.0.226094237408.issue17130@psf.upfronthosting.co.za> |
2013-02-11 17:29:00 | giampaolo.rodola | link | issue17130 messages |
2013-02-11 17:29:00 | giampaolo.rodola | create | |
|