Configure and use pytest-benchmark integration for performance-critical code optimization
--benchmark
flag. Note that benchmark mode cannot be used with --all
.
codeflash init
for an easy way to set up Codeflash as a GitHub Action.
After that, you can add the --benchmark
argument to codeflash to enable benchmarks optimization.