Repository navigation
MyBrowser 3.9.55 — downloads no longer run at loop speed
MyBrowser 3.9.55 — downloads were running at loop speed
Fixed
-
Each segment read only what had already arrived. The downloader asked
QueryDataAvailablehow many bytes were waiting — usually about 8 KB — and then read
exactly that. Throughput was therefore iterations per second × 8 KB, not bandwidth.That is why 170 MB took 8½ minutes on a normal machine and more than twenty on a CI
runner, with three segments that were supposed to run in parallel.Before After 8 KB per read 64 KB per read 8 KB receive buffer (WinHTTP default) 64 KB
What to expect
The same download should now finish in well under a minute on a normal connection. If it
does not, the next suspect is that the segments are not overlapping — send the log and the
elapsed time.
Verified on this build
Version 3.9.55 agrees in 4 places
All documentation checks passed.
All smoke checks passed. (windows-2022 and windows-2025)
中文摘要
- 下載每次只讀取「已到達」的位元組(約 8 KB),速度受限於迴圈次數
- 現在每次讀取 64 KB,接收緩衝區也從 8 KB 提升到 64 KB
Roadmap: 67 of 75 items done (89%).