Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
deno.land/x
esm.sh
jsdeliver.net
@medley/router@0.2.1@sinclair/typebox@0.27.8@cloudflare/workers-types@4.20230404.0
std
Versions
- v1.5.2Latest
- v1.5.1
- v1.5.0
- v1.5.0-canary.1
- v1.5.0-canary.0
- v1.4.0
- v1.4.0-canary.3
- v1.4.0-canary.2
- v1.4.0-canary.1
- v1.4.0-canary.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-canary.1
- v1.0.0-canary.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1.0
- v0.0.1
cheetah
cheetah is ~30% faster than hono, which is supposed to be the fastest JavaScript framework, and ~70% faster than oak, the Express.js of Deno.
Benchmark | Time (avg) | min … max | p75 | p99 | p995 | p999 | Diff |
---|---|---|---|---|---|---|---|
cheetah | 49.61 µs/run | 39.3 µs … 1.81 ms | 43.1 µs | 167.2 µs | 332.4 µs | 922.1 µs | … |
hono | 63.79 µs/run | 48.3 µs … 1.92 ms | 58.9 µs | 178.5 µs | 255.8 µs | 1.63 ms | -28.57% |
itty-router | 63.22 µs/run | 51.7 µs … 1.71 ms | 58.4 µs | 163 µs | 209.3 µs | 1.46 ms | -27.44% |
oak | 85.44 µs/run | 70.5 µs … 1.29 ms | 77.8 µs | 222.1 µs | 326.4 µs | 1.05 ms | -72.22% |
Benchmark: basic.ts — Runtime: Deno 1.32.4 (x86_64-pc-windows-msvc) — CPU: AMD Ryzen 9 5900X 12-Core
Sneak Peek
import cheetah from 'https://deno.land/x/cheetah@v0.1.1/mod.ts'
import { serve } from 'https://deno.land/std@v0.184.0/http/server.ts'
const app = new cheetah()
.get('/', () => 'Hello World')
serve(app.fetch)