You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: surveys/micro/2025-06-compiler-performance.md
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -181,9 +181,11 @@ Familiarity:
181
181
182
182
### Have you used any of the following mechanisms to improve compilation performance?
183
183
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.
185
185
186
-
Type: select all that apply (optional)
186
+
Type: matrix (optional)
187
+
188
+
Mechanisms:
187
189
188
190
- Disable (or reduce) debuginfo (e.g. set *debug = 0* in Cargo.toml)
189
191
- Parallel compiler frontend (pass *-Zthreads=<N>* to the compiler)
@@ -198,7 +200,13 @@ Type: select all that apply (optional)
198
200
- Reduce usage of procedural macros
199
201
- Reduce usage of generic code (e.g. by converting it to *dyn Trait* instead)
200
202
- 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
202
210
203
211
### If you use an alternative linker, which one do you use?
204
212
@@ -223,6 +231,10 @@ Type: select one (optional)
223
231
224
232
Type: free form (optional)
225
233
234
+
### Is there some other mechanism for improving compilation performance that you use?
235
+
236
+
Type: free form (optional)
237
+
226
238
## Debugging and profiling
227
239
228
240
### How often do you use a debugger to debug your Rust code?
0 commit comments