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.
V
Victor Stinner committed
22463aa947a75ae3298bca6457f0ae5b738b0d07
Parent: c46d1fa