Commit 83d2041
authored
Fix: unify --rounds flag and disable profiling when rounds > 1 (#574)
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.1 parent 8be358b commit 83d2041
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 | | |
| |||
960 | 966 | | |
961 | 967 | | |
962 | 968 | | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
963 | 973 | | |
964 | 974 | | |
965 | 975 | | |
| |||
0 commit comments