Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

⚡️ build optimization for speed #809

Merged
merged 3 commits into from
Jul 4, 2023

Conversation

AbdelStark
Copy link
Contributor

@AbdelStark AbdelStark commented Jul 4, 2023

Try some optimizations in Cargo.toml:

[profile.release]
panic = "unwind"

[profile.production]
inherits = "release"
codegen-units = 1 # Setting this to 1 allows for more optimizations at the cost of slower compile time
lto = true # Enables Link Time Optimization, enabling more aggressive optimizations across the entire codebase
opt-level = 3 # Optimize for speed regardless of binary size or compile time
rpath = false # Disables adding rpath to the binary

@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (df0edd9) 42.30% compared to head (e7714c3) 42.30%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #809   +/-   ##
=======================================
  Coverage   42.30%   42.30%           
=======================================
  Files          85       85           
  Lines       10483    10483           
  Branches    10483    10483           
=======================================
  Hits         4435     4435           
  Misses       5490     5490           
  Partials      558      558           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@AbdelStark AbdelStark enabled auto-merge (squash) July 4, 2023 11:47
@AbdelStark AbdelStark disabled auto-merge July 4, 2023 11:47
@AbdelStark AbdelStark merged commit b994040 into keep-starknet-strange:main Jul 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant