Skip to content

Commit 9b1be30

Browse files
authored
Merge branch 'main' into deferred-imports
2 parents 22a99ce + f80a076 commit 9b1be30

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/docs/codeflash-concepts/how-codeflash-works.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ Codeflash verifies these specific behaviors to be correct -
3838

3939
Additionally, Codeflash checks for sufficient line coverage of the optimized code, increasing confidence in the testing process.
4040

41-
Codeflash also evaluates that there is sufficient line coverage of the code under optimization. This provides more confidence with testing.
42-
43-
We recommend manually reviewing the optimized code, since there might be important input cases that we haven’t verified where the behavior could differ.
41+
We recommend manually reviewing the optimized code since there might be important input cases that we haven’t verified where the behavior could differ.
4442

4543
#### Test Generation
4644

@@ -55,7 +53,7 @@ Codeflash runs tests for the target function using either pytest or unittest fra
5553

5654
#### Performance benchmarking
5755

58-
Codeflash implements several techniques to measure code performance accurately. In particular, it runs multiple iterations of the code in a loop to determine the best performance with the minimum runtime. Codeflash compares performance of the original code against the optimization, requiring at least a 10% speed improvement before considering it faster. This approach eliminates most runtime measurement variability, even on noisy CI systems and virtual machines. The final runtime Codeflash reports is the minimum total time it took to run all the test cases.
56+
Codeflash implements [several techniques](/codeflash-concepts/benchmarking.md) to measure code performance accurately. In particular, it runs multiple iterations of the code in a loop to determine the best performance with the minimum runtime. Codeflash compares the performance of the original code against the optimization, requiring at least a 10% speed improvement before considering it to be faster. This approach eliminates most runtime measurement variability, even on noisy CI systems and virtual machines. The final runtime Codeflash reports is the minimum total time it took to run all the test cases.
5957

6058
## Creating Pull Requests
6159

0 commit comments

Comments
 (0)