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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
性能对比 (vs Go 版)
场景 Go v2.3.5 Rust v2.4.0 提升
TCPing 25 CIDR (2601 IPs) >600s ~89s ~7×
TCPing 500 IPs ~61s ~19s ~3.2×
HTTPing 500 IPs ~122s ~18s ~6.8×
核心优化:buffer_unordered 异步并发替代 tokio::spawn + Arc、零共享内存争用、per-IP reqwest::Client 配合 resolve() 避免重复 DNS 解析。
用于你没有rust分支,所以是不是需要合并或采用,可以拉取我的rust分支编译以后判断,功能和go版本完全一致,只是代码质量、语法抽象及并发模式、内存收敛做了处理
git clone -b rust_cfpfs https://github.com/aspnmy/CloudflareSpeedTest.git
All reactions