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

Резултати

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

Пребарај: #earningscalls

当前筛选 #earningscalls清除筛选
🦅 [ perspective ix ]

@perspectiveix · Post #1986 · 01.05.2020 г., 15:30

📰 Tech, Media, and Business News Headlines—Day 1 👉#Intel unveils 10th-gen desktop CPUs, including 5.3GHz flagship (link) 👉#Zoom admits it doesn't have 300M DAUs, quietly correcting the claim in its original blog post to 300M “daily Zoom meeting participants (link) 👉#Telegram postpones the launch of its TON blockchain for a second time, pushing the go-live date to April 2021, and offers to return $1.2B to investors (link) 👉 Andreessen Horowitz raises $515M for its second fund dedicated to #cryptocurrency and #blockchain investments and holdings (link) 👉#Apple Q2: $58.3B revenue, up 1% YoY; $44.9B from products, $13.35B from services; net income of $11.25B (link) 👉#Amazon Q1: $75.5B revenue, up 26% YoY; net income of $2.5B, down from $3.6B in Q1 2019; $10.2B from AWS revenue, up from $7.7B YoY (link) 👉#Twitter Q1: sales up 3% YoY to $808M; net loss of $8M due to COVID-19; mDAUs hit a record 166M, up 24% YoY (link) #️⃣#EarningsCalls 📰@iXDaily via @PerspectiveIX 💌Weekly Newsletter.

🦅 [ perspective ix ]

@perspectiveix · Post #1995 · 07.05.2020 г., 15:32

Tech, Media, and Business News Headlines—Day 6 👉#France is using #AI to check whether people are wearing masks on public transport (link) 👉#Facebook's Oversight Board, who will focus on challenging content issues, such as hate speech and harassment, announces its first 20 members out of a total of 40 (link) 👉 Comedy Central, MTV, Nickelodeon, and more Viacom channels coming to #YouTubeTV (link) 👉#Zoom acquires #Keybase to get end-to-end encryption expertise (link) 👉 Liberty’s Virgin Media and Telefonica’s O2 to merge in the UK in $39B deal (link) 👉#Square Q1: revenue of $1.38B, up 44% YoY; net loss of $106M, up $68M YoY (link) 👉#Square reports $528M in Q1 revenues from its Cash App, with $306M coming from #Bitcoin transactions, exceeding the app's fiat revenue of $222M for the first time (link) 👉#PayPal Q1: misses estimates with revenue of $4.62B, up 13% YoY; net income of $84M, down from $667M YoY (link) 👉#Shopify Q1: revenue of $470M, up 47% YoY; gross merchandise volume of $17.4B, up 46% YoY (link) #️⃣#EarningsCalls 📰@iXDaily by @PerspectiveIX 💌Weekly Newsletter.

🦅 [ perspective ix ]

@perspectiveix · Post #1994 · 06.05.2020 г., 20:53

Tech, Media, and Business News Headlines—Day 5 👉#Apple will host a virtual #WWDC this year — starts on 22 June (link) 👉#Twitter tests a warning message that tells users to rethink offensive replies (link) 👉#Twitter rolls out changes to threaded conversations following tests in its prototype app, #twttr (link) 👉#Airbnb cuts 1,900 jobs, around 25% of its global workforce (link) 👉#Bitcoin is set for ‘Halving’ this month (link) 👉 Leaked videos show #Lenovo’s first gaming #smartphone (link) 👉#Android 11’s public beta to launch with 3 June via live stream (link) 👉#Google’s #Stadia controller will finally work wirelessly with computers starting this week (link) 👉#Microsoft launches #SurfaceBook 3 (link) and #SurfaceHeadphones 2 (link) 👉#Microsoft offers $100,000 to hack its custom Linux OS (link) 👉#Uber lays off 14% of its workforce in COVID-19-related cost-cutting (link) 👉#Pinterest Q1: revenue of $272M, vs. $270M est., up 35% YoY; user base grew to 367M MAUs, up 26% YoY (link) 👉#EA Q4: revenues of $1.39B, beating expectations of $1.19B, up 12% YoY (link) #️⃣#EarningsCalls 📰@iXDaily by @PerspectiveIX 💌Weekly Newsletter.