Benchmark
2 endpoints.
get_report
Section titled “get_report”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.
Request failed — Usual causes: the instance address is wrong or unreachable; cross-origin access is not enabled on the instance; or this page is HTTPS while the instance is plain HTTP on a LAN address, which the browser blocks as mixed content. “Copy as cURL” above sends the same request from a terminal.
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”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.
Request failed — Usual causes: the instance address is wrong or unreachable; cross-origin access is not enabled on the instance; or this page is HTTPS while the instance is plain HTTP on a LAN address, which the browser blocks as mixed content. “Copy as cURL” above sends the same request from a terminal.
Your own instance address. Requests go from this browser straight to it.