Skip to content

Commit 5d8f0dd

Browse files
committed
workbench | profiles: more systematic filter disabling & fix chainsync
1 parent f608b31 commit 5d8f0dd

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

nix/workbench/profiles/prof1-variants.jq

+12-9
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,14 @@ def all_profile_variants:
192192
} as $chainsync_cluster
193193
|
194194
##
195+
### Definition vocabulary: filtering
196+
##
197+
({}
198+
| .analysis.filters = []
199+
| .analysis.filter_exprs = []
200+
) as $no_filtering
201+
|
202+
##
195203
### Definition vocabulary: timescale
196204
##
197205
{ genesis:
@@ -219,22 +227,18 @@ def all_profile_variants:
219227
|
220228
({}
221229
| .node.shutdown_on_block_synced = 1
222-
| .analysis.filters = []
223230
) as $for_1blk
224231
|
225232
({}
226233
| .node.shutdown_on_block_synced = 3
227-
| .analysis.filters = []
228234
) as $for_3blk
229235
|
230236
({}
231237
| .node.shutdown_on_block_synced = 15
232-
| .analysis.filters = []
233238
) as $for_15blk
234239
|
235240
({}
236241
| .node.shutdown_on_block_synced = 30
237-
| .analysis.filters = []
238242
) as $for_30blk
239243
|
240244
##
@@ -277,13 +281,12 @@ def all_profile_variants:
277281
##
278282
### Definition vocabulary: scenario
279283
##
280-
($mainnet_timescale * $chainsync_cluster *
284+
($mainnet_timescale * $chainsync_cluster * $no_filtering * $without_tracer *
281285
{ desc: "Mainnet chain syncing benchmark"
282286
, scenario: "chainsync"
283287
, preset: "mainnet"
284288
, analysis:
285289
{ type: "performance"
286-
, filters: []
287290
}
288291
}) as $scenario_chainsync
289292
|
@@ -300,15 +303,15 @@ def all_profile_variants:
300303
##
301304
### Definition vocabulary: base variant
302305
##
303-
($scenario_fixed_loaded * $doublet * $dataset_empty * $for_1blk *
306+
($scenario_fixed_loaded * $doublet * $dataset_empty * $for_1blk * $no_filtering *
304307
{ desc: "Stop as soon as we've seen a single block"
305308
}) as $startstop_base
306309
|
307-
($scenario_fixed_loaded * $doublet * $dataset_empty * $for_3blk *
310+
($scenario_fixed_loaded * $doublet * $dataset_empty * $for_3blk * $no_filtering *
308311
{ desc: "Miniature dataset, CI-friendly duration, test scale"
309312
}) as $citest_base
310313
|
311-
($scenario_fixed_loaded * $doublet * $dataset_miniature * $for_15blk *
314+
($scenario_fixed_loaded * $doublet * $dataset_miniature * $for_15blk * $no_filtering *
312315
{ desc: "Miniature dataset, CI-friendly duration, bench scale"
313316
}) as $cibench_base
314317
|

nix/workbench/profiles/prof2-derived.jq

+4-2
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,11 @@ def add_derived_params:
198198
, cluster_startup_overhead_s: $dataset_induced_startup_delay_conservative
199199
, filter_exprs:
200200
($ana.filter_exprs +
201-
[ { tag: "CBlock", contents: { tag: "BMinimumAdoptions"
201+
(if $n_pools == 0 then []
202+
else
203+
[ { tag: "CBlock", contents: { tag: "BMinimumAdoptions"
202204
, contents: ($n_pools - 1) } }
203-
])
205+
] end))
204206
}
205207
})
206208
}

0 commit comments

Comments
 (0)