Skip to content

add support for multiple arbitrary commands - #72

Merged
yaacovhazan-Redislabs merged 2 commits into
redis:masterfrom
YaacovHazan:multiple_arbitrary_command
Apr 29, 2019
Merged

yaacovhazan-Redislabs merged 2 commits into
redis:masterfrom
YaacovHazan:multiple_arbitrary_command

Conversation

@YaacovHazan

Copy link
Copy Markdown
Collaborator

this commit expand the ability of running arbitrary command
to enable runing multiple arbitrary commands by
adding the --command option for each command.

this commit expand the ability of running arbitrary command
to enable runing multiple arbitrary commands by
adding the --command option for each command.
@YaacovHazan
YaacovHazan force-pushed the multiple_arbitrary_command branch from c56d3f0 to 0eaf608 Compare April 15, 2019 10:40
Comment thread memtier_benchmark.cpp Outdated

static bool verify_arbitrary_command_option(struct benchmark_config *cfg) {
if (cfg->key_pattern) {
fprintf(stderr, "error: when using arbitrary command, key pattern doesn't configured via key-pattern option.\n");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo: isn't.
also: maybe hint to the correct option to use?

Comment thread memtier_benchmark.cpp Outdated
fprintf(stderr, "error: when using arbitrary command, key pattern doesn't configured via key-pattern option.\n");
return false;
} else if (cfg->ratio.is_defined()) {
fprintf(stderr, "error: when using arbitrary command, ratio doesn't configured via ratio option.\n");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same as above.

cr fixes + adding command line usage
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