Commit 6bfc83e
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 has --rounds).
Automatically disable --enable-profiling when --rounds > 1 with a 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 6bfc83e
2 files changed
Lines changed: 16 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 | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
877 | 882 | | |
878 | 883 | | |
879 | 884 | | |
| |||
946 | 951 | | |
947 | 952 | | |
948 | 953 | | |
949 | | - | |
| 954 | + | |
950 | 955 | | |
951 | 956 | | |
952 | 957 | | |
| |||
958 | 963 | | |
959 | 964 | | |
960 | 965 | | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
961 | 972 | | |
962 | 973 | | |
963 | 974 | | |
| |||
0 commit comments