https://github.com/emgv/rust-net8-bench
rust vs net8 benchmark
https://github.com/emgv/rust-net8-bench
docker-compose net8-web-api rust-lang
Last synced: about 2 months ago
JSON representation
rust vs net8 benchmark
- Host: GitHub
- URL: https://github.com/emgv/rust-net8-bench
- Owner: emgv
- License: mit
- Created: 2025-06-23T10:53:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-23T11:36:26.000Z (12 months ago)
- Last Synced: 2025-06-23T12:27:42.109Z (12 months ago)
- Topics: docker-compose, net8-web-api, rust-lang
- Language: Shell
- Homepage:
- Size: 2.42 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Axum Sqlx vs .Net8 Dapper benchmark
## Specs
- CPU: 12th Gen Intel(R) Core(TM) i7-1265U
- RAM: 16GB
## How to run the benchmarks
- Set the database container ip address
- Net8: go to ```net-web-api-bench/Program.cs``` and update the placeholder ``````
- Axum: go to ```rs-web-api/src/app.rs``` and update the placeholder ``````
- Run the app (run ```docker compose down``` first if the net8 or axum containers are running already)
```
cd /path/to/net-web-api-bench or cd /path/to/rs-web-api
docker compose up -d
```
## Results
- Web API request 1 random car
- Net8: 
- Axum: 
- Web API request 10 random cars
- Net8: 
- Axum: 
- Web API request 100 random cars
- Net8: 
- Axum: 
- Web API request 1800th prime
- Net8: 
- Axum: 