2019-10-17 08:55:46 +00:00
|
|
|
# Requirements
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
- python 3.6+
|
|
|
|
- pip install -r requirements.txt
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
# How to use this Test Project
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
This project is used to test performance / accuracy / stability of milvus server
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
1. update your test configuration in suites_*.yaml
|
|
|
|
2. run command
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
```shell
|
|
|
|
### docker mode:
|
|
|
|
python main.py --image=milvusdb/milvus:latest --run-count=2 --run-type=performance
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
### local mode:
|
|
|
|
python main.py --local --run-count=2 --run-type=performance --ip=127.0.0.1 --port=19530
|
|
|
|
```
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
# Contribution getting started
|
2019-10-16 10:40:31 +00:00
|
|
|
|
2019-10-17 08:55:46 +00:00
|
|
|
- Follow PEP-8 for naming and black for formatting.
|