{"id":17179278,"url":"https://github.com/bytehamster/pachash-experiments","last_synced_at":"2025-03-24T23:37:24.551Z","repository":{"id":51534436,"uuid":"485340856","full_name":"ByteHamster/PaCHash-Experiments","owner":"ByteHamster","description":"This repository contains benchmarks for PaCHash.","archived":false,"fork":false,"pushed_at":"2022-10-19T14:16:21.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-30T02:29:24.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteHamster.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-04-25T11:21:57.000Z","updated_at":"2024-03-11T17:05:06.000Z","dependencies_parsed_at":"2023-01-20T07:03:17.635Z","dependency_job_id":null,"html_url":"https://github.com/ByteHamster/PaCHash-Experiments","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FPaCHash-Experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FPaCHash-Experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FPaCHash-Experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FPaCHash-Experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteHamster","download_url":"https://codeload.github.com/ByteHamster/PaCHash-Experiments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372216,"owners_count":20604488,"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","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":[],"created_at":"2024-10-15T00:25:26.127Z","updated_at":"2025-03-24T23:37:24.526Z","avatar_url":"https://github.com/ByteHamster.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PaCHash Experiments\nThis repository contains our reproducibility artifacts for PaCHash.\nDue to the plethora of dependencies required by our competitors, we provide an easy to use Docker image to quickly reproduce our results.\nAlternatively, you can look at the `Dockerfile` to see all libraries, tools, and commands necessary to compile PaCHash and its competitors.\nThe source code used in the experimental evaluation can be found in `external` (patches that allow us to measure the running time and memory consumption of our competitors are stored in `patches`).\n\n## Building the Docker Image\n\nRun the following command to build the Docker image.\nBuilding the image takes about 10 minutes, as some packages (including LaTeX for the plots) have to be installed.\n\n```bash\ndocker build -t pachash .\n```\n\nSome compiler warnings (red) are expected when building competitors and will not prevent building the image or running the experiments.\nPlease ignore them!\n\n## Running the Experiments\nDue to the long total running time of all experiments in our paper, we provide run scripts for a slightly simplified version of the experiments.\nThey run fewer iterations and output fewer data points.\nAlso, we omit the experiments requiring real world data due to the size of the data (about 50GiB) and the experiments for variable size objects as the results are the same.\nIf you are interested in these experiments, please contact the authors.\n\nYou can modify the benchmarks scripts in `scripts/dockerVolume` if you want to change the number of runs or data points.\nThis does not require the Docker image to recompile.\nDifferent experiments can be started by using the following command:\n\n```bash\ndocker run --interactive --tty -v \"$(pwd)/scripts/dockerVolume:/opt/dockerVolume\" -v \"/\u003cpath_to_ssd\u003e:/opt/testDirectory\" pachash /opt/dockerVolume/figure-\u003cnumber\u003e.sh\n```\n\nHere, `\u003cpath_to_sdd\u003e` has to be changed to a folder on the host system on the disk you want to run the experiments on.\n`\u003cnumber\u003e` should be either `2` or `4`, depending on the experiment you want to run.\nThe number also refers to the figure in the paper.\n\n| Figure in paper | Launch command                | Estimated runtime  |\n| :-------------- | :---------------------------- | :----------------- |\n| 2               | /opt/dockerVolume/figure-2.sh | 10 minutes         |\n| 4               | /opt/dockerVolume/figure-4.sh | 20 minutes         |\n\nThe resulting plots can be found in `scripts/dockerVolume` and are called `figure-\u003cnumber\u003e.pdf`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytehamster%2Fpachash-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytehamster%2Fpachash-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytehamster%2Fpachash-experiments/lists"}