mirror of https://github.com/astral-sh/uv
Add troubleshooting section to benchmarks guide (#1485)
## Summary It took me a while to figure out why the benchmarks are extremelly flaky (and slow) on my machine. I documented my finding in the benchmarks.md file in case someone else runs into the same problems as I
This commit is contained in:
parent
3280562e3a
commit
58bc069420
|
|
@ -104,3 +104,10 @@ You need to install the [Roboto Font](https://fonts.google.com/specimen/Roboto)
|
|||
|
||||
The inclusion of this `BENCHMARKS.md` file was inspired by the excellent benchmarking documentation
|
||||
in [Orogene](https://github.com/orogene/orogene/blob/472e481b4fc6e97c2b57e69240bf8fe995dfab83/BENCHMARKS.md).
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Flaky benchmarks
|
||||
|
||||
If you're seeing high variance when running the cold benchmarks, then it's likely that you're running into throttling or DDoS prevention from your ISP. In that case, ISPs forcefully terminate TCP connections with a TCP reset. We believe this is due to the benchmarks making the exact same requests in a very short time (especially true for `uv`). A possible workaround is to connect to VPN to bypass your ISPs filtering mechanism.
|
||||
|
|
|
|||
Loading…
Reference in New Issue