summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-20 23:56:40 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-01-20 23:56:40 +0100
commit8607613516fd06205163aa4df1f80f25d75bd3ca (patch)
tree55bb17196acf1ad39b9210efed7a433f11dd607d /Python/errors.c
parent73ac77d9902ef1ad11de043ebf8afb4a0be17e92 (diff)
downloadcpython-8607613516fd06205163aa4df1f80f25d75bd3ca.tar.gz
Close #20275: Optimize BaseEventLoop._run_once()
Logger.log() is "slow", logger.isEnabledFor() is faster and the logger is disabled in most cases. A microbenchmark executing 100,000 dummy tasks is 22% faster with this change.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions