perf: standardize gh-7089-vclock-copy benchmark
The output now contains items per second without the mean time in seconds. The number of iterations is reduced to 40 to avoid running the test too long. The `wal_mode` option (default is "none") is set via command line flags, as far as the number of nodes (default is 10). Also, the master nodes are set up via the `popen()` command without using any Makefile. Also, two new options are introduced: * The `--output` option allows you to specify the output file. * The `--output_format` option means the format for the printed output. The default is "console". It prints items proceeded per second to the stdout. The "json" format contains all the information about the benchmark in a format similar to Google Benchmark's. Usually, these options should be used together to dump machine-readable results for the benchmarks. NO_DOC=perf test NO_CHANGELOG=perf test NO_TEST=perf test
Showing
- perf/gh-7089-vclock-copy/Makefile 0 additions, 23 deletionsperf/gh-7089-vclock-copy/Makefile
- perf/gh-7089-vclock-copy/Readme.md 0 additions, 3 deletionsperf/gh-7089-vclock-copy/Readme.md
- perf/gh-7089-vclock-copy/speedtest.lua 0 additions, 88 deletionsperf/gh-7089-vclock-copy/speedtest.lua
- perf/gh-7089-vclock-copy/swarm.lua 0 additions, 38 deletionsperf/gh-7089-vclock-copy/swarm.lua
- perf/lua/CMakeLists.txt 1 addition, 0 deletionsperf/lua/CMakeLists.txt
- perf/lua/gh-7089-vclock-copy.lua 200 additions, 0 deletionsperf/lua/gh-7089-vclock-copy.lua
perf/gh-7089-vclock-copy/Makefile
deleted
100644 → 0
perf/gh-7089-vclock-copy/Readme.md
deleted
100644 → 0
perf/gh-7089-vclock-copy/swarm.lua
deleted
100755 → 0
perf/lua/gh-7089-vclock-copy.lua
0 → 100644
Please register or sign in to comment