You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,11 @@ To benchmark a new platform, implement the adapter interface:
172
172
173
173
-**stdio transport**: use `--system-adapter-stdio-cmd` (spicebench starts the child process).
174
174
-**HTTP transport**: use `--system-adapter-http-url` (spicebench connects to a remote adapter endpoint).
175
+
-**execution mode**: use `--system-adapter-execution-mode`:
176
+
-`adapter-command` (default): dispatches `spicebench run ...` to adapter JSON-RPC `run.load`
177
+
-`direct-query`: spicebench runs load/query path directly, while still connecting to adapter
178
+
179
+
When adapter transport is configured, `spicebench run ...` is dispatched to spidapter method `run.load` over JSON-RPC and the adapter's `stdout`/`stderr` are streamed back.
175
180
176
181
#### Stdio example (child process started by spicebench)
177
182
@@ -202,7 +207,18 @@ Notes:
202
207
- Set **exactly one** of `--system-adapter-stdio-cmd` or `--system-adapter-http-url`.
203
208
-`--system-adapter-stdio-args` passes CLI args to the stdio adapter command.
204
209
-`--system-adapter-env` is only valid for stdio transport.
205
-
- On connection, spicebench issues JSON-RPC `rpc.methods` to verify the adapter is reachable.
210
+
- Spicebench validates the adapter supports JSON-RPC method `run.load` before dispatch.
211
+
212
+
#### Direct-query example (run in spicebench, keep adapter connected)
0 commit comments