Skip to content

☁️ Fix Cloudflare Speed #1083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: development
Choose a base branch
from
Open

☁️ Fix Cloudflare Speed #1083

wants to merge 6 commits into from

Conversation

gnmyt
Copy link
Owner

@gnmyt gnmyt commented Jun 13, 2025

☁️ Fix Cloudflare Speed

There have been multiple reports that the Cloudflare results are not accurate, at all. While it sometimes might work, I also suffered from substantially worse latency on my own instance.

This PR changes the data source of Cloudflare from a pure JS solution to a CLI-based solution. It uses CFSpeedtest, written in Rust.

However, for this to work there needs to be a way for MySpeed to hook into the latency tests. I've already opened a PR in code-inflation/cfspeedtest#204 but as of now, you need to manually compile the code from the PR and insert the binary inside the bin folder.

🚀 Changes made to ...

  • 🔧 Server
  • 🖥️ Client
  • 📚 Documentation
  • 🔄 Other: ___

✅ Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have looked for similar pull requests in the repository and found none

🔗 Related Issues

Fixes #985
Fixes #757

@gnmyt gnmyt self-assigned this Jun 13, 2025
@gnmyt gnmyt added the bug Something isn't working label Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Run with Bun / Cloudflare speedtest speed [Bug] CloudFlare reports doublethan real upload speed
1 participant