zilliztech / VectorDBBench

A Benchmark Tool for VectorDB
MIT License
458 stars 108 forks source link

Ability to Edit Concurrency as well as Time Duration for Tests #271

Closed anrahman4 closed 5 months ago

anrahman4 commented 5 months ago

Want to be able to adjust the default time of each concurrent process run from 30 seconds to anytime, as well as statically set the amount of concurrent processes that will run at one time.

Is this possible by adjusting the files? Or is the init_bench binary precompiled already if installed via pip?

anrahman4 commented 5 months ago

Nevermind, this can be edited.

For others curious, to edit the concurrency, edit the NUM_CONCURRENCY variable in the following file /home//.local/lib/python3.11/site-packages/vectordbbench/__init.py_\

To edit seconds the test is run for, edit the duration variable in the init function. /home/labuser/.local/lib/python3.11/site-packages/vectordb_bench/backend/runner/mp_runner.py

alwayslove2013 commented 5 months ago

@anrahman4 Nice sharing~ We will support more flexible configuration settings in the future!