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

Резултати

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

Пребарај: #practice

当前筛选 #practice清除筛选

😄Practice ➖➖➖➖➖➖ 🔘Practice, as a noun, can be the reality of doing something, rather than the theory. 🔜It sounded like a good plan but in practice, it was terrible. 🔜Your idea works in theory. Let's see if it works in practice. 🔘Practice can be used to describe a custom or tradition. 🔜It's common practice to tip taxi drivers and hairdressers in the UK. 🔜Shaking hands before and after a business meeting is good practice. 🔘We can also use practice to describe an activity that we do regularly. 🔜I enjoy football practice because I love football and I see my friends. 🔜I have to go now. I have band practice this evening. #Practice👨‍🏫@America ➖➖➖➖➖➖➖➖➖➖➖➖ 🆕 Crypto News @Money 😁 Crypto Game @Egame 🇺🇸 US News @America 🇯🇵 Japan News @Japan 🇦🇪 UAE News @Dubai ▶️ Popular Movies @Videos 😜 Best Funny Video @Funnys

Hashtags

Vintage NLP for Work

@nlpfw · Post #102 · 02.05.2017 г., 04:03

https://medium.com/zendesk-engineering/how-zendesk-serves-tensorflow-models-in-production-751ee22f0f4b 把基于 TensorFlow 的模型用到实际服务中时如何解决常见的需求:低延时、水平扩展、A/B测试、模型更新等。Zendesk 介绍了自己这方面的一些工程实践。 #practice

Hashtags

A.svg

@Apollosvg · Post #27 · 12.09.2023 г., 12:51

After many years of inaction, Google has finally released an update for Google Keep ⚹¹ that adds the necessary text formatting functions (i.e. Rich Text Editing or WYSIWYG ⚹²), although not everything — you won’t be able to cross out text. But they are already promising to add version history, which is already something. Btw even so, "Keep" sucks in terms of functionality and UX, but it's ads-free and fast, so... #practice ⚹ keep.google.com

Hashtags

Go

@golang · Post #70 · 25.09.2018 г., 12:38

100 lines of Go code for … HTTP(S) proxy! Take a look at fast and graceful proxy service based on standard Go http server and client packages 🙂 #development#practice https://medium.com/@mlowicki/http-s-proxy-in-golang-in-less-than-100-lines-of-code-6a51c2f2c38c

Go

@golang · Post #45 · 03.03.2018 г., 10:58

Interesting article about the bufio package in GoLang. How does it work (read, write for different data types) inside of package #development#practice https://medium.com/golangspec/introduction-to-bufio-package-in-golang-ad7d1877f762?source=linkShare-b636419a57de-1520074459

Tomoko RD

@tomoko_channel · Post #690 · 01.10.2024 г., 00:09

10月决定就是: In-Depth Study of Koa Source Code and Ecosystem | 深入学习 Koa 源码与生态 | 在一个月内完成对 Koa 框架源码和生态的深入学习,并撰写至少一篇总结博客文章来分享自己的理解。 🌟🎉 恭喜恭喜!!! (2024-10-01 传送门) #practice#random_todolist

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #5607 · 27.10.2025 г., 07:32

Writing Ч ч in cursive can be challenging, but not for you! 🔻Let's watch the video, print out the practice sheet and, shedding tears of despair, practice and move on. ❓Which other letters of the Russian alphabet make you overwhelmingly want to chuck the study of Russian overboard? 📎The pdf file is in the comments ▶️Hard sign tutorial ▶️Сursive letters #practice #cursive 😎RCR | Support | Boost

Learn RCRussian🤍💙❤️

@learnrcrussian · Post #4497 · 11.04.2025 г., 10:58

Writing the hard sign (ъ) in cursive can be challenging, but not for us, right? 🔻Let's watch the video, print out the practice sheet and, shedding tears of despair, practise and move on. ❓Which other letters of the Russian alphabet make you overwhelmingly want to chuck the study of Russian overboard? 📎 file is in the comments ▶️Сursive letters #practice #cursive 😎 Stay with @learnRCRussian

#Practice #NUUStudents ⚡️"Yangi O'zbekiston" universitetining bir guruh 1-bosqich talabalari "Inno Technopark"ga tashrif buyurib, uning sharoitlari va imkoniyatlari bilan tanishishgani shaxsan meni quvontirdi. Negaki, 1-bosqichdanoq amaliy jarayonlarga kirishishlari, kelajakdagi loyihalarda hamkorlik qilishga kelishuvlari💡talabalar uchun juda ham katta maktab bo'lib xizmat qiladi🔥 Izlanish va harakatdan to'xtamang, aziz talabalar❗️ ___ ⚡️I was personally pleased that a group of first-year students of the "New Uzbekistan" University visited Inno Technopark and gotacquainted with its conditions and opportunities. Because from the first-year, entering practical processes, dealing to cooperate in future projects will serve as a foundation for students🔥 Bizni kuzatishda davom eting👇 Telegram| Instagram| Facebook| Twitter

ПретходнаСтраница 1 од 3Следна