Commit e9d4a97
Fix: unify --rounds flag and disable profiling when rounds > 1
Remove -n short form for --rounds in run_example.py and scene_test.py
standalone entry to match pytest's conftest.py (which only defines --rounds).
Automatically disable --enable-profiling when --rounds > 1 with a
logger.warning, since profiling only captures the first round and
multi-round mode is for benchmarking.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3eae046 commit e9d4a97
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
| |||
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
874 | 877 | | |
875 | 878 | | |
876 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
877 | 883 | | |
878 | 884 | | |
879 | 885 | | |
| |||
946 | 952 | | |
947 | 953 | | |
948 | 954 | | |
949 | | - | |
| 955 | + | |
950 | 956 | | |
951 | 957 | | |
952 | 958 | | |
| |||
958 | 964 | | |
959 | 965 | | |
960 | 966 | | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
961 | 971 | | |
962 | 972 | | |
963 | 973 | | |
| |||
0 commit comments