All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat(game): 更新试炼之塔和勇者之塔等级验证逻辑 - 修改fight_塔.go中等级验证条件,添加data.Level != 1的特殊处理 - 防止等级1时的错误验证,允许重新挑战第1层 - 保持原有的最大等级限制逻辑 docs(README): 添加新的pprof性能分析命令示例 - 增加针对端口43892的性能分析命令 - 添加300秒CPU数据采样的HTTP可视化命令 - 为性能调试提供更多示例选项
1.1 KiB
1.1 KiB
blazing
这是骄阳号开发团队的开源项目,请勿用于商业用途。 在软件开发中,repo、impl、mapper 和 model 是常见的分层架构组件
项目介绍
seer-project
项目结构:
go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile"
go tool pprof -http :8081 "http://202.189.15.67:62672/debug/pprof/profile" go tool pprof -http :8081 "http://8.162.8.203:9909/debug/pprof//profile" go tool pprof -http :8081 "http://8.162.23.87:9910/debug/pprof//profile" go tool pprof -http :8081 "http://61.147.247.7:36855/debug/pprof/profile" go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile"
采样 60 秒的 CPU 数据,然后通过 HTTP 8081 端口可视化
go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile?seconds=300" 详情查看 文档