Back to Frameworkbenchmarks

tide

frameworks/Rust/tide/README.md

31.3 KB
Original Source

tide

Tide is a minimal and pragmatic Rust web application framework built for rapid development. It comes with a robust set of features that make building async web applications and APIs easier and more fun.

Benchmark Implementation

This implementation is largely based on the actix and warp implementation. Thanks to everyone who worked on them.

Database

PostgreSQL, ORM using diesel, the de facto standard for Rust ORM.

Routes

BenchmarkNameURL
Test 1JSON Encodinghttp://localhost:8080/json
Test 2Single Row Queryhttp://localhost:8080/db
Test 3Multi Row Queryhttp://localhost:8080/queries/:count
Test 4Fortunes (Template rendering)http://localhost:8080/fortune
Test 5Update Queryhttp://localhost:8080/updates/:count
Test 6Plaintexthttp://localhost:8080/plaintext

Implementation

Routing is defined in main.rs. Top level request handling is defined in handlers.rs.