Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tools/ironclaw_stress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "rus
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "sync", "time"] }
tokio-postgres = { version = "0.7", optional = true, features = ["with-serde_json-1"] }
uuid = { version = "1", features = ["v4", "serde"] }

[dev-dependencies]
rig = { package = "rig-core", version = "0.33" }
19 changes: 19 additions & 0 deletions tools/ironclaw_stress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,28 @@ Use `--scenario` for a single workload.
| `mixed-user-session` | Realistic user turn with configurable synthetic or provider-backed model latency. |
| `context-growth` | Sequentially grows history, then loads context to expose context read amplification. |
| `tool-session` | Realistic turn with synthetic tool calls, tool previews, tool results, and optional tool wait/failure paths. |
| `api-user-capacity` | End-to-end WebUI API send/read pressure against a running Reborn server. |
| `cpu-burn` | Process-local CPU pressure control. |
| `memory-churn` | Process-local allocation/RSS pressure control. |

`api-user-capacity` can use either pre-minted users from `--api-users-jsonl`,
a shared bearer via `--api-bearer-token`, or real per-user provisioning through
the WebUI admin surface:

```bash
cargo run -p ironclaw_stress -- \
--backend postgres \
--scenario api-user-capacity \
--api-base-url http://127.0.0.1:3900 \
--api-admin-bearer-token "$IRONCLAW_REBORN_WEBUI_BEARER_TOKEN" \
--api-admin-provisioners 4 \
--users 100 \
--concurrency 100 \
--operations 1 \
--api-read-qps-per-user 2 \
--mock-llm-bind 127.0.0.1:3911
```

## Presets

Use `--preset` for a named single workload. Explicit CLI flags override preset
Expand Down
Loading
Loading