You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/pika_benchmark/README_ZH.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
This tool provides stress testing commands for commonly used indicators, and supports one-click generation of visual statistical charts in SVG format from stress testing results to improve stress testing efficiency. The usage steps are as follows:
2
2
3
-
1、First of all, the stress testing tool uses Redis’ official memtier_benchmark, so you must choose to install this tool. For the installation process, please refer to the official documentation: [https://github.com/RedisLabs/memtier_benchmark](https://github.com/RedisLabs/memtier_benchmark).
3
+
1.First of all, the stress testing tool uses Redis’ official memtier_benchmark, so you must choose to install this tool. For the installation process, please refer to the official documentation: [https://github.com/RedisLabs/memtier_benchmark](https://github.com/RedisLabs/memtier_benchmark).
4
4
5
-
2、Next, start a Pika process, and then execute the stress test script to perform the stress test:
5
+
2.Next, start a Pika process, and then execute the stress test script to perform the stress test:
6
6
7
7
```shell
8
8
sh pika_benchmark.sh -host 127.0.0.1 -port 9221
@@ -17,7 +17,7 @@ Currently the following test parameters are supported:
17
17
-dataSize <dataSize> Data size, default: 32
18
18
```
19
19
20
-
3、After the stress test is completed, parse and format the stress test data. First execute go build to compile and convert the program:
20
+
3.After the stress test is completed, parse and format the stress test data. First execute go build to compile and convert the program:
4、Use a python script to generate a statistical chart image from the data:
32
+
4.Use a python script to generate a statistical chart image from the data:
33
33
```shell
34
34
sh gen_chart.sh
35
35
```
36
36
37
37
After the execution is completed, four svg files will be produced in the ./charts directory. You can directly open them with a browser to see the effect.
38
38
39
-
5、Currently, the following four pressure measurement charts can be automatically generated:
39
+
5.Currently, the following four pressure measurement charts can be automatically generated:
40
40
41
41
5.1 Percentile delay statistics chart of commonly used commands:
0 commit comments