milvus/tests/milvus_benchmark
2019-12-04 14:18:20 +08:00
..
conf Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
suites Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
__init__.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
.gitignore #18 Add all test cases 2019-10-16 18:40:31 +08:00
client.py Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
demo.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
docker_runner.py Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
local_runner.py Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
main.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
operation.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
parser.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
README.md Update README.md #27 2019-10-17 16:55:46 +08:00
report.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
requirements.txt Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
runner.py Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
suites_accuracy.yaml #18 Add all test cases 2019-10-16 18:40:31 +08:00
suites_performance.yaml #18 Add all test cases 2019-10-16 18:40:31 +08:00
suites_stability.yaml #18 Add all test cases 2019-10-16 18:40:31 +08:00
suites_yzb.yaml #18 Add all test cases 2019-10-16 18:40:31 +08:00
suites.yaml #18 Add all test cases 2019-10-16 18:40:31 +08:00
utils.py Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00

Requirements

  • python 3.6+
  • pip install -r requirements.txt

How to use this Test Project

This project is used to test performance / accuracy / stability of milvus server

  1. update your test configuration in suites_*.yaml
  2. run command
### docker mode:
python main.py --image=milvusdb/milvus:latest --run-count=2 --run-type=performance

### local mode:
python main.py --local --run-count=2 --run-type=performance --ip=127.0.0.1 --port=19530

Contribution getting started

  • Follow PEP-8 for naming and black for formatting.