{"id":28962753,"url":"https://github.com/emgv/rust-net8-bench","last_synced_at":"2026-05-04T21:32:37.647Z","repository":{"id":300751200,"uuid":"1007025211","full_name":"emgv/rust-net8-bench","owner":"emgv","description":"rust vs net8 benchmark","archived":false,"fork":false,"pushed_at":"2025-06-23T11:36:26.000Z","size":2541,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-23T12:27:42.109Z","etag":null,"topics":["docker-compose","net8-web-api","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/emgv.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-23T10:53:45.000Z","updated_at":"2025-06-23T11:42:16.000Z","dependencies_parsed_at":"2025-06-23T12:39:51.879Z","dependency_job_id":null,"html_url":"https://github.com/emgv/rust-net8-bench","commit_stats":null,"previous_names":["emgv/rust-net8-bench"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emgv/rust-net8-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emgv%2Frust-net8-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emgv%2Frust-net8-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emgv%2Frust-net8-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emgv%2Frust-net8-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emgv","download_url":"https://codeload.github.com/emgv/rust-net8-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emgv%2Frust-net8-bench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32626019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":["docker-compose","net8-web-api","rust-lang"],"created_at":"2025-06-24T03:11:59.094Z","updated_at":"2026-05-04T21:32:37.642Z","avatar_url":"https://github.com/emgv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Axum Sqlx vs .Net8 Dapper benchmark\n## Specs\n- CPU: 12th Gen Intel(R) Core(TM) i7-1265U\n- RAM: 16GB\n\n## How to run the benchmarks\n- Set the database container ip address\n  - Net8: go to ```net-web-api-bench/Program.cs``` and update the placeholder ```\u003cip-database-container\u003e```\n  - Axum: go to ```rs-web-api/src/app.rs``` and update the placeholder ```\u003cip-database-container\u003e```\n- Run the app (run ```docker compose down``` first if the net8 or axum containers are running already)\n  ```\n  cd /path/to/net-web-api-bench or cd /path/to/rs-web-api\n  docker compose up -d\n  ```\n\n## Results\n- Web API request 1 random car\n  - Net8: ![Net8-Cars-1](results/net8-wrk-cars-1.jpg)\n  - Axum: ![Axum-Cars-1](results/rs-wrk-cars-1.jpg)\n- Web API request 10 random cars\n  - Net8: ![Net8-Cars-10](results/net8-wrk-cars-10.jpg)\n  - Axum: ![Axum-Cars-10](results/rs-wrk-cars-10.jpg)\n- Web API request 100 random cars\n  - Net8: ![Net8-Cars-100](results/net8-wrk-cars-100.jpg)\n  - Axum: ![Axum-Cars-100](results/rs-wrk-cars-100.jpg)\n- Web API request 1800th prime\n  - Net8: ![Net8-Prime-1800th](results/net8-wrk-prime-1800.jpg)\n  - Axum: ![Axum-Prime-1800th](results/rs-wrk-prime-1800.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femgv%2Frust-net8-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femgv%2Frust-net8-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femgv%2Frust-net8-bench/lists"}