Skip to main content

Module web

Module web 

Source
Available on crate feature registry only.
Expand description

JSON bridge for browser-hosted WebAssembly benchmark runners.

The bridge deliberately accepts and returns strings so browser automation can use the same crate::BenchSpec and crate::RunnerReport JSON contract as the native runners without depending on JavaScript object conversion details.

Enums§

BrowserRunnerError
Errors produced by the browser JSON bridge.

Functions§

run_benchmark_json
Runs a registered benchmark from a serialized BenchSpec.