{"id":28545576,"url":"https://github.com/crate/crate-benchmarks","last_synced_at":"2025-08-10T04:33:38.047Z","repository":{"id":4814272,"uuid":"46916188","full_name":"crate/crate-benchmarks","owner":"crate","description":"A collection of CrateDB benchmarks.","archived":false,"fork":false,"pushed_at":"2025-05-12T17:29:16.000Z","size":7091,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-06-09T23:08:21.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crate.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-11-26T09:16:52.000Z","updated_at":"2025-05-12T17:29:13.000Z","dependencies_parsed_at":"2023-07-05T18:31:29.396Z","dependency_job_id":"74c25794-48e7-4a0b-abfd-187f2ac576c7","html_url":"https://github.com/crate/crate-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crate/crate-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crate","download_url":"https://codeload.github.com/crate/crate-benchmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-benchmarks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269677392,"owners_count":24457847,"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-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-06-09T23:08:08.913Z","updated_at":"2025-08-10T04:33:38.039Z","avatar_url":"https://github.com/crate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================\nCrateDB Benchmarks\n==================\n\nA collection of CrateDB_ benchmarks based on ``spec`` and ``track`` files for\nuse with cr8_.\n\nBenchmark results are used to compare performance between two different CrateDB\nversions.\n\n.. note::\n\n   Some benchmarks are not covering every single case but are more intended to\n   be compared against others to see differences when certain features are\n   enabled/disabled.\n\nUsage\n=====\n\nTo install, run::\n\n    $ python3.6 -m venv venv\n    $ venv/bin/python -m pip install -r requirements.txt\n\nTo run all benchmarks, do::\n\n    $ venv/bin/cr8 run-track tracks/latest.toml [ -r result-host ]\n\nTo run a single benchmark (spec)::\n\n    $ venv/bin/cr8 run-spec specs/specfile.toml localhost:4200\n\nFor more information on the parameters run::\n\n    $ venv/bin/cr8 run-spec -h\n\n.. note::\n\n   venv_ is a Python module that provides support for creating lightweight\n   virtual environments.\n\n.. note::\n\n   Running an individual spec requires that you have a running CrateDB instance\n   and that you pass its host:port as the last parameter.\n\n\nScripts\n=======\n\nScripts to simplify common tasks:\n\n- compare_measures.py_: compare measures read from two files\n\n- compare_run.py_: compare a spec against two different versions of CrateDB.\n\n- find_regressions.py_: read benchmark results from a table and compare them for\n  regressions.\n\nWriting Benchmarks\n==================\n\nSince executing the benchmarks can take up quite some time we value quality\nover quantity here.\n\nBenchmarks should be written so that they represent common execution paths or\ncommon use cases that differ a lot from other cases.\n\nWhen writing new benchmarks it's also advisable to run ``compare_run.py`` once,\nwhere ``--v1 == --v2`` to get a feeling of the stability of the benchmark. If\nthere is a large difference, the benchmark should be tuned as it would be too\nunreliable to spot real differences.\n\nHelp\n====\n\nLooking for more help?\n\n- Check out our `support channels`_\n\n.. _compare_measures.py: compare_measures.py\n.. _cr8: https://github.com/mfussenegger/cr8\n.. _Crate.io: http://crate.io/\n.. _CrateDB: https://github.com/crate/crate\n.. _find_regressions.py: find_regressions.py\n.. _jupyter: https://jupyter.org/\n.. _notebooks: notebooks\n.. _support channels: https://crate.io/support/\n.. _venv: https://docs.python.org/3/library/venv.html\n.. _toml: https://learnxinyminutes.com/docs/toml/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate%2Fcrate-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrate%2Fcrate-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate%2Fcrate-benchmarks/lists"}