{"id":40793569,"url":"https://github.com/cloudquery/benchmark","last_synced_at":"2026-01-21T20:14:45.222Z","repository":{"id":315039051,"uuid":"1057836357","full_name":"cloudquery/benchmark","owner":"cloudquery","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-25T11:09:37.000Z","size":75,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T23:43:17.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cloudquery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T09:16:03.000Z","updated_at":"2025-12-25T11:09:40.000Z","dependencies_parsed_at":"2025-10-21T15:11:56.223Z","dependency_job_id":"e2aee322-df81-4eee-9219-bacfc78629e8","html_url":"https://github.com/cloudquery/benchmark","commit_stats":null,"previous_names":["cloudquery/benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudquery/benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudquery","download_url":"https://codeload.github.com/cloudquery/benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fbenchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28641347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T18:04:35.752Z","status":"ssl_error","status_checked_at":"2026-01-21T18:03:55.054Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-21T20:14:44.430Z","updated_at":"2026-01-21T20:14:45.215Z","avatar_url":"https://github.com/cloudquery.png","language":"Python","readme":"# CloudQuery Benchmark\n\nThis is a benchmark for CloudQuery. It is used to measure the performance of CloudQuery.\n\n## Prerequisites\n\n- Python version equal or higher than 3.11\n- CloudQuery CLI installed (see [CloudQuery CLI](https://docs.cloudquery.io/docs))\n\n## Setup\n\nThe benchmark will use only the configured sources, and optionally the S3 destination.\n\n### AWS Source\n\nSet an `AWS_LOCAL_PROFILE` environment variable to the AWS local profile you want to use for the benchmark.\n\nFor example, if your AWS credentials files looks like this:\n\n```toml\n[default]\naws_access_key_id = YOUR_ACCESS_KEY_ID\naws_secret_access_key = YOUR_SECRET_ACCESS_KEY\n\n[benchmark]\naws_access_key_id = YOUR_ACCESS_KEY_ID\naws_secret_access_key = YOUR_SECRET_ACCESS_KEY\n```\n\nThen you can set the `AWS_LOCAL_PROFILE` environment variable to `benchmark` to use the `benchmark` profile, via:\n\n```bash\nexport AWS_LOCAL_PROFILE=benchmark\n```\n\nAlternatively, you can set the `AWS_LOCAL_PROFILE` environment variable in the `bench_configs/source_aws.yml` file.\n\n### Azure Source\n\n1. Follow the instructions in [Azure Source](https://hub.cloudquery.io/plugins/source/cloudquery/azure/latest/docs#overview-authentication-with-environment-variables) to authenticate with Azure using environment variables.\n2. Set an `AZURE_SUBSCRIPTION_ID` environment variable to the Azure subscription ID you want to use for the benchmark, for example:\n\n```bash\nexport AZURE_SUBSCRIPTION_ID=YOUR_AZURE_SUBSCRIPTION_ID\n```\n\n### GCP Source\n\n1. Ensure you have the Google Cloud CLI installed and run `gcloud auth application-default login` to set up Application Default Credentials.\n2. Set an `GCP_PROJECT_ID` environment variable to the GCP project ID you want to use for the benchmark, for example:\n\n```bash\nexport GCP_PROJECT_ID=YOUR_GCP_PROJECT_ID\n```\n\n### S3 Destination\n\nTo enable sending data to S3, set the following environment variables:\n\n```bash\nexport S3_BUCKET_NAME=YOUR_S3_BUCKET_NAME\nexport S3_REGION=YOUR_S3_REGION\nexport S3_LOCAL_PROFILE=YOUR_S3_LOCAL_PROFILE\n```\n\n## Running the benchmark\n\n```bash\npip install -r requirements.txt\npython benchmark.py\n```\n\n### Advanced configuration\n\nTo generate enough resources to sync, we use the `CQ_DEBUG_SYNC_MULTIPLIER` to simulate more API calls to AWS, GCP and Azure.\nYou can update the code to generate more or less resources if you'd like.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudquery%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudquery%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudquery%2Fbenchmark/lists"}