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

Modified the benchmark files to record performance #2

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

SeanSong25
Copy link
Owner

No description provided.

Copy link

@jw-mcgrath jw-mcgrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks awesome! minor comment

Comment on lines +99 to +104
# time the execution
start_time = time.time()
results = con.execute(sql_query, (vector, K)).fetchall()
end_time = time.time()
# aggregate time
total_time += end_time - start_time

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's grab every time in the query set and we can sum them up later, but also get stats on mean/variance/min/max

@SeanSong25 SeanSong25 merged commit 3b3fb28 into master Jul 31, 2024
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.

2 participants