@@ -1399,7 +1399,7 @@ impl Xtasks {
1399
1399
bail ! ( "Failed to list testbeds: {:?}" , testbeds) ;
1400
1400
}
1401
1401
1402
- let testbeds = parse_list_of_dicts ( testbeds. stdout )
1402
+ let mut testbeds = parse_list_of_dicts ( testbeds. stdout )
1403
1403
. with_context ( || "reading testbeds" ) ?
1404
1404
. into_iter ( )
1405
1405
. map ( |p| {
@@ -1409,6 +1409,7 @@ impl Xtasks {
1409
1409
} )
1410
1410
. filter ( |( name, _) | name. contains ( "gha" ) )
1411
1411
. collect :: < Vec < _ > > ( ) ;
1412
+ testbeds. sort ( ) ;
1412
1413
1413
1414
let group_to_benchmark_map: HashMap < _ , Vec < _ > > =
1414
1415
benchmarks
@@ -1422,7 +1423,7 @@ impl Xtasks {
1422
1423
// create plot using
1423
1424
// bencher plot create --x-axis date_time --branches main --testbeds <uuids> --benchmarks <uuids> --measures latency
1424
1425
1425
- for ( group, uuids) in group_to_benchmark_map {
1426
+ for ( group, uuids) in group_to_benchmark_map. iter ( ) . sorted ( ) {
1426
1427
for ( testbed_name, testbed_uuid) in testbeds. iter ( ) {
1427
1428
let without_gha = testbed_name. replace ( "-gha" , "" ) ;
1428
1429
let plot_name = format ! ( "{without_gha} {group}" ) ;
@@ -1442,7 +1443,7 @@ impl Xtasks {
1442
1443
. args ( [ "--measures" , LATENCY_MEASURE_UUID ] )
1443
1444
. args ( [ "--token" , & token. clone ( ) . unwrap_or_default ( ) ] ) ;
1444
1445
1445
- for benchmark_uuid in & uuids {
1446
+ for benchmark_uuid in uuids {
1446
1447
bencher_cmd. arg ( "--benchmarks" ) . arg ( benchmark_uuid) ;
1447
1448
}
1448
1449
0 commit comments