-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] Kick off CI benchmarks automation. Included BF.ADD benchmark (#321
- Loading branch information
1 parent
3387949
commit eb81a88
Showing
10 changed files
with
152 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ deps/infer | |
deps/infer* | ||
infer-out/ | ||
.idea | ||
tests/benchmarks/profile_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule readies
updated
48 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.json | ||
*.txt | ||
*.csv | ||
datasets/*.rdb | ||
*.rdb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Context | ||
|
||
The automated benchmark definitions included within `tests/benchmarks` folder, provides a framework for evaluating and comparing feature branches and catching regressions prior to letting them into the master branch. | ||
|
||
To be able to run local benchmarks you need `redisbench_admin>=0.1.71` [[tool repo for full details](https://github.com/RedisLabsModules/redisbench-admin)] and the benchmark tool specified on each configuration file . You can install redisbench-admin via PyPi as any other package. | ||
``` | ||
pip3 install redisbench_admin>=0.1.71 | ||
``` | ||
|
||
## Usage | ||
|
||
- Local benchmarks: `make benchmark` | ||
- Remote benchmarks: `make benchmark REMOTE=1` | ||
|
||
|
||
## Included benchmarks | ||
|
||
Each benchmark requires a benchmark definition yaml file to present on the current directory. The benchmark spec file is fully explained on the following link: https://github.com/RedisLabsModules/redisbench-admin/tree/master/docs | ||
|
||
|
||
## CI integration | ||
|
||
CI benchmarks are triggered on: | ||
- nightly | ||
- pushes to branches named `master` | ||
- version tags |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 0.2 | ||
name: "bf_add_cap10M_err0.001" | ||
description: "Benchmarking adding an item to the Bloom Filter, | ||
with an desired false positive rate of 0.1%, and | ||
an initial capacity of 10M items" | ||
remote: | ||
- type: oss-standalone | ||
- setup: redisbloom-m5 | ||
dbconfig: | ||
- init_commands: | ||
- 'BF.RESERVE largebloom 0.001 10000000' | ||
clientconfig: | ||
- tool: redis-benchmark | ||
- min-tool-version: "6.2.0" | ||
- parameters: | ||
- clients: 16 | ||
- requests: 10000000 | ||
- threads: 2 | ||
- pipeline: 1 | ||
- keyspacelen: 10000000 | ||
- command: 'bf.add largebloom __rand_int__' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 0.1 | ||
exporter: | ||
redistimeseries: | ||
timemetric: "$.StartTime" | ||
metrics: | ||
- "$.Totals.overallQuantiles.all_queries.q0" | ||
- "$.Totals.overallQuantiles.all_queries.q50" | ||
- "$.Totals.overallQuantiles.all_queries.q95" | ||
- "$.Totals.overallQuantiles.all_queries.q99" | ||
- "$.Totals.overallQuantiles.all_queries.q100" | ||
- "$.Totals.overallQueryRates.all_queries" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
redisbench_admin>=0.2.8 |