docs: 整理表格格式并添加 CI 链接
This commit is contained in:
parent
f7288cc390
commit
e12e59461b
@ -42,7 +42,7 @@ hey -c 100 -n 100000 http://localhost:8080/
|
|||||||
### Key Metrics to Watch
|
### Key Metrics to Watch
|
||||||
|
|
||||||
| Metric | Description |
|
| Metric | Description |
|
||||||
|--------|-------------|
|
| -------------------- | ---------------------------- |
|
||||||
| Requests/sec | Throughput |
|
| Requests/sec | Throughput |
|
||||||
| Average latency | Mean response time |
|
| Average latency | Mean response time |
|
||||||
| P99 latency | Tail latency |
|
| P99 latency | Tail latency |
|
||||||
@ -52,7 +52,7 @@ hey -c 100 -n 100000 http://localhost:8080/
|
|||||||
### Flame Graph Hotspots
|
### Flame Graph Hotspots
|
||||||
|
|
||||||
| Expected Hotspot | Code Location | Cause |
|
| Expected Hotspot | Code Location | Cause |
|
||||||
|------------------|---------------|-------|
|
| --------------------------------- | ---------------- | -------------------------------------------- |
|
||||||
| SSR rendering | Dioxus framework | Virtual DOM diff + render per request |
|
| SSR rendering | Dioxus framework | Virtual DOM diff + render per request |
|
||||||
| `deadpool` connection acquisition | `src/db/mod.rs` | Connection pool contention under concurrency |
|
| `deadpool` connection acquisition | `src/db/mod.rs` | Connection pool contention under concurrency |
|
||||||
| `moka` cache lookup | `src/cache.rs` | Cache hit/miss overhead |
|
| `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
|
- `DB_POOL_SIZE` — increase if `deadpool` / `Semaphore` shows high in flame graph
|
||||||
- `SSR_CACHE_SECS` — increase to cache SSR output longer
|
- `SSR_CACHE_SECS` — increase to cache SSR output longer
|
||||||
- `TOKIO_WORKER_THREADS` — explicitly set worker thread count
|
- `TOKIO_WORKER_THREADS` — explicitly set worker thread count
|
||||||
|
|
||||||
|
## CI
|
||||||
|
|
||||||
|
https://git.rua.plus/api/v1/repos/xfy/yggdrasil/actions/tasks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user