![]() |
are plugins faster with python 3.12 due to the per-interpreter GIL? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: Python 3 migration (https://forum.kodi.tv/forumdisplay.php?fid=281) +---- Thread: are plugins faster with python 3.12 due to the per-interpreter GIL? (/showthread.php?tid=377386) |
are plugins faster with python 3.12 due to the per-interpreter GIL? - djay75 - 2024-05-04 I think kodi on linux can use python 3.12 but other platforms ship with a built in python of 3.8 or 3.0.1... it's a bit unclear. Kodi I believe uses sub interpreters to speed up plugin launch and 3.12 has removed the GIL when launching many sub-interpreters at once which should make IO and api calls faster and allow parallel execution of plugins to be smoother. An example where this happens is a skin with many widgets that load plugins when it initially starts up. Many plugins will run at the same time to load the lists. I was curious to know if anyone has done tests to see if this does run faster on python 3.12? |