clash.optimize.compare_probes
Compare probe results before and after a configuration change to classify performance impact as improved, unchanged, regressed, or inconclusive, and flag critical regressions requiring rollback.
Instructions
v1.0-D: Read-only before/after probe comparison. Takes beforeProbes and afterProbes (same targets, same sample counts, same timeouts) and classifies the outcome as IMPROVED, NO_MATERIAL_CHANGE, REGRESSED, or INCONCLUSIVE. Detects critical regression (DNS/HTTP/TCP newly_failing) which requires immediate stop and rollback. Per v1.0-D: config write success alone does NOT constitute optimization success. Does NOT execute probes or modify configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| afterProbes | Yes | Probe results from after the configuration change (same targets). | |
| beforeProbes | Yes | Probe results from before the configuration change. |