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

Резултати

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

Пребарај: #chromium

当前筛选 #chromium清除筛选
Linuxgram 🐧

@linuxgram · Post #18454 · 16.04.2026 г., 03:35

📰 New AgingFly malware used in attacks on Ukraine govt, hospitals A new malware family named 'AgingFly' has been identified in attacks against local governments and hospitals that steal authentication data from Chromium-based browsers and WhatsApp messenger. 🔗 Source: https://www.bleepingcomputer.com/news/security/new-agingfly-malware-used-in-attacks-on-ukraine-govt-hospitals/ #chromium

Hashtags

Linuxgram 🐧

@linuxgram · Post #17828 · 18.02.2026 г., 20:20

📰 Chromium on MediaTek: From testing to real-world performance on Genio 700 & 720 A deep dive on the current status of Chromium enablement on MediaTek Genio SoCs, including what the numbers look like when MediaTek’s hardware codecs are driven by Chromium’s V4L2 paths. 🔗 Source: https://www.collabora.com/news-and-blog/news-and-events/chromium-hardware-codecs-on-mediatek-genio-700-and-720-from-test-plans-to-real‑world-performance.html #chromium

Hashtags

Solidot 纯净版

@SolidotR · Post #4284 · 14.01.2026 г., 08:01

Chrome/Chromium 恢复支持 JPEG-XL 图像 #Chromium 2023 年 Google Chrome 移除了对实验性的 JPEG-XL 图像格式的支持。JPEG-XL 是免专利新的图像格式。Google 此举引发了很多争议,因为 Chrome/Chromium 占据了九成市场份额,它是 Web 标准事实上的仲裁者。到了 2025 年事情有了戏剧性转变。Google 改变了主意,开始恢复对 JPEG-XL 图像的支持,去年 12 月 Chrome/Chromium 代码库合并了 Rust 语言开发的 JPEG-XL 图像解码器 jxl-rs,本周基于 jxl-rs 的 JPEG-XL 图像解码功能默认启用。 https://www.phoronix.com/news/JPEG-XL-Returns-Chrome-Chromium https://github.com/chromium/chromium/commit/8215ebd5eb9d45b42bbc68e1ceff039a319b35d6

Hashtags

某小学生的破事水日常

@anankkew · Post #2651 · 05.02.2021 г., 20:36

Chromium 重新设计代码大幅减少 DNS 流量 2021-02-05 23:24#Chromium 去年 8 月,亚太互联网络信息中心(APNIC)报告,Chromium 浏览器中检查网络是否存在 NXDOMAIN 拦截的代码会导致大量的垃圾 DNS 查询流量。NXDOMAIN 是域名错误信息,部分 ISP 会对其进行拦截重定向。Chromium 采用的方法是每次启动、每次 IP 地址变化、每次设备 DNS 配置变更时对 3 个随机的 10 个字符长的字符串进行 DNS 查询。APNIC 称 root 服务器一半的查询流量来自于 Chromium 的检查。这相当于每天在 root 服务器系统查询 600 亿次。APNIC 现在报告,Chromium 团队重新设计了代码停止了垃圾 DNS 查询,这一变动包含在 Chromium 87 中。在 Chromium 87 释出前,root 服务器的峰值查询流量高达每天 1430 亿次,释出后降至了每天 840 亿次,减少了 41%。

Hashtags

FOSS Post

@fosspost · Post #621 · 28.01.2021 г., 15:38

Google is throwing #Chromium browser under the bus, as it is removing the Sync support from it and removing the API keys which it gave to Linux distributions. https://hackaday.com/2021/01/26/whats-the-deal-with-chromium-on-linux-google-at-odds-with-package-maintainers/

Hashtags

Linuxgram 🐧

@linuxgram · Post #18611 · 29.04.2026 г., 10:27

📰Bork in Prague: SUSE's keynote gods demand their tribute Linux vendor touts European independence while rate limits, Chromium popups, and cold sparks steal the show BORK!BORK!BORK! The keynote gods are a fickle bunch, as SUSE discovered at its annual shindig in Prague. What should have been a slick edge demo instead served up error pages to unsuspecting attendees, while keynote presentations attracted some unwelcome visitors.… 🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/29/never_anger_the_keynote_demo/ #chromium#linux

Linuxgram 🐧

@linuxgram · Post #18563 · 25.04.2026 г., 10:33

📰Raspberry Pi owners are missing this one free tweak that changes everything A couple of years ago, when I was working on my Raspberry Pi 5, I noticed that it was very slow. I googled possible reasons, and the main one was its lack of RAM. It has 4 gigs of RAM, but I noticed that running multiple Chromium tabs made it run at a snail's pace. So, I looked for ways to increase the RAM. Given that I was using an SD Card as a hard drive, using a swap file wasn't really an option. However, I found a program called ZRAM and... 🔗 Source: https://www.xda-developers.com/free-tweak-old-pi-changes-everything/ #chromium#raspberry

Linuxgram 🐧

@linuxgram · Post #18429 · 14.04.2026 г., 14:14

📰 Latest Raspberry Pi OS Release Disables Passwordless sudo by Default Raspberry Pi OS 2026-04-13 is now available for download with a much-improved Control Center app, passwordless sudo disabled by default, Chromium enhancements, and many other changes. 🔗 Source: https://9to5linux.com/latest-raspberry-pi-os-release-disables-passwordless-sudo-by-default #chromium#raspberry

Linuxgram 🐧

@linuxgram · Post #18428 · 14.04.2026 г., 12:46

📰 Latest Raspberry Pi OS Release Disables Passwordless sudo by Default Raspberry Pi OS 2026-04-13 is now available for download with a much-improved Control Center app, passwordless sudo disabled by default, Chromium enhancements, and many other changes. 🔗 Source: https://9to5linux.com/latest-raspberry-pi-os-release-disables-passwordless-sudo-by-default #chromium#raspberry

sudo recast

@sudo_recast · Post #814 · 10.01.2024 г., 05:51

現在 #Chromium (#Brave) 保存書籤的時候不可以點選「更多」來修改 URL 了。🥲 我一般就存個主頁,後面路徑和參數要刪掉。

Linuxgram 🐧

@linuxgram · Post #18272 · 01.04.2026 г., 16:44

📰HarfBuzz 14.0 Released With New GPU Accelerated Text Rendering Library HarfBuzz is the open-source text shaping engine originally born out of the FreeType project and now widely-used by GNOME, KDE, Java, Flutter, Godot, Chromium, LibreOffice, and countless other applications. HarfBuzz 14.0 released today and making this release quite exciting is introducing a GPU-accelerated text rendering library... 🔗 Source: https://www.phoronix.com/news/HarfBuzz-14.0-Released #kde#opensource#chromium#gnome

12
ПретходнаСтраница 1 од 2Следна