Skip to content
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

Fix java min benchmarking. #105

Conversation

Yury-Fridlyand
Copy link

@Yury-Fridlyand Yury-Fridlyand commented Feb 21, 2024

As discussed in valkey-io#969, java CI should run minimal benchmark on every PR.
Features:

$ ./gradlew :benchmarks:run --args="--help"

> Task :client:buildRustRelease
    Finished release [optimized + debuginfo] target(s) in 5.01s

> Task :benchmarks:run
usage: glide
    --clientCount <arg>       Number of clients to run [1]
    --clients <arg>           one of: all|jedis|lettuce|glide
    --clusterModeEnabled      Is cluster-mode enabled, other standalone
                              mode is used [false]
    --concurrentTasks <arg>   Number of concurrent tasks [100, 1000]
    --configuration <arg>     Configuration flag [Release]
    --dataSize <arg>          Data block size [100 4000]
    --debugLogging            Verbose logs [false]
 -h,--help                    Print this message
    --host <arg>              Hostname [localhost]
    --minimal                 Run benchmark in minimal mode
    --port <arg>              Port number [6379]
    --resultsFile <arg>       Result filepath (stdout if empty) []
    --tls                     TLS [false]

Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Copy link

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why python/node jobs are failing?

Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand
Copy link
Author

They are failing on our repo only. We need to investigate this.
Thank you for reminding about readme. Updated in 7103d59.

Signed-off-by: Yury-Fridlyand <[email protected]>
@@ -66,36 +66,66 @@ private static Options getOptions() {
// create the Options
Options options = new Options();

options.addOption(Option.builder("help").desc("print this message").build());
options.addOption(Option.builder("h").longOpt("help").desc("Print this message").build());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we going to update this message later? Or is it meant to just be a dummy message? If we want to update this later, let's make sure that it doesn't fall through the cracks.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A dummy message

Copy link

@jonathanl-bq jonathanl-bq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left one comment, but otherwise seems fine to me

@Yury-Fridlyand Yury-Fridlyand merged commit 6c66608 into java/integ_yuryf_minimal_benchmark Feb 27, 2024
18 of 20 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the java/dev_yuryf_minimal_benchmark branch February 27, 2024 01:59
Yury-Fridlyand added a commit that referenced this pull request Feb 29, 2024
* Fix java min benchmarking.

---------

Signed-off-by: Yury-Fridlyand <[email protected]>
cyip10 pushed a commit that referenced this pull request Jun 24, 2024
* Fix java min benchmarking.

---------

Signed-off-by: Yury-Fridlyand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants