docs: 整理表格格式并添加 CI 链接
Some checks failed
CI / check (push) Successful in 12m26s
CI / build (push) Failing after 13m0s

This commit is contained in:
xfy 2026-06-15 10:41:03 +08:00
parent f7288cc390
commit e12e59461b

View File

@ -42,7 +42,7 @@ hey -c 100 -n 100000 http://localhost:8080/
### Key Metrics to Watch
| Metric | Description |
|--------|-------------|
| -------------------- | ---------------------------- |
| Requests/sec | Throughput |
| Average latency | Mean response time |
| P99 latency | Tail latency |
@ -52,7 +52,7 @@ hey -c 100 -n 100000 http://localhost:8080/
### Flame Graph Hotspots
| Expected Hotspot | Code Location | Cause |
|------------------|---------------|-------|
| --------------------------------- | ---------------- | -------------------------------------------- |
| SSR rendering | Dioxus framework | Virtual DOM diff + render per request |
| `deadpool` connection acquisition | `src/db/mod.rs` | Connection pool contention under concurrency |
| `moka` cache lookup | `src/cache.rs` | Cache hit/miss overhead |
@ -64,3 +64,7 @@ hey -c 100 -n 100000 http://localhost:8080/
- `DB_POOL_SIZE` — increase if `deadpool` / `Semaphore` shows high in flame graph
- `SSR_CACHE_SECS` — increase to cache SSR output longer
- `TOKIO_WORKER_THREADS` — explicitly set worker thread count
## CI
https://git.rua.plus/api/v1/repos/xfy/yggdrasil/actions/tasks