Skip to content

Add argparse support for knnPerfTest.py #387

@vigyasharma

Description

@vigyasharma

src/python/knnPerfTest.py is the main python driver for knn benchmarks. The script allows multiple different benchmark configurations like number of documents and queries to run, quantization level, and type of benchmark (regular / parent join).

These options are hard coded in the script today, and must be changed manually for each run. This adds friction for new developers, and makes it harder to invoke benchmarks with different values as part of another shell script. Can we use python's awesome argparse framework to convert this into an easy to use python CLI command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions