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
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is consolidating within a falling wedge pattern and is currently rebounding from the support trendline. The 21MA is acting as a resistance barrier near the wedge’s upper boundary.
A strong breakout above both the 21MA and the wedge resistance trendline would confirm a bullish trend. Conversely, a breakdown below the support trendline would invalidate the pattern.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is breaking out of the horizontal supply zone of the ascending triangle pattern, with the Ichimoku Cloud providing strong support beneath the pattern.
A confirmed breakout would signal bullish continuation and open the path toward a new all-time high, potentially triggering a strong rally across the altcoin market.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is consolidating within a falling wedge pattern and is currently rebounding from the support trendline. The 21MA is acting as a resistance barrier near the wedge’s upper boundary.
A strong breakout above both the 21MA and the wedge resistance trendline would confirm a bullish trend. Conversely, a breakdown below the support trendline would invalidate the pattern.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is consolidating within a falling wedge pattern and is currently rebounding from the support trendline. The 21MA is acting as a resistance barrier near the wedge’s upper boundary.
A strong breakout above both the 21MA and the wedge resistance trendline would confirm a bullish trend. Conversely, a breakdown below the support trendline would invalidate the pattern.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is breaking out of the horizontal supply zone of the ascending triangle pattern, with the Ichimoku Cloud providing strong support beneath the pattern.
A confirmed breakout would signal bullish continuation and open the path toward a new all-time high, potentially triggering a strong rally across the altcoin market.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is breaking out of the horizontal supply zone of the ascending triangle pattern, with the Ichimoku Cloud providing strong support beneath the pattern.
A confirmed breakout would signal bullish continuation and open the path toward a new all-time high, potentially triggering a strong rally across the altcoin market.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap has broken out of the ascending triangle with strong volume, marking a new ATH.
It is now retesting the pattern, with the Ichimoku cloud acting as solid support.
A successful retest could trigger a powerful bullish rally across the ALTS market.
#ALTS MARKET CAP ANALYSIS
The ALTS market cap is experiencing a significant rebound from the support trendline of the descending channel, signaling potential bullish momentum. This rebound is currently facing resistance from the Ichimoku cloud, which is acting as a barrier.
However, the 200-day Moving Average is providing strong support, further indicating a bullish trend.
A decisive breakout above both the Ichimoku cloud and the descending channel would likely trigger a robust bullish rally in the ALTS market, suggesting substantial upward movement and positive investor sentiment.
#ALTS MARKET CAP ANALYSIS
The alts market cap is currently retesting above the symmetrical triangle pattern. The 100-day moving average is providing strong support, and the Ichimoku cloud indicates a bullish trend.
An upward move is anticipated as long as the alts market cap remains above the triangle. The only bearish scenario would be a sustained breakdown of the Ichimoku cloud.
#ALTS MARKET CAP ANALYSIS
The Alts market cap has broken out of the symmetrical triangle and is currently retesting above it. The Ichimoku cloud is also providing support.
A successful retest above the triangle would confirm a bullish trend, while a failed retest could indicate further movement within the triangle.
This gives me the Covid Crash (March 2020) vibes actually 🤔
If you remember back in October I said that Middle East was a ticking bomb that could trigger a Black Swan event at any moment, so it's not a surprise for me.
📎Now what about the markets: I don't think the reaction will be as dramatic as in March 2020 but stay away from leverage. If you have some stables - slowly DCA #Alts.
I'm on spot and not worried at all. We'll get through it all
💰#ALTS MARKET CAP is currently forming a descending triangle pattern. It is trading within the Ichimoku cloud and below the 50-day moving average (MA), indicating a state of indecision.✅
💬A breakout above the MA 50 would confirm a bullish trend, whereas a rejection would suggest a retest of the horizontal support level.
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️