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
https://x.com/priceactiongann/status/1822618789969555956
#stocks#Adani
Next week Time is up! next 7 weeks will be crucial for sure.
Numbers 84,42,21 all vibrates
Change occurs when square numbers coincide like 9x9 square and 84 (12x7) 81 to 84 major change of Time!
7x7 square
12x12 square
81,12,21,42 etc.
From starting week to top is 845 to 849 weeks from where it dropped 840 and 84 all same.
84/2=42/2=21.
Range of the Points drop last time:
22x144= (3168) 3172!
Drop lasted 7 weeks and next 7 weeks x 7 weeks 70 weeks and 42 weeks we had nice High and Low!
#hinderburg
(From Tuesday, 24 January 2023 to
Saturday, 10 August 2024 , 564 days or 80 to 81 weeks)
lot more hinted u can check and find out!
#StockMarket#SEBIChairperson#SEBI#StockMarketNews#MadhviPuriBuch
https://x.com/priceactiongann/status/1822618789969555956
https://x.com/priceactiongann/status/1842145244281815243
#stockmarket#nifty#banknifty
Common Myths about Fundamentals Amongst Investors and Traders:
1.only one direction focused that "Market moves only one direction upside" in stocks or indices (based on stats and economy, etc, it's wrong )
2. News sometimes acts as a force of volatility, but real movements are done and can be seen much ahead Years, Months and Weeks ahead.
3.Technical Analysis rules without a doubt, nothing to do with news, or war or SEBI meetings
There were many SEBI meeting and Iran war, or Russian war started before but it dint affect much. If it's affecting now, it's definitely technical reason and Cycles.
3.if u want to understand and be safer and survive long term in markets study cycles (even the election drop was 23535 price in gift nifty was technical only)
its based on natural law which markets cannot evade.
4.Fundamentals can be used as extra but not that alone is the reason, it is a catalyst to move price faster or more volatility, (Technical alone or cycles alone can be used to find price and time and long direction movement also)
5.I just use levels and calculations cycles only, if u are real trader u would know without price, fundamentals cannot help in these. If time is known, it can help us better too.
5.Ignorance and if they don't know the reason, they would say its coz of recent event and connect with it. its not really the case in most scenarios
6.Even every stock has its own individual vibration cycles and at certain times it should correct and drop, and some might crash massive too
7.Focusing on short term and ignoring massive long-term cycles, short term might look like good for scalpers but when massive cycle hits there will be huge volatility, and all will be wiped out in a single day.
Learn More and be Focused! See the Proof, Results and Evidence and don't follow blindly anything!
#trading#nifty#priceaction#stocks#stock#gann#stockmarketcrash#niftycrash#sebi
https://x.com/priceactiongann/status/1842145244281815243