utils.benchmark.benchmark_time module¶
- run_time_benchmark(f, vf, integrator, vintegrator, result)[source]¶
Benchmark the evaluation time of a trained ZuNIS model against an adapted VEGAS model
- Parameters
vf (vegas.batchintegrand) –
integrator (utils.integrator_integrals.IntegratorSampler) –
vintegrator (utils.vegas_integrals.VegasSampler) –
result (utils.record.Record) –
- Returns
result
- Return type