benchmark_infer prints the binary sizes once, instead of every benchmark call