pyperf icon indicating copy to clipboard operation
pyperf copied to clipboard

Programmatically define output file for bench_func

Open drewoldag opened this issue 2 years ago • 1 comments

I'm having trouble determining how to programmatically set the output file name when using Runner.bench_func().

Is this possible, and if so, are there instructions or examples available?

drewoldag avatar Jun 11 '23 21:06 drewoldag

In the main process, the function directly returns an object which contains data. Why do you need a filename? Please elaboate your use case.

vstinner avatar Jun 13 '23 12:06 vstinner