Automatic Testing Group
Automatically select a policy by benchmarking latency to the testing URL. You can change the global testing URL in [General] or override it for a specific policy.
AutoTestGroup = url-test, ProxySOCKS5, ProxySOCKS5TLS
Temporary Override
You can temporarily override the result of automatic testing by manually selecting a policy.
In Surge Mac, you can find the override option in the corresponding group in the main menu.
In Surge iOS, you can find the override option by long-pressing on the corresponding policy's menu in the policy group view.
Parameters
interval: Optional, in seconds, default: 600
The benchmark result is discarded after this interval. Surge retests when the policy group is used again.
tolerance: Optional, in milliseconds, default: 100
The selected policy changes only when the new winner has a score higher than the old winner's score plus the tolerance.
This option prevents policies with similar scores from constantly alternating.
timeout: Optional, in seconds, default: 5
Mark a policy as unavailable if the test does not finish before the timeout.
evaluate-before-use: Optional, Boolean, default: false
By default, when an automatic testing group is used for the first time, Surge uses the first policy in the group and starts testing in the background.
If this option is enabled, Surge waits for the first test to finish before using the selected result.