diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/redis-benchmark.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index c5dd187b8..0d10e8d3f 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -2030,6 +2030,12 @@ int main(int argc, char **argv) { sdsfree(key_placeholder); } + if (test_is_selected("xadd")) { + len = redisFormatCommand(&cmd,"XADD mystream%s * myfield %s", tag, data); + benchmark("XADD",cmd,len); + free(cmd); + } + if (!config.csv) printf("\n"); } while(config.loop); |