Apibench
Benchmark API’s
i like to work with fastapi. “FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.”. i also know that scripting languages like python are ways slower than compiled languages like c, c++, rust, …
why not build a little “hello world” api, running it on localhost, and then do a benchmark …
Rust
let’s start with rust.
Code
src/main.rs