TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

Пронајдени 5 слични објави

Пребарај: #huno

当前筛选 #huno清除筛选
PT风向旗

@Ptfxq · Post #693 · 01.08.2024 г., 15:29

#hawkeuno#huno Today's update consolidates changes that have been made to the site since January 2024, including our new IRC service that was introduced in Spring 2024. Users will find some QoL changes to the Tiers pages and be able to make Requests for Internal Releases only. Dothraki and above will find some welcome relief if they are to be demoted. For more details, head to our Site Changelog via the footer below or the INFO menu up top.

PT风向旗

@Ptfxq · Post #278 · 27.07.2022 г., 22:52

#hawke-uno #HUNO#开放注册 https://www.hawke.uno/register/null Background hawke-uno (better known as HUNO) is an HEVC-focused private tracker built as part of the wider hawke-one ecosystem of entertainment services. Launched in January 2022, HUNO has been going through a beta period of design, development, and testing with help from our small but incredible user-base. We’ve also had an influx of users via r/opensignups on two previous occasions since launch. Today we’re starting our last planned round of signups after which the tracker will no longer welcome users openly. HEVC-enthusiasts, aspiring uploaders, experienced moderators, and community lovers are especially welcome. Notable Features Focus: HEVC/AVC Remuxes + H265/4 WEB + x265 Encodes Platform: Customized Unit3d codebase Automation: Upload API, RSS feeds, Upload Script (IRC soon) Peering: Guaranteed seeding for Qualifying Uploads Sign-up Bonuses: 1.95 TB Buffer, 500 Ratio, Global Double Upload Internal Groups: HONE WEB, HONE Encodes, TAoE, Vyndros Special: Internal Economy, Reward-based Seeding, Customized UI, 2FA Current Stats Activated / Total Users: 1,069 / 1,073 Peers: 13,745 Active / Total Torrents: 3,264 / 3,276 Total Torrent Size: 38.84 TB Real Total Traffic: 324 TB

PT风向旗

@Ptfxq · Post #616 · 20.03.2024 г., 13:59

#hawkeuno#HUNO#IRC The HUNO IRC server is now back online with a completely revamped and a much more secure experience. Users no longer need to register on the server nor do they need to manually validate their accounts for announce access. Instead, the server now fully supports dynamic authentication directly from the HUNO site, allowing us to fully lockdown the account activation process. If you're in the White Walkers tier or above, visit our IRC guide in the NIFTY menu up top to get started.