Skip to content

Set opt-level on workspace levelΒ #3835

@sergey-shandar

Description

@sergey-shandar

Opt level 1 has pretty small impacts on compile times but pretty big impacts on test execution. This and the setting below it shaved like 25%-30% of the execution time off of unit tests when it was added to the toml file. Build times, on the other hand, are generally pretty quick if you don't need to rebuild dependencies (as would be the case for local development) and can take advantage of caching on github actions. Not to mention that build times for local developers should also improve dramatically as more pieces get refactored into other workspace members so that you need to rebuild less of the project to test any changes.

IMHO, we should do all optimization it on workspace level.

Originally posted by @sergey-shandar in #3814 (comment)

Metadata

Metadata

Labels

Type

No type

Projects

Status

Status: βœ… Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions