{"id":28381087,"url":"https://github.com/imgproxy/image-servers-benchmark","last_synced_at":"2026-01-30T22:37:00.950Z","repository":{"id":228819005,"uuid":"774961865","full_name":"imgproxy/image-servers-benchmark","owner":"imgproxy","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-18T20:18:26.000Z","size":21,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T03:40:12.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/imgproxy.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-20T14:14:24.000Z","updated_at":"2025-03-22T07:41:22.000Z","dependencies_parsed_at":"2024-03-20T16:51:33.623Z","dependency_job_id":"cba6b066-7ee6-4848-b2c2-cef519ffd491","html_url":"https://github.com/imgproxy/image-servers-benchmark","commit_stats":null,"previous_names":["imgproxy/image-servers-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imgproxy/image-servers-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgproxy%2Fimage-servers-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgproxy%2Fimage-servers-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgproxy%2Fimage-servers-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgproxy%2Fimage-servers-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imgproxy","download_url":"https://codeload.github.com/imgproxy/image-servers-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgproxy%2Fimage-servers-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28921406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-05-30T03:38:00.390Z","updated_at":"2026-01-30T22:37:00.938Z","avatar_url":"https://github.com/imgproxy.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image processing servers benchmark\n\nThis repository contains the code used to benchmark the performance of different image processing servers. The servers tested are:\n\n* imgproxy\n* thumbor\n* imagor\n\n\u003e [!NOTE]\n\u003e If you aren't interested in running the benchmarks yourself, you can read our [blog article](https://imgproxy.net/blog/image-processing-servers-benchmark/). Also, you can find the raw k6 outputs in the [results](results) directory.\n\n## Running the benchmarks\n\nWe strongly recommend running the benchmarks on a separate machine purposed for the benchmarks only. C-type AWS EC2 instances are a good choice for this as they provide dedicated CPU resources.\n\n### Running the benchmarks on AWS EC2\n\n1. Use CloudFormation to create a new stack with the [cloudformation.yml](cloudformation.yml) template. This will create a new EC2 instance and prepare everything for the benchmark.\n2. Run the benchmark with the following command:\n\n    ```bash\n    ssh ubuntu@\u003cinstance-ip\u003e -t \"cd ~/benchmark; make bench-\u003ctool\u003e FORMAT=\u003cformat\u003e\"\n    ```\n\n    Replace `\u003cinstance-ip\u003e` with the public IP of the EC2 instance (can be found in the CloudFormation stack outputs), `\u003ctool\u003e` with the tool you want to benchmark (`imgproxy`, `thumbor`, or `imagor`), and `\u003cformat\u003e` with the image format you want to benchmark (`jpeg`, `png`, `webp`, or `avif`).\n\n    For example, to run the benchmark for imgproxy with JPEG images, you would run:\n\n    ```bash\n    ssh ubuntu@\u003cinstance-ip\u003e -t \"cd ~/benchmark; make bench-imgproxy FORMAT=jpeg\"\n    ```\n\n### Running the benchmarks locally\n\n1. You should have Docker installed on your machine. Also, to prepare the dataset, you need to have `curl`, `unzip`, and `vips` installed.\n2. Clone this repository and `cd` into it.\n3. Run the following command to prepare the dataset:\n\n    ```bash\n    make prepare-dataset\n    ```\n4. Run the benchmark with the following command:\n\n    ```bash\n    make bench-\u003ctool\u003e FORMAT=\u003cformat\u003e\n    ```\n\n    Replace `\u003ctool\u003e` with the tool you want to benchmark (`imgproxy`, `thumbor`, or `imagor`), and `\u003cformat\u003e` with the image format you want to benchmark (`jpeg`, `png`, `webp`, or `avif`).\n\n    For example, to run the benchmark for imgproxy with JPEG images, you would run:\n\n    ```bash\n    make bench-imgproxy FORMAT=jpeg\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgproxy%2Fimage-servers-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimgproxy%2Fimage-servers-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgproxy%2Fimage-servers-benchmark/lists"}