Skip to content

Benchmark

2 endpoints.

GEThttp://localhost:3000/api/bench/{reportid}

Not yet described in this reference. This endpoint is listed because the server registers it, but its request and response shapes have not been written down yet.

The handler is get_report in crates/lanrurugi-api/src/bench.rs:107.

Responses

200The endpoint responded. Its exact shape is not documented yet — see the handler at crates/lanrurugi-api/src/bench.rs:21.

This response carries no example body.

Your own instance address. Requests go from this browser straight to it.

Runs the cross-system comparison against the caller-supplied legacy/new endpoints (both are

Section titled “Runs the cross-system comparison against the caller-supplied legacy/new endpoints (both are”
POSThttp://localhost:3000/api/bench/run

Not yet described in this reference. This endpoint is listed because the server registers it, but its request and response shapes have not been written down yet.

The note below is the handler’s own documentation comment (crates/lanrurugi-api/src/bench.rs:65), quoted verbatim. It is written for maintainers of this codebase and may reference internal identifiers.


Runs the cross-system comparison against the caller-supplied legacy/new endpoints (both are external HTTP targets from this crate’s point of view — even when “new” happens to be this same running instance, reached via its own bind address — so one implementation drives either case identically, matching how lanrurugi-bench-compare works standalone).

Responses

200The endpoint responded. Its exact shape is not documented yet — see the handler at crates/lanrurugi-api/src/bench.rs:20.

This response carries no example body.

This endpoint needs an administrator token — a guest (read-only) token is refused by the server.

Your own instance address. Requests go from this browser straight to it.