This function allows to construct or convert to a ResultData object, the result container used by ResampleResult and BenchmarkResult . A ResampleResult or BenchmarkResult can be initialized with the returned object. Note that ResampleResult s can be converted to a BenchmarkResult with as_benchmark_result()
and multiple BenchmarkResult s can be combined to a larger BenchmarkResult with the $combine() method of BenchmarkResult .