meiseayoung
|
05bb2d6c95
|
feat: cross-platform uSockets support and route cache optimization
1. Cross-platform uSockets configuration
- Use @VMODROOT for portable library paths
- Support macOS (arm64/x86_64), Windows, and Linux
- Auto-detect Homebrew paths for libuv on macOS
2. Route cache optimization (3x performance boost)
- Replace LRU cache with FastRouteCache for dynamic routes
- Zero-overhead cache lookup (no TTL check, no LRU reordering)
- Dynamic route performance: 30k -> 97k RPS
3. New test files
- Go-based integration tests for picoev and uSockets
- FastCache optimization validation tests
- Benchmark comparison tools
|
2026-01-02 21:44:07 +08:00 |
|