[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
Fri Feb 16 15:19:27 UTC 2018


#25269: Set codegen-units to 1 in src/rust/Cargo.toml to eke out every last drop of
performance
--------------------------+------------------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  rust, easy    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by cypherpunks):

 Replying to [comment:2 nickm]:
 > Will this break with older versions of rust?
 `codegen-units` apparently exists since 2014 https://internals.rust-
 lang.org/t/default-settings-for-parallel-codegen/519

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


More information about the tor-bugs mailing list