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

Резултати

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

Пребарај: #carlovers

当前筛选 #carlovers清除筛选
Auto Life

@revheadcrypto · Post #405 · 29.08.2024 г., 16:12

🚗💨Manhart Unleashes 200+ Extra Horses on the Toyota Supra!🏎️✨ The stock 3.0L inline-six engine of the Toyota Supra packs a punch with 340 hp. But the tuning experts at Manhart have taken it to the next level, boosting it to an impressive 550 hp and a whopping 770 Nm of torque! ⚡️🔧 But that’s not all! The stunning coupe also features: - Eye-catching aerodynamic body kit 🛠️ - Re-tuned suspension for enhanced performance 🏁 - New wheels for that perfect look! 🖤 🛒 Individual parts available: - Engine upgrade: €11,999 - New exhaust system: €5,050 - Body kit: €13,500 - Wheels: €3,070 per set - Coilovers: €3,100 per set #Manhart#ToyotaSupra#Tuning#CarEnthusiast#PerformanceUpgrade#CarLovers#Auto

Auto Life

@revheadcrypto · Post #448 · 05.09.2024 г., 13:45

🚗✨ Introducing the updated Volvo XC90! ✨🚗 After nearly a decade, the XC90 has received a stunning makeover with a refreshed exterior featuring new headlights, grille, and bumpers. Plus, enjoy an enhanced suspension and a modern media system with a larger screen! 📱🔊 This new XC90 will only be available with hybrid powertrains based on gasoline engines, as the company has phased out diesel options. ⚡️🚫 🔋 The plug-in hybrid XC90 offers an impressive electric range of about 70 km, with a total driving range of 800 km! Meanwhile, mild-hybrid versions with a 48-volt starter-generator reduce fuel consumption by 15%. 🌍💚 #VolvoXC90#Hybrid#Sustainability#Innovation#CarLovers#NewRelease#Auto

Auto Life

@revheadcrypto · Post #377 · 23.08.2024 г., 10:01

🚗💨 Exciting News from Dodge! 💨🚗 Introducing the new 3.0L Hurricane Inline-Six Engine!🌪️✨ Available in two powerful options: - 🔥 426 hp for just $10,495 - ⚡️ 558 hp for $13,745 And that's not all! A third variant boasting around 1000 hp is on the way! 🚀💯 These engines are set to replace the legendary V8 HEMI. Get ready for a thrilling ride! 🏁🔥 #Dodge#HurricaneEngine#Power#Innovation#V8HEMI#CarLovers#Automotive

Auto Life

@revheadcrypto · Post #589 · 19.10.2024 г., 08:26

🚗💨Ferrari Unveils the F80: A New Super Hybrid Rivaling McLaren W1!💨🚗 Introducing the most powerful road model in Ferrari's history! 🔥🏎️ 🔴 Instead of a V12, it features a Le Mans-inspired V6 3.0 with hybrid technology. 🔴 Produces a staggering 900 hp, revving up to 9000 RPM! 🔴 Combined output with electric motors (developed by Ferrari) reaches an astonishing 1200 hp! 🔴 0-100 km/h in just 2.15 seconds! 🔴 0-200 km/h in only 5.75 seconds! 🔴 Top speed of 350 km/h! 🔴 800-volt electrical architecture for ultimate performance! 🔴 Dry weight of 1525 kg! 🔴 Monocoque made from carbon fiber, with aluminum front and rear subframes! The F80 features a two-seat configuration, with a driver-focused cockpit, dubbed "1+." 🏁👤 Its retro design pays homage to the legendary Daytona and F40, generating a whopping ton of downforce at 250 km/h! 🌬️✨ 🚀Availability: Late 2025 💰Starting Price: €3.6 million 🔢 Only 799 units will be produced! #FerrariF80#SuperHybrid#Hypercar#Ferrari#McLarenW1#CarLovers#Auto

Home decor

@dzdigital3 · Post #19403 · 30.01.2026 г., 19:15

When you want your car to be as cozy as your living room 🛋️🚗 #Satisfying#Transformation#DIY#Craftsmanship#UniqueRides#CarLovers#ViralVideo#Reels#FacebookWatch#AmazingCars Full video 👇 https://www.facebook.com/share/r/1Dg1M4jKCs/

Auto Life

@revheadcrypto · Post #635 · 14.11.2024 г., 10:07

🚗💨 Introducing the all-new Brabus Mercedes-AMG S-Class! 🌟 This stunning beast boasts a jaw-dropping 1000 horsepower and a mind-blowing 1820 Nm of torque! 🔥💪 🔧 Under the hood, the 4.5-liter V8 has been meticulously upgraded with a custom turbo system, new pistons, and a fresh ECU tune. Get ready for an exhilarating driving experience! 🏎️💨 ✨ The exterior features aggressive carbon aerodynamic elements and is finished in a unique shade of grey, perfectly complemented by 22-inch forged wheels. 😍🖤 🛋️ Inside, luxury meets style with exquisite grey quilted leather upholstery that takes comfort to the next level. #Brabus#MercedesAMG#SClass#LuxuryCars#CarEnthusiast#1000HP#Performance#AutomotiveDesign#CarLovers#Auto🚘✨

Auto Life

@revheadcrypto · Post #634 · 10.11.2024 г., 16:13

🚀Yangwang U9 Sets New Record!🚀 The incredible Yangwang U9 by BYD has reached a jaw-dropping speed of 391.94 km/h! 🏎️💨 This marks a new record for Chinese cars, surpassing its previous achievement by 17 km/h and far exceeding its official top speed of 309 km/h. To achieve this feat, the 1306-horsepower hypercar underwent significant upgrades, including enhanced aerodynamics, lightweight wheels with track tires, and a software reprogramming. 🔧✨ #YangwangU9#BYD#Hypercar#SpeedRecord#AutomotiveInnovation#CarLovers#Performance#ChineseAutomobile#Auto

Auto Life

@revheadcrypto · Post #321 · 16.08.2024 г., 06:49

🚗💨 Introducing the Naran Hypercar: The Ultimate Powerhouse! 🌟 Get ready for the unveiling of the Naran Hypercar in the UK this August! 🇬🇧 With a staggering 1000 horsepower, this beast promises to be the fastest four-seater car in the world, powered by a traditional internal combustion engine—no electric enhancements! ⚡️❌ Only 39 units will be produced, making it an exclusive masterpiece! 🎨✨ Under the hood, it features a 5.0-liter twin-turbo V8, derived from BMW's impressive 4.4-liter engine. 🏎️💥 And yes, it comes with full-wheel drive for that ultimate driving experience! 🌍🚀 #NaranHypercar#CarEnthusiasts#AutomotiveExcellence#V8Power#Hypercar#FastestCar#LuxuryCars#CarLovers#InnovativeEngineering

Auto Life

@revheadcrypto · Post #241 · 04.08.2024 г., 10:11

🚗✨ Introducing the all-new AC Cobra GT Coupe! 🌟 For the first time in history, this iconic sports car is getting a hardtop version, and it's set to be produced in series! 🏁💨 With stunning carbon body panels, the Coupe is not only beautiful but also powerful! 💪🔥 Choose between two roaring V8 engines: 565 or 730 horsepower! Starting at just £325,000, this masterpiece is ready to hit the roads! 💷🚀 #ACCobra#SportsCar#CarEnthusiast#LuxuryAutomobile#V8Power#CobraGT#CarLovers#IconicDesign#AutomotiveExcellence