Add the video to docs

Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
This commit is contained in:
Saurabh Misra 2025-07-29 16:15:40 -07:00
parent 5675ef08aa
commit 8e1248bce0

View file

@ -21,6 +21,11 @@ This powerful command creates high-quality optimizations, making it ideal when y
The generated replay tests and the trace file are for the immediate optimization use, don't add them to git.
## 1 min demo
<iframe width="750" height="460" src="https://www.youtube.com/embed/_nwliGzRIug" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
## What is the codeflash optimize command?
`codeflash optimize` tries to do everything that an expert engineer would do while optimizing a workflow. It profiles your code, traces the execution of your workflow and generates a set of test cases that are derived from how your code is actually run.