From 0eadf0edc1fa6cb2c924b75ecc3f055d66f92498 Mon Sep 17 00:00:00 2001 From: Saurabh Misra Date: Mon, 21 Jul 2025 20:50:29 -0700 Subject: [PATCH] doc add Signed-off-by: Saurabh Misra --- docs/docs/optimizing-with-codeflash/trace-and-optimize.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/optimizing-with-codeflash/trace-and-optimize.md b/docs/docs/optimizing-with-codeflash/trace-and-optimize.md index c5ca213fb..57701db27 100644 --- a/docs/docs/optimizing-with-codeflash/trace-and-optimize.md +++ b/docs/docs/optimizing-with-codeflash/trace-and-optimize.md @@ -17,7 +17,9 @@ To optimize code called by pytest tests that you could normally run like `python codeflash optimize -m pytest tests/ ``` -This powerful command creates high-quality optimizations, making it ideal when you need to optimize a workflow or script. The initial tracing process can be slow, so try to limit your script's runtime to under 1 minute for best results. If your workflow is longer, consider tracing it into smaller sections by using the Codeflash tracer as a context manager (point 3 below). +This powerful command creates high-quality optimizations, making it ideal when you need to optimize a workflow or script. The initial tracing process can be slow, so try to limit your script's runtime to under 1 minute for best results. If your workflow is longer, consider tracing it into smaller sections by using the Codeflash tracer as a context manager (point 3 below). + +The generated replay tests and the trace file are for the immediate optimization use, don't add them to git. ## What is the codeflash optimize command?