Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for overridding the number of records in the workload #183

Open
daverigby opened this issue Jul 12, 2024 · 0 comments
Open

Add support for overridding the number of records in the workload #183

daverigby opened this issue Jul 12, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@daverigby
Copy link
Collaborator

daverigby commented Jul 12, 2024

To allow users to simulate workloads which are similar to existing (but not necessarily identical), it would be valuable to be able to override the number of records which will be populated on the command - say via a --records=N option.

This should be passed to the Workload being instantiated, which should then modify it's behaviour to use the given number of records.

For ParquetWorkloads (i.e. the only type we have so far), it should only be valid to set the number of workloads to less than or equal to how many exist in the parquet files. Additionally, if this option is specified then it will become necessary to recalculate the ground-truth nearest neighbours for the query set (as per ParquetSubSetWorkload).

(Note: similar to #184)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant