bench: add pure-overhead startup scenarios

This commit is contained in:
balanza
2026-06-20 14:27:33 +02:00
parent b03651c5db
commit a07ff030f2
3 changed files with 21 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
SCENARIO_DESCRIPTION="distrobox --help: binary load + arg parser cost"
SCENARIO_WARMUP=3
SCENARIO_RUNS=50
scenario_setup() { :; }
scenario_command() { printf '%s --help\n' "$EXEC"; }
scenario_cleanup() { :; }
+7
View File
@@ -0,0 +1,7 @@
SCENARIO_DESCRIPTION="distrobox --version: alternate startup path"
SCENARIO_WARMUP=3
SCENARIO_RUNS=50
scenario_setup() { :; }
scenario_command() { printf '%s --version\n' "$EXEC"; }
scenario_cleanup() { :; }
+7
View File
@@ -0,0 +1,7 @@
SCENARIO_DESCRIPTION="distrobox create --help: subcommand dispatch cost"
SCENARIO_WARMUP=3
SCENARIO_RUNS=50
scenario_setup() { :; }
scenario_command() { printf '%s create --help\n' "$EXEC"; }
scenario_cleanup() { :; }