Skip to content

evanshlom/ML-API-Speed-Comparison

Repository files navigation

ML API Speed Comparison: Rust vs Python

Compare ONNX inference performance between Rust (Axum) and Python (FastAPI).

Quick Start

# 1. Train and export model
cd model
python train_model.py

# 2. Start both APIs
docker-compose up

# 3. Run benchmarks
cd benchmarks && python benchmark.py

APIs

Results

Check benchmarks/results/ for performance comparisons.

About

Compare ONNX inference performance between Rust (Axum) and Python (FastAPI).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published