doc: add Framework Comparison

This commit is contained in:
meiseayoung
2025-12-31 16:04:44 +08:00
parent 0937dd268c
commit 1482b9c4d9
+10 -18
View File
@@ -2,27 +2,19 @@
Performance benchmarks for V-Hono web framework. Performance benchmarks for V-Hono web framework.
## Backend Comparison ## Framework Comparison (500 connections, 100K requests)
### uSockets vs Picoev (200 connections, 100K requests) | Framework | RPS | Errors | Avg Latency | P50 | P95 | P99 |
|-----------|-----|--------|-------------|-----|-----|-----|
| **v-hono (uSockets)** | **20,231** | **0** | **24.62ms** | **23.65ms** | **33.82ms** | **57.29ms** |
| v-hono (picoev) | 16,177 | 0 | 30.75ms | 26.25ms | 35.37ms | 111.38ms |
| veb (V官方) | 7,278 | 772 | 68.06ms | 55.79ms | 71.62ms | 98.90ms |
| Backend | RPS | Avg Latency | P95 | P99 | ### Performance Summary
|---------|-----|-------------|-----|-----|
| uSockets | ~22,000 | 8.75ms | 16.66ms | 25.73ms |
| picoev | ~15,000 | 13.36ms | 18.89ms | 31.66ms |
**uSockets provides ~50% higher throughput under high concurrency.** - **v-hono (uSockets) vs veb**: **2.78x faster**, zero errors
- **v-hono (uSockets) vs picoev**: **25% faster**, better P99 latency
### High Concurrency Test (500 connections, 100K requests) - **v-hono (picoev) vs veb**: **2.22x faster**, zero errors
| Metric | uSockets |
|--------|----------|
| RPS | ~20,000 |
| Errors | 0 |
| Avg Latency | 25.04ms |
| P50 | 24.32ms |
| P95 | 32.97ms |
| P99 | 64.59ms |
## Running Benchmarks ## Running Benchmarks