-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce the binary size of ceresdb-server #294
Comments
Don't expect it's already exceed 1G. but after
|
#322 reduce binary size to 500M, but at the cost of long build, we can introduce more profiles to balance size and speed. IOx have a |
So the
link unit and lto are not only the size reducing options. They may also have influence on performance. Maybe open them on every formal release is a better choice. (or |
It's true. Debug information is necessary for us to troubleshoot in prod env. In #322, what matters most to reduce binary size is actually the option: |
|
Describe this problem
Now the compiled ceresdb-server's size has reached up to 1.3GB, which is unbelievable.
Steps to reproduce
Just compile the ceresdb-server and check its size.
Expected behavior
The binary size should not be so large.
Additional Information
The way to reduce the binary size that I can come up with now is to remove the unused dependencies, including:
protos
crate so to remove grpcio dependencies;The text was updated successfully, but these errors were encountered: