mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 02:22:25 +00:00
tests: use multi-sample CLI startup baselines
This commit is contained in:
@@ -13,8 +13,8 @@ if (process.argv.slice(2).includes("--help")) {
|
||||
" --out <path> Output path (default: test/fixtures/cli-startup-bench.json)",
|
||||
" --entry <path> CLI entry to benchmark (default: openclaw.mjs)",
|
||||
" --preset <name> startup | real | all (default: all)",
|
||||
" --runs <n> Measured runs per case (default: 1)",
|
||||
" --warmup <n> Warmup runs per case (default: 0)",
|
||||
" --runs <n> Measured runs per case (default: 5)",
|
||||
" --warmup <n> Warmup runs per case (default: 1)",
|
||||
" --timeout-ms <ms> Per-run timeout (default: 30000)",
|
||||
" --help Show this help text",
|
||||
"",
|
||||
@@ -31,8 +31,8 @@ const opts = parseFlagArgs(
|
||||
out: cliStartupBenchManifestPath,
|
||||
entry: "openclaw.mjs",
|
||||
preset: "all",
|
||||
runs: 1,
|
||||
warmup: 0,
|
||||
runs: 5,
|
||||
warmup: 1,
|
||||
timeoutMs: 30_000,
|
||||
},
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user