New submission from Avram:

Checking to see if a log level is enabled can add non-insignificant time to 
programs with a large number of logging statements. This issue is to track a 
pull request which introduces caching to the logging module so checking to see 
if a log level is enabled takes half the current time.

Benchmark code is in the referenced pull request

----------
components: Library (Lib)
messages: 298612
nosy: aviso
priority: normal
pull_requests: 2811
severity: normal
status: open
title: Add caching to logging.Logger.isEnabledFor()
type: performance
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to