milvus/tests/milvus_benchmark
zhenwu dbd98c267a Update README.md #27
Former-commit-id: a230ef1235fadff6f6403fdc95dbf93fa1b0be3a
2019-10-17 16:55:46 +08:00
..
conf #18 Add all test cases 2019-10-16 18:40:31 +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 #18 Add all test cases 2019-10-16 18:40:31 +08:00
demo.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
docker_runner.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
local_runner.py #18 Add all test cases 2019-10-16 18:40:31 +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 #18 Add all test cases 2019-10-16 18:40:31 +08:00
runner.py #18 Add all test cases 2019-10-16 18:40:31 +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 #18 Add all test cases 2019-10-16 18:40:31 +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.