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

adding support, to change the value size, change the payload size of the sample value #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/main/java/org/yardstickframework/BenchmarkConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public class BenchmarkConfiguration implements Serializable {
@Parameter(names = {"-sn", "--serverName"}, description = "Benchmark server name (required)")
private String serverName;

/** */
@Parameter(names = {"-vs", "--valueSize"}, description = "set the size of the byte[] in the sample value object")
private int valueSize = 1;


/** */
@Parameter(names = {"-id", "--memberId"}, description = "Memebr ID")
private int memberId = -1;
Expand Down Expand Up @@ -153,6 +158,12 @@ public String serverName() {
return serverName;
}

/**
* @return Benchmark server name.
*/
public int valueSize() {return valueSize; }


/**
* @return Benchmark driver names.
*/
Expand Down