cargo_openvm::commands

Function bench_from_exe

Source
pub fn bench_from_exe<SC, E, VC>(
    engine: E,
    config: VC,
    exe: impl Into<VmExe<Val<SC>>>,
    input_stream: Vec<Vec<Val<SC>>>,
) -> Result<u128>
where SC: StarkGenericConfig, E: StarkFriEngine<SC>, Val<SC>: PrimeField32, VC: VmConfig<Val<SC>>, VC::Executor: Chip<SC>, VC::Periphery: Chip<SC>,
Expand description

Bench without collecting metrics. Performs proving keygen and then execute and proof generation.

Returns total proving time in ms.