pub fn measure(
spawn: impl Fn(usize) -> Result<BoxedRenderer, RenderError> + Send + Sync + 'static,
state: &PresetState,
runs: NonZeroUsize,
) -> Result<TimingTable, RenderError>Expand description
Measures every row runs times with renderers that spawn starts.
The renders play the recipe’s lead note with state. The throughput
rows start every worker before they time a batch, so no batch waits for
a plug-in load.
§Errors
Returns the RenderError of a renderer that does not start or a
render that fails, and RenderError::Host for a backend that does
not measure its state loads.