srlindsay/gevent-profiler — pull request #4 by daf (2012-04-17 12:50:12+00:00)
Title: Profile method should return value of profiled method

So you can easily switch a call to profile anywhere.