ebeb258c58
docs(benchmark): add v0.4.0 baseline summary and update gitignore
...
- Collect baseline benchmark summary across all core modules
- Save key results to benchmarks/v0.4.0/summary.txt
- Update .gitignore to track benchmark summaries/reports
- Include performance optimization design docs and plan
2026-06-11 13:43:28 +08:00
bc57e5b656
chore(benchmark): establish benchmark directory structure
2026-06-10 14:11:19 +08:00
8757f0d5cb
chore: add docs/plans/ to .gitignore
2026-06-04 11:31:44 +08:00
9bdb8b24a7
chore: replace lib/ with others/ in gitignore
2026-06-03 23:49:52 +08:00
863456f7b4
chore: add docs/superpowers to gitignore
...
Ignore agent-generated planning and specification documents.
2026-06-03 14:41:27 +08:00
8d3c9e0f6f
chore: ignore .crush file
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 09:40:34 +08:00
3a09ca4f48
chore: 添加 bench-*.txt 到 gitignore
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 14:57:45 +08:00
fb741eede2
fix: 修正 coverage.html 的 gitignore 规则为 *coverage.html
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 08:00:10 +08:00
4405d8cb90
fix(e2e): 添加默认 index.html 并修复 E2E 测试预期
...
Docker 镜像构建时创建默认 index.html,lolly 现在能返回 200
而非 404。放宽容器健康检查为接受任意非 5xx 响应。跳过因 Docker
网络问题导致的 flaky rate limit 测试。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 07:59:00 +08:00
3202993a48
chore: 忽略 main 编译产物
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 17:12:56 +08:00
79668f44af
chore(gitignore): 更新忽略规则,统一 lib 目录
...
移除单独的 fasthttp/ 和 nginx/ 忽略项,改用统一的 lib/ 目录忽略,
匹配项目依赖库的新目录结构。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 10:48:23 +08:00
0c20c62b5c
refactor(config): 优化结构体内存布局减少 padding
...
ServerConfig、ProxyConfig、ProxySSLConfig 字段按类型大小排序:
指针→切片→字符串→结构体→int64→int→bool
减少内存对齐浪费,提升访问效率。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 09:53:58 +08:00
941c44b798
docs: 添加 Lua 嵌入分析文档
...
- 新增 lua-embed-analysis.md 技术分析文档
- 新增 lua-nginx-module 文档目录
- 更新 gitignore 允许跟踪 docs/lua-nginx-module/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 11:20:57 +08:00
f0f0f7b821
chore(gitignore): 添加 lua-nginx-module 排除规则
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 10:21:50 +08:00
42533c31d2
chore: 更新 gitignore 和 go.mod 依赖
2026-04-09 12:18:45 +08:00
766e9255fa
feat(config,server,makefile): 新增 pprof 性能分析端点支持
...
- 新增 PprofConfig 配置结构,支持路径和 IP 访问控制
- 实现 PprofHandler 处理器,提供 CPU/heap/goroutine/block/mutex profile
- Makefile 新增 build-perf、build-pgo、pgo-collect 目标
- 支持 PGO (Profile-Guided Optimization) 构建
Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-07 18:21:03 +08:00
cd2d1a8194
refactor: 优化字符串构建方式,统一测试错误处理风格
...
- 使用 fmt.Fprintf 替代冗余的 WriteString(fmt.Sprintf) 组合
- 测试中 nil 检查使用 t.Fatal 替代 t.Error 立即终止
- .gitignore 添加 html/ 目录忽略
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 17:49:11 +08:00
06e8d55ef5
test(config): 添加配置模块单元测试
...
- 添加 internal/app 包测试(版本显示、配置生成)
- 添加 internal/config 包测试(加载、保存、验证、默认值)
- 更新 docs/plan.md 日志系统设计(选用 zerolog)
- 更新 .gitignore 添加 coverage.html
Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-02 14:40:56 +08:00
f3e5aad21e
feat(app): 添加信号处理和完善配置结构
...
- 添加 SIGTERM/SIGINT/SIGQUIT 信号处理和优雅停止逻辑
- 完善安全配置:访问控制、速率限制、认证参数
- 完善性能配置:Goroutine 池、连接限制
- 改进配置生成 YAML 格式和注释说明
- 添加编译产物 lolly 到 gitignore
Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-02 14:30:24 +08:00
0301061a52
chore: 添加配置文件到 gitignore
...
- lolly.yaml
- config.yaml
Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-02 13:26:49 +08:00
9cae5ad8cf
chore(init): initialize project with nginx documentation
...
- Add Go module initialization (go 1.26)
- Add comprehensive NGINX documentation covering:
- Overview, installation, HTTP core module
- Proxy/load balancing, SSL/TLS, URL rewrite
- Compression/caching, logging/monitoring
- Security, TCP/UDP stream, mail proxy
- Performance tuning, Git commit guide
- Add standard Go .gitignore
Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-02 11:45:53 +08:00