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

test: add pika benchmark tools #2663

Merged
merged 19 commits into from
May 29, 2024
Prev Previous commit
Next Next commit
reformat readme
  • Loading branch information
liuyuecai committed May 21, 2024
commit 77ee9b2e4af521499d9805d3e790c87900223f5e
2 changes: 2 additions & 0 deletions tools/pika_benchmark/README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sh pika_benchmark.sh -host 127.0.0.1 -port 9221
-threads <threads> Number of threads, default: 4
-dataSize <dataSize> Data size, default: 32
```

3、压测完成后,对压测数据进行解析和格式化。首先执行 go build 编译转换程序:
```shell
go build parser.go
Expand All @@ -25,6 +26,7 @@ mkdir -p parsed_data

./parser -in_dir=$(pwd)/bench_data -out_dir=$(pwd)/parsed_data
```

4、使用 python 脚本将数据生成统计图图片:
```shell
sh gen_chart.sh
Expand Down
Loading