Skip to content

Commit 8a9753f

Browse files
committed
Add final changes
1 parent 04d1eff commit 8a9753f

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ Familiarity:
220220

221221
## Workarounds
222222

223+
Here we would like to find out what workarounds you use to improve compilation performance.
224+
223225
### Have you used any of the following mechanisms to improve compilation performance?
224226

225227
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.
@@ -237,7 +239,7 @@ Mechanisms:
237239
- Split crates into smaller crates
238240
- Reduce the amount of dependencies
239241
- Disable default Cargo features of dependencies
240-
- Create a Cargo feature to opt into building certain dependencies (or their features)
242+
- Create a Cargo feature to make certain dependencies (or their features) opt-in
241243
- Reduce usage of procedural macros
242244
- Reduce usage of generic code (e.g. by converting it to *dyn Trait* instead)
243245
- Merge integration tests into a single binary
@@ -278,6 +280,8 @@ Type: free form (optional)
278280

279281
## Debugging and profiling
280282

283+
Here we would like to find out if you use debuginfo in Rust programs.
284+
281285
### How often do you use a debugger to debug your Rust code?
282286

283287
Type: select one (optional)
@@ -298,20 +302,21 @@ Type: select one (optional)
298302

299303
### Do you require unoptimized builds to have debuginfo by default?
300304

301-
*cargo build* with the default *dev* profile produces full debug information (debuginfo) by default. This enables debugging using a debugger, but it can also make compilation times slower (by varying amounts, e.g. 30%). In order to improve compilation performance, this debuginfo could be lowered e.g. to *line-tables-only* by default, which still enables rich backtrace information, but does not allow proper debugging.
305+
*cargo build* with the default *dev* profile produces full debug information (debuginfo) by default, including full debuginfo for all your dependencies. This enables debugging using a debugger, but it can also make compilation times slower (by varying amounts, e.g. 5-30%). In order to improve compilation performance, this debuginfo could be lowered e.g. to *line-tables-only* by default, which still enables rich backtrace information, but does not allow proper debugging.
302306

303307
Type: select one (optional)
304308

305309
- Yes, I want full debuginfo by default
306-
- No, I would prefer faster compilation with less debuginfo by default
310+
- Yes, but I do not need full debuginfo for my dependencies, just for my code
311+
- No, I would prefer slightly faster compilation with less debuginfo by default
307312

308313
## Hardware
309314

310315
Here we would like to get basic hardware information about the computer/server that you most often use to compile your Rust code. If you compile your code using a remote server, please enter the specs of that server.
311316

312317
### How many cores does your computer have?
313318

314-
Please count physical CPU cores, not including hyperthreads. If you do not know what are hyperthreads, just enter a number of cores that you think your computer has.
319+
Please enter the number of "hardware threads" (including hyperthreads). If you do not know what are hyperthreads, just enter a number of cores that you think your computer has.
315320

316321
Type: select one (optional)
317322

@@ -334,6 +339,10 @@ Type: select one (optional)
334339
- 33-64 GiB
335340
- More than 64 GiB
336341

342+
### Overall, how satisfied are you with Rust compilation performance?
343+
344+
Type: rating scale (optional)
345+
337346
### Is there anything else related to Rust compiler performance that you would like to tell us?
338347

339348
Type: free form (optional)

0 commit comments

Comments
 (0)