Add profile contextmanager #5

Merged
merged 1 commit into from Jun 11, 2012

2 participants

@cyberdelia

Add profile contextmanager for easier use :

import statprof
import test.pystone

with statprof.profile():
     test.pystone.pystones()
@bos bos merged commit d017747 into bos:master Jun 11, 2012
@bos
Owner

Applied, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment