milvus/tests/milvus_benchmark
del-zhenwu a5beec86f2 Change lang cn to en in reademe (#971)
* Update framework

* remove files

* Remove files

* Remove ann-acc cases && Update java-sdk cases

* change cn to en

* [skip ci] remove doc test

* [skip ci] change cn to en
2020-01-13 13:56:15 +08:00
..
assets Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
ci Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
conf Upgrade pyyaml and update tests (#681) 2019-12-04 14:18:20 +08:00
scripts Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
suites Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +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 Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
docker_runner.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
k8s_runner.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
local_runner.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
main.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
operation.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
parser.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
README.md Change lang cn to en in reademe (#971) 2020-01-13 13:56:15 +08:00
report.py #18 Add all test cases 2019-10-16 18:40:31 +08:00
requirements.txt Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
runner.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00
utils.py Enhance testing framework based on kubernetes (#935) 2020-01-07 16:20:37 +08:00

Quick start

Description

  • Test cases can be organized with yaml
  • Test can run with local mode or helm mode

Demos

  1. Using jenkins + helm mode

  2. Local test

    python3 main.py --local --host=*.* --port=19530 --suite=suites/gpu_search_performance_random50m.yaml

Definitions of test suites

Testers need to write test suite config if adding a customizised test into the current test framework

The following are the searching performance test suite

  1. search_performance: the test typealso we havebuild_performance,insert_performance,accuracy,stability,search_stability
  2. tables: list of test cases
  3. The following fields are in the table field
    • server: milvus的server_config
    • table_name: currently support one table
    • run_count: search count
    • search_params: params of search_vectors

Test result

The result of searching performance

Test result will be uploaded, and will be used to judge if the test run pass or failed