Skip to content

Commit 9b2aa3c

Browse files
Merge pull request #986 from codeflash-ai/doc-update-replay
docs: add image and language update
2 parents a959cd5 + 39780d0 commit 9b2aa3c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/images/priority-order.png

279 KB
Loading

docs/optimizing-with-codeflash/trace-and-optimize.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ sidebarTitle: "Optimize E2E Workflows"
66
keywords: ["tracing", "workflow optimization", "replay tests", "end-to-end", "script optimization", "context manager"]
77
---
88

9-
Codeflash supports optimizing an entire Python script end-to-end by tracing the script's execution and generating Replay Tests.
9+
Codeflash can optimize an entire Python script end-to-end by tracing the script's execution and generating Replay Tests.
1010
Tracing follows the execution of a script, profiles it and captures inputs to all functions it called, allowing them to be replayed during optimization.
11-
Codeflash uses these Replay Tests to optimize all functions called in the script, starting from the most important ones.
11+
Codeflash uses these Replay Tests to optimize the most important functions called in the script, delivering the best performance for your workflow.
12+
13+
![Function Optimization](/images/priority-order.png)
1214

1315
To optimize a script, `python myscript.py`, simply replace `python` with `codeflash optimize` and run the following command:
1416

0 commit comments

Comments
 (0)