David Brown | 6d56cd8 | 2021-08-19 11:06:57 -0600 | [diff] [blame] | 1 | [workspace] |
2 | members = ["sim"] | ||||
3 | exclude = ["ptest"] | ||||
4 | |||||
5 | # The simulator runs very slowly without optimization. A value of 1 | ||||
6 | # compiles in about half the time, but runs about 5-6 times slower. 2 | ||||
7 | # and 3 are hardly different in either compile time or performance. | ||||
8 | # Use 2 in case that makes the code slightly more debuggable. | ||||
9 | [profile.test] | ||||
10 | opt-level = 2 | ||||
11 | |||||
12 | [profile.dev] | ||||
13 | opt-level = 2 |