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

[WIP] Initial HNSW algorithm metrics using tracing library #911

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

bgillesp
Copy link
Collaborator

@bgillesp bgillesp commented Jan 10, 2025

WIP PR implements basic Visitors to count the numbers of distance evaluations, distance comparisons, node opening, and layer search operations which take place during a query. Additionally adds a binary which tallies these counts over the creation of an index of a particular size.

Steps before this PR is ready:

  • Polish the existing implementation and add support for any additional basic algorithm metrics that could be useful
  • Expose collected metrics to the Python interface to aid in data analysis tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant