Skip to main content

Optimize your entire codebase

Codeflash can optimize your entire codebase by analyzing all the functions in your project and generating optimized versions of them. It iterates through all the functions in your codebase and optimizes them one by one.

To optimize your entire codebase, run the following command in your project directory:

codeflash --all

This requires the Codeflash GitHub App to be installed in your repository.

This is a powerful feature that can help you optimize your entire codebase in one go. Since it runs on all the functions in your codebase, it can take some time to complete, please be patient. As this runs you will see Codeflash opening pull requests for each function it successfully optimizes.