You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent changes introduced in PR #2879 modified the Java build process, making it only possible to build with the --release option. This build process now takes 3-4 minutes, which is unnecessary for testing purposes.
Suggested Fix
Reintroduce two separate build options:
all - for testing purposes.
allRelease - for optimized builds.
Expected Behavior
The build time should be reduced by at least half or more, especially for testing purposes, to improve efficiency and productivity.
Current Behavior
The build process takes excessive time and always runs in release mode, which is unnecessary for testing purposes.
Possible Solution
Review the changes introduced in PR #2879 to understand the build process modification.
Extract the two build options (All and AllRelease) from the original implementation to allow faster builds for testing purposes.
Update the developer.md file with clear instructions on how to use the two build options:
all: For testing purposes (faster builds).
allRelease: For optimized builds.
Client version used
java current
Engine type and version
Valkey 8.0
OS
ubuntu
Language
Java
Language Version
openjdk 11.0.25
The text was updated successfully, but these errors were encountered:
95% of time of java client compilation = rust code compilation
Debug configuration isn't significantly faster than release. The delta is lower than measurement precision.
If you want to get builds faster in CI - use caches (#771)
@Yury-Fridlyand I agree, as you know, what blocked us from caching until now?
I see a challenge with cases where we need to rebuild on rust changes of proto. But I'm sure we can easily solve that.
Something else?
Why didn't it enter into 1.3 CD improvements? Let at least push it into 1.4.
Describe the bug
The recent changes introduced in PR #2879 modified the Java build process, making it only possible to build with the --release option. This build process now takes 3-4 minutes, which is unnecessary for testing purposes.
Suggested Fix
Reintroduce two separate build options:
all
- for testing purposes.allRelease
- for optimized builds.Expected Behavior
The build time should be reduced by at least half or more, especially for testing purposes, to improve efficiency and productivity.
Current Behavior
The build process takes excessive time and always runs in release mode, which is unnecessary for testing purposes.
Possible Solution
All
andAllRelease
) from the original implementation to allow faster builds for testing purposes.developer.md
file with clear instructions on how to use the two build options:all
: For testing purposes (faster builds).allRelease
: For optimized builds.Client version used
java current
Engine type and version
Valkey 8.0
OS
ubuntu
Language
Java
Language Version
openjdk 11.0.25
The text was updated successfully, but these errors were encountered: