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 end-to-end benchmarking scripts #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

spenczar
Copy link
Collaborator

You can invoke these from the root of the repo like:

./scripts/benchmark.sh ./tests/data/index/dataset_500/dataset_500_observations.csv

This will:

  • create a precovery database in a temporary directory
  • load the data into the database, measuring the time that takes
  • do a precovery search on 10 orbits, measuring the time that takes
  • print some results to stdout
  • write detailed results to two JSON files (precovery_create_benchmark_{timestamp}.json and precovery_search_benchmark_{timestamp}.json) in the current directory

This code was largely written by GPT-4, with some minor manual tweaks.

You can invoke these from the root of the repo like:

   ./scripts/benchmark.sh ./tests/data/index/dataset_500/dataset_500_observations.csv

This will:
 - create a precovery database in a temporary directory
 - load the data into the database, measuring the time that takes
 - do a precovery search on 10 orbits, measuring the time that takes
 - print some results to stdout
 - write detailed results to two JSON files
   (precovery_create_benchmark_{timestamp}.json and
   precovery_search_benchmark_{timestamp}.json) in the current
   directory

This code was largely written by GPT-4, with some minor manual tweaks.
@spenczar spenczar force-pushed the sn/benchmark_scripts branch from 58daedc to d2054b3 Compare April 14, 2023 23:40
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