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 (with the option to enable benchmark mode).
Otherwise, you can run the following command in your Codeflash GitHub Action: