[issue44582] Accelerate mimetypes.init on Windows

Steve Dower report at bugs.python.org
Wed Jul 7 16:40:12 EDT 2021


Steve Dower <steve.dower at python.org> added the comment:

It's only a rough benchmark, but my timings for `python -c "import mimetypes; mimetypes.init()` were ~200ms without the accelerator and ~100ms with the accelerator.

Since that includes all of startup, it's actually a better than 50% reduction for mimetypes.init(). I'm happy to take that without questioning precisely how much better it is ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44582>
_______________________________________


More information about the Python-bugs-list mailing list