Created
May 25, 2014 01:53
-
-
Save schmohlio/84aa95b7335409ad2c46 to your computer and use it in GitHub Desktop.
test EmbeddedFunctionHandler part 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EmbeddedFunctionHandler.init_log('file.log', logging.DEBUG) | |
MAX_ERRORS = 2 | |
@EmbeddedFunctionHandler("catch errors adding 1", MAX_ERRORS) | |
def add_one2(x): | |
return x+1 | |
%timeit map(add_one2,l) | |
# 1 loops, best of 3: 1.13 s per loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment