diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-20 23:56:40 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-20 23:56:40 +0100 |
commit | 8607613516fd06205163aa4df1f80f25d75bd3ca (patch) | |
tree | 55bb17196acf1ad39b9210efed7a433f11dd607d /Python/errors.c | |
parent | 73ac77d9902ef1ad11de043ebf8afb4a0be17e92 (diff) | |
download | cpython-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