Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Hommy-master
capcut-mate
Repository navigation
Code
Issues
5
(5)
Pull requests
4
(4)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Releases
v8.1.16
Release v8.1.16
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
Hommy-master
released this
13 Nov 07:25
·
2 commits
to main since this release
v8.1.16
3e32e37
🎯 问题背景
同一草稿的下载耗时波动很大:线上 71 次记录中位数 22.45 秒,p90 达 337 秒,最长 1061 秒
典型现象:82MB 素材以约 20KB/s 爬了 17 分钟,连接一重建,剩余 64MB 仅用 2 秒下完
根因是旧 EWMA 基线会跟随逐窗口劣化一起下降,跌破 256KiB/s 门槛后看门狗永久失效,慢而不断的连接永远不会被轮换
🛠️ 主要改动
下载基线改为「快升慢降」:高于基线的窗口立即抬升,低于基线每 5 秒只衰减 2%,逐窗口掉速也能被识别
增加当前速度低于 256KiB/s 才轮换的条件,避免峰值 30MB/s 掉到 3MB/s 这类仍可用吞吐被频繁重连
劣化日志补充基线值,便于定位「从多少掉到多少」
Python 服务端与桌面端 Node 下载策略同步,行为保持一致
读块保持 8KB:实测更大的块会让慢连接上的看门狗更迟钝,不做盲目调大
新增「逐窗口衰减」与「快降中速不轮换」两组回归测试
✅ 验证结果
受控劣化测试:2MiB 全速后降到 50KiB/s,15 秒识别劣化、按 Range 重连续传,16.07 秒完成全部 8MiB
267MB 草稿 20 次完整下载:20/20 成功,耗时 5.87–7.78 秒,标准差 0.52 秒
52.4MB 新草稿 50 次完整下载:50/50 成功,中位 1.45 秒,p95 2.44 秒,最慢 5.16 秒
每次文件数、字节数、草稿就绪校验完全一致,健康链路下看门狗零误触发
自动化测试:Python 下载相关 169 项、Node 7 项全部通过
📦 兼容性说明
无接口变更、无配置项新增,属于下载链路内部优化
慢链路(基线低于 256KiB/s)仍保持原有策略,不做无意义轮换
建议在 Windows 生产环境于历史慢速时段复测,确认实际网络路径下的改善效果
You can’t perform that action at this time.