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

Резултати

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

Пребарај: #iotex

当前筛选 #iotex清除筛选
시팡이 공부방~~❤️

@sipangE · Post #18228 · 13.12.2024 г., 11:28

🎉 Get Goated S2 이벤트 진행 중! 💡IoTeX란? IoTeX는 스마트 기기와 실제 데이터를 블록체인과 연결하는 DePIN 플랫폼 !총 100M $IOTX(약 62억 원)의 보상이 걸린 초대형 이벤트에 지금 참여하세요! 기간: 10월 29일부터 약 3개월간 진행 참여 방법 1️⃣ 이벤트 사이트에서 미션 수행 (스테이킹, 유동성 공급 등) 2️⃣ 다양한 프로토콜(Bedrock, iZUMi 등)과 상호작용 3️⃣ BinoBits 포인트 적립 4️⃣ 텔레그램 미니앱(@Goat_Earn_Bot)에서 데일리 체크인 포인트 랭킹에 따라 보상이 지급됩니다! 🔥 현재까지 결과 - 참가자 수: 117,140명 - 누적 포인트: 181,958,191 BinoBits 유저가이드 | 이벤트 사이트 #IoTeX

Hashtags

CyberCharge Announcements

@cyberchargeannouncements · Post #28 · 30.08.2024 г., 06:04

#CyberCharge, the world's first Web3 smart charger presale event with @iotex_io, is coming soon!🚀 Play games, earn tokens, and grab airdrops—each mystery box brings exciting surprises! 🎁 🔥$IOTX Tokens ⚡️Web3 Smart Charger Set Follow, 🔄, 👍, and comment for a chance to win a presale WL spot (10 spots) - FCFS! #IoTeX#Web3#DePIN Like👍, Retweet🔵, Comment Link to the Tweet!

CyberCharge Announcements

@cyberchargeannouncements · Post #124 · 20.09.2024 г., 12:02

🔋#CyberCharge Debuts at #Token2049 Singapore! We were a proud sponsor at one of the world’s most influential blockchain events! 👉Dive into the details: link.medium.com/CPkTunaP2Mb From showcasing future DePIN products to collaborating with global leaders like #Solana & #IoTeX, CyberCharge is driving Web3 into the real world. Like👍, Retweet🔵, Comment Link to Tweet 🤖Join Bot🐣X (Twitter)✉️Chat

CyberCharge Announcements

@cyberchargeannouncements · Post #99 · 16.09.2024 г., 12:31

Today at #R3alWorld, we had a great time connecting with the #IoTeX team, Raullen Chai, CEO of @iotex_io. We exchanged valuable insights and ideas on DePIN devices and their innovative applications. #Token2049singapore Like👍, Retweet🔵, Comment Link to Tweet 🎁Join our Airdrop Event Link to MiniApp

CyberCharge Announcements

@cyberchargeannouncements · Post #102 · 17.09.2024 г., 06:01

CyberCharge showcased exciting content at the #R3alWorld DePIN Summit 2024 Workshop! 🎉 Our BD, Goran, shared CyberCharge's innovative Proof of Charge mechanism and seamless Web2 integration, bringing new energy to the future of #DePIN and charging experiences⚡️ #CyberCharge#IoTeX Like👍, Retweet🔵, Comment Link to Tweet 🎁Join our Airdrop Event Link to MiniApp

CyberCharge Announcements

@cyberchargeannouncements · Post #31 · 30.08.2024 г., 12:43

🚀We’re excited to be a part of the R3alWorld DePIN Summit! ⚡️Join us at this groundbreaking event, hosted by @iotex_io and Co-Hosted by @MessariCrypto, where CyberCharge will showcase its innovations alongside other industry leaders. 🗓Sept 16th-17th 📍Amara Singapore 🔌Let’s power the future together! #DePIN#CyberCharge#IoTeX#Messari#Token2049 Like👍, Retweet🔵, Comment Link to the Tweet! 🔗Tweet From IoTeX: https://x.com/iotex_io/status/1829239846008934586?s=46