Repository navigation
[DO NOT MERGE] benchmark leaking the Compiler struct - #165610
lolbinarycat wants to merge 1 commit into
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
[DO NOT MERGE] benchmark leaking the Compiler struct
|
💔 Test for 6831d44 failed: CI. Failed jobs:
|
17e08c4 to
5ffbd6d
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
[DO NOT MERGE] benchmark leaking the Compiler struct
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (01d9fb4): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary -3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 483.511s -> 484.119s (0.13%) |
|
it seems like this makes a significant difference for very small crates, which could make a difference for large projects with many small dependancies... would it be worth it to implement this properly? |
according to the detailed results it takes 0.000 seconds to drop the Compiler struct, but there's a lil bit of finagling with the profiler (since that's normally stored IN the compiler struct), so i'm just going to do a perf run to make sure that's accurate, since theoretically it should be faster to let the OS clean up this memory instead of manually returning it to a heap that will stop existing soon.