Skip to content

Commit a22e464

Browse files
committed
workbench: add idle & tracer-only scenario/profile/targets
1 parent cdf528a commit a22e464

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ps: ## Plain-text list of profiles
6868
##
6969
## Profile-based cluster shells (autogenerated targets)
7070
##
71-
PROFILES_BASE := default plutus oldtracing
71+
PROFILES_BASE := default plutus oldtracing idle tracer-only
7272
PROFILES_STARTSTOP := startstop startstop-p2p startstop-plutus startstop-notracer startstop-oldtracing
7373
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-dense10
7474
PROFILES_CI_BENCH := ci-bench ci-bench-p2p ci-bench-plutus ci-bench-notracer

nix/workbench/profiles/prof1-variants.jq

+14
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ def all_profile_variants:
290290
($compressed_timescale * $current_tps_saturation_value *
291291
{ scenario: "fixed-loaded"
292292
}) as $scenario_fixed_loaded
293+
|
294+
({ scenario: "idle"
295+
}) as $scenario_idle
296+
|
297+
({ scenario: "tracer-only"
298+
}) as $scenario_tracer_only
293299
|
294300
##
295301
### Definition vocabulary: base variant
@@ -369,6 +375,14 @@ def all_profile_variants:
369375
{ name: "oldtracing"
370376
, desc: "Default in legacy tracing mode"
371377
}
378+
, $scenario_idle *
379+
{ name: "idle"
380+
, desc: "Idle scenario: start nodes & detach from tty; no cluster termination"
381+
}
382+
, $scenario_tracer_only *
383+
{ name: "tracer-only"
384+
, desc: "Idle scenario: start only the tracer & detach from tty; no termination"
385+
}
372386

373387
## Fastest -- start-stop
374388
, $startstop_base *

nix/workbench/scenario.sh

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ case "$op" in
3434
backend start-nodes "$dir"
3535
;;
3636

37+
tracer-only )
38+
backend start "$dir"
39+
;;
40+
3741
fixed )
3842
backend start "$dir"
3943

0 commit comments

Comments
 (0)