{"id":18295866,"url":"https://github.com/astropenguin/priism-benchmark","last_synced_at":"2025-08-31T05:39:50.625Z","repository":{"id":43273023,"uuid":"465189579","full_name":"astropenguin/priism-benchmark","owner":"astropenguin","description":"Python 3 environment for benchmarking PRIISM","archived":false,"fork":false,"pushed_at":"2022-03-10T19:40:07.000Z","size":62,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T08:44:31.253Z","etag":null,"topics":["astronomy","benchmark","casa","priism","python","radio-astronomy","sparse-modeling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astropenguin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-02T06:47:19.000Z","updated_at":"2022-03-10T19:40:08.000Z","dependencies_parsed_at":"2022-09-15T15:21:15.026Z","dependency_job_id":null,"html_url":"https://github.com/astropenguin/priism-benchmark","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/astropenguin/priism-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropenguin%2Fpriism-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropenguin%2Fpriism-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropenguin%2Fpriism-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropenguin%2Fpriism-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astropenguin","download_url":"https://codeload.github.com/astropenguin/priism-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropenguin%2Fpriism-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272943194,"owners_count":25019486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","benchmark","casa","priism","python","radio-astronomy","sparse-modeling"],"created_at":"2024-11-05T14:38:35.469Z","updated_at":"2025-08-31T05:39:50.603Z","avatar_url":"https://github.com/astropenguin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# priism-benchmark\nPython 3 environment for benchmarking PRIISM\n\n\n## Basic usage\n\n### Install [Poetry]\n\nThis repository manages dependent Python packages by [Poetry].\nPlease install it to your environment if you do not have it.\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -\n```\n\n### Clone this repository and install dependencies\n\nThis will create a virtual environment and install the dependencies on it.\n\n```bash\ngit clone https://github.com/astropenguin/priism-benchmark.git\ncd priism-benchmark\npoetry install\n```\n\n### Run benchmark (HL Tau)\n\nThis will download the HL Tau SV data and run SpM imaging with multiple PRIISM versions and numbers of threads:\n\n```bash\npoetry run bin/hltau/benchmark priism-0.7.15,priism-0.7.16 32,64\n```\n\nwhere the first argument should be comma-separated PRIISM versions (i.e. tag or commit ref.) and the second argument should be comma-separated `OMP_NUM_THERADS`s.\n\nOutput FITS images and a log file will be put in `/path/to/repository/log/hltau`.\nThe format of the log file (`benchmark.csv`) is like:\n\n```plaintext\nPRIISM version,Number of threads,Elapsed time (s)\npriism-0.7.15,32,113.62\npriism-0.7.15,64,144.67\npriism-0.7.16,32,97.42\npriism-0.7.16,64,106.51\n```\n\nwhere the first, second, and third columns correspond to the PRIISM version, the number of threads used for imaging, and the elapsed time (in seconds) of imaging (i.e. `imager.solve(...)`), respectively.\n\n## Advanced usage\n\n### PRIISM build options\n\nPRIISM build options can be specified by an environment variable `PRIISM_BUILD_OPTIONS`:\n\n```bash\nPRIISM_BUILD_OPTIONS=\"-X yes\" poetry run bin/hltau/benchmark priism-0.7.15,priism-0.7.16 8,32,64\n```\n\n### Use as a PRIISM installer\n\nYou may also use this repository as a simple way of installing PRIISM (and dependencies):\n\n```bash\npoetry install\nPRIISM_BUILD_OPTIONS=\"-X yes\" poetry run bin/install-priism priism-0.7.16\n```\n\nThen you can run your own script that uses PRIISM:\n\n```bash\npoetry run python /path/to/script.py\n```\n\n[Poetry]: https://python-poetry.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropenguin%2Fpriism-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastropenguin%2Fpriism-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropenguin%2Fpriism-benchmark/lists"}