Simon Law
bb498a8393
net/netcheck: extract Compare function for region latencies ( #20658 )
...
There are two places in the code where we need to compare the
latencies of a netcheck report. In both cases, the comparison wasn’t
well tested.
This PR extracts that logic into a Compare method of the new
RegionLatency type. This type wraps the map of latency measurements
keyed by region ID.
Updates #cleanup
Change-Id: I7f248988973007c2f452283c1b82f84b03068f77
Signed-off-by: Simon Law <sfllaw@tailscale.com >
2026-07-29 16:51:55 -04:00
..
2026-06-29 12:57:22 -07:00
2026-06-12 09:41:00 -07:00
2023-02-07 14:34:04 -08:00
2026-07-10 17:39:16 -07:00
2026-03-06 13:32:03 -08:00
2026-06-15 11:41:18 -07:00
2026-07-15 14:47:16 -04:00
2026-01-23 15:49:45 -08:00
2026-06-29 12:57:22 -07:00
2026-07-07 12:10:34 -07:00
2026-07-08 13:34:40 +01:00
2026-05-20 16:29:04 -07:00
2026-06-15 10:00:03 -07:00
2026-07-24 09:39:40 -04:00
2026-06-23 10:41:50 -07:00
2026-01-23 15:49:45 -08:00
2026-06-23 10:41:50 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-20 17:29:11 -04:00
2026-07-01 15:35:06 -07:00
2026-06-29 12:57:22 -07:00
2026-01-23 15:49:45 -08:00
2026-07-22 08:27:15 -06:00
2026-07-29 16:51:55 -04:00
2026-06-27 16:11:42 -07:00
2026-03-05 20:13:18 -08:00
2026-07-27 19:43:11 -07:00
2026-07-27 19:43:11 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-06-29 16:33:33 -04:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-06-30 09:01:32 -04:00
2026-01-23 15:49:45 -08:00
2026-06-30 09:01:32 -04:00
2026-06-24 13:14:45 -07:00
2026-07-14 07:26:41 -07:00
2026-07-02 20:26:27 -07:00
2026-07-02 20:26:27 -07:00
2026-06-29 12:57:22 -07:00
2026-06-12 05:49:00 -05:00
2026-07-13 15:15:44 -07:00
2026-07-16 09:13:38 -06:00
2026-07-16 09:13:38 -06:00
2026-07-14 19:57:59 -04:00
2026-06-27 16:11:42 -07:00
2026-06-27 16:11:42 -07:00
2026-06-23 08:12:36 -07:00
2026-06-02 11:57:12 -07:00
2026-06-23 12:02:49 -07:00
2026-06-26 08:58:23 -04:00
2026-06-26 08:58:23 -04:00