Skip to content

Commit 339a758

Browse files
committed
Turn compilation improvement mechanisms into a matrix question
1 parent 6ca38c5 commit 339a758

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

surveys/micro/2025-06-compiler-performance.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ Familiarity:
181181

182182
### Have you used any of the following mechanisms to improve compilation performance?
183183

184-
Please select only mechanisms/workarounds that you have used at least once **primarily** in order to improve compilation performance, not for other reasons.
184+
Note that answers are optional, if you do not fill an answer for a specific row, we will assume it to mean that you haven't used that mechanism.
185185

186-
Type: select all that apply (optional)
186+
Type: matrix (optional)
187+
188+
Mechanisms:
187189

188190
- Disable (or reduce) debuginfo (e.g. set *debug = 0* in Cargo.toml)
189191
- Parallel compiler frontend (pass *-Zthreads=<N>* to the compiler)
@@ -198,7 +200,13 @@ Type: select all that apply (optional)
198200
- Reduce usage of procedural macros
199201
- Reduce usage of generic code (e.g. by converting it to *dyn Trait* instead)
200202
- Merge integration tests into a single binary
201-
- Something else (open response)
203+
204+
Results:
205+
206+
- It helps me improve compile times
207+
- I tried it, but it didn't help
208+
- I know of it, but haven't tried it
209+
- Never heard of it
202210

203211
### If you use an alternative linker, which one do you use?
204212

@@ -223,6 +231,10 @@ Type: select one (optional)
223231

224232
Type: free form (optional)
225233

234+
### Is there some other mechanism for improving compilation performance that you use?
235+
236+
Type: free form (optional)
237+
226238
## Debugging and profiling
227239

228240
### How often do you use a debugger to debug your Rust code?

0 commit comments

Comments
 (0)