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

Резултати

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

Глобално пребарување

Surge Mac's Changelog

@surgemacchangelog · Post #1762 · 08.07.2025 г., 06:55

#Mac#Release Version 6.0.0-7170 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1760 · 07.07.2025 г., 16:11

#Mac#Release Version 6.0.0-7160 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1758 · 07.07.2025 г., 15:43

#Mac#Release Version 6.0.0-7150 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1756 · 07.07.2025 г., 14:39

#Mac#Release Version 6.0.0-7140 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1754 · 07.07.2025 г., 12:54

#Mac#Release Version 6.0.0-7130 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1752 · 07.07.2025 г., 12:41

#Mac#Release Version 6.0.0-7120 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge Mac's Changelog

@surgemacchangelog · Post #1750 · 07.07.2025 г., 12:28

#Mac#Release Version 6.0.0-7110 ### Quick Release Highlights Please refer to the knowledge base for the complete update notes: https://kb.nssurge.com/surge-knowledge-base/release-notes/surge-mac-6-release-note ### UI Refresh - Brand new design style - New dashboard with richer metrics - Almost all pages have been refined. - The complete macOS 26 style adjustments will be made in subsequent versions. ### Surge Gateway VM - Gateway VM (Layer 2 via VMNET) replaces the old DHCP mode, cutting overhead and enabling richer gateway features. - IPv6 RA Override issues higher-priority RA messages to selected devices, fixing Fake DNS conflicts and fully taking over IPv6 without affecting others. ### New VIF Engine - Comprehensive optimization for Network Extension, significantly improving performance and enhancing stability in special cases, restoring v2/v3 performance lost on macOS Sequoia. ### Ponte 2.0 - Supports multiple NAT-traversal channels (IPv6 direct, several proxy relay lines) in parallel; clients auto-select the fastest. - Ships with a self-hosted, low-latency STUN service. ### Smart Group - UDP flows now receive the same intelligent path selection as TCP. - Resolves prior conflicts with Snell connection reuse. ### Snell v5 - Dynamic Record Sizing trims latency on lossy links. - QUIC Proxy Mode (UDP-over-UDP) activates for QUIC traffic, encrypts only the handshake to shield SNI while avoiding TCP-over-UDP overhead. ### Traffic Statistics - Per-hostname views and month-long timelines. - Aggregates helper processes under their parent app. ### Fake DNS v6 - DNS server now answers AAAA on fd00:6152::2, allowing pure-IPv6 deployments. ### Linked Profiles - #include can point directly to managed-profile URLs; Surge now prompts to create a linked layer when edits are attempted. ### Other Improvements - Single-IP support in IP-CIDR and IP-CIDR6 rules (/32 or /128 implied). - PROTOCOL,TCP applies to HTTP/HTTPS for semantic parity. - Faster loading for huge profiles. - full-header-mode exposes complete header arrays. - Default fallback for proxies lacking UDP support: REJECT. - Adds zstd compression and faster wildcard matching. - Entire Advanced Settings page rewritten—every parameter editable in-app. Official Channel: @SurgeTestFlightFeed

Hashtags

12•••5678910•••15•••20•••25•••30•••35•••40•••45•••50•••55•••60•••6566
ПретходнаСтраница 7 од 66Следна