[tor-bugs] #25269 [Core Tor/Tor]: Set codegen-units to 1 in src/rust/Cargo.toml to eke out every last drop of performance

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 11 18:57:02 UTC 2018


#25269: Set codegen-units to 1 in src/rust/Cargo.toml to eke out every last drop of
performance
-------------------------------------------------+-------------------------
 Reporter:  cypherpunks                          |          Owner:
                                                 |  Backxwash
     Type:  enhancement                          |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, easy, 034-triage-20180328,     |  Actual Points:
  034-removed-20180328, fast-fix                 |
Parent ID:                                       |         Points:  .1
 Reviewer:  nickm                                |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by nickm):

 * status:  assigned => needs_information


Comment:

 Hm. How badly does this affect build performance and how much does it help
 binary performance?  If the binary savings aren't significant, I say we
 shouldn't worry about this.  If the build cost is huge, we should probably
 stick it behind a configure option.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25269#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list