Compare commits
No commits in common. "d1d6bd5ae8a3044058809e49232fb0e9de47edaf" and "eac0fbcf340c3a2ee2bbe641669135e162321c1a" have entirely different histories.
d1d6bd5ae8
...
eac0fbcf34
@ -1,8 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## v1.5.4 - 2026-06-21
|
||||
- **依赖更新**: 升级依赖 `jsmod` 至 `v1.5.3`,`cast` 至 `v1.5.3`,`rand` 至 `v1.5.3`,`encoding` 至 `v1.5.4`,`shell` 至 `v1.5.3`,`safe` 至 `v1.5.2`,`id` 至 `v1.5.4`,`file` 至 `v1.5.5`,`config` 至 `v1.5.3`,`log` 至 `v1.5.8`。
|
||||
|
||||
## v1.5.2 - 2026-06-05
|
||||
- **优化: 生命周期日志清理**:
|
||||
- 移除了内部冗余的 `scheduler started` 与 `scheduler stopped gracefully` 控制台输出。这些状态现由 `apigo.cc/go/starter` 框架统一劫持并提供标准化的生命周期审计。
|
||||
|
||||
14
TEST.md
14
TEST.md
@ -1,7 +1,7 @@
|
||||
# Test Report
|
||||
|
||||
## Environment
|
||||
- **Date**: 2026-06-21
|
||||
- **Date**: 2026-05-14
|
||||
- **Go Version**: go 1.25.0
|
||||
- **OS**: darwin/amd64
|
||||
|
||||
@ -14,14 +14,14 @@
|
||||
| TestTaskTimeout | PASS | 2.50s |
|
||||
| TestTaskPanicRecover | PASS | 2.50s |
|
||||
| TestTaskManualRun | PASS | 0.20s |
|
||||
| TestGracefulStop | PASS | 1.00s |
|
||||
| TestGracefulStop | PASS | 2.04s |
|
||||
|
||||
## Benchmarks
|
||||
| Benchmark | Iterations | ns/op |
|
||||
|-----------|------------|-------|
|
||||
| BenchmarkTaskRegistration | 4059084 | 294.0 |
|
||||
| BenchmarkTaskExecutionOverhead/Get | 51555876 | 19.81 |
|
||||
| BenchmarkTaskExecutionOverhead/List | 9835569 | 106.5 |
|
||||
| Benchmark | Iterations | ns/op | B/op | allocs/op |
|
||||
|-----------|------------|-------|------|-----------|
|
||||
| BenchmarkTaskRegistration | 3966831 | 308.0 | 272 | 5 |
|
||||
| BenchmarkTaskExecutionOverhead/Get | 52783425 | 22.35 | 0 | 0 |
|
||||
| BenchmarkTaskExecutionOverhead/List | 10555030 | 113.3 | 32 | 2 |
|
||||
|
||||
## Details
|
||||
|
||||
|
||||
20
go.mod
20
go.mod
@ -3,21 +3,21 @@ module apigo.cc/go/task
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
apigo.cc/go/log v1.5.8
|
||||
apigo.cc/go/log v1.5.4
|
||||
github.com/robfig/cron/v3 v3.0.1
|
||||
)
|
||||
|
||||
require apigo.cc/go/jsmod v1.5.3 // indirect
|
||||
require apigo.cc/go/jsmod v1.5.0 // indirect
|
||||
|
||||
require (
|
||||
apigo.cc/go/cast v1.5.3 // indirect
|
||||
apigo.cc/go/config v1.5.3 // indirect
|
||||
apigo.cc/go/encoding v1.5.4 // indirect
|
||||
apigo.cc/go/file v1.5.5 // indirect
|
||||
apigo.cc/go/id v1.5.4 // indirect
|
||||
apigo.cc/go/rand v1.5.3 // indirect
|
||||
apigo.cc/go/safe v1.5.2 // indirect
|
||||
apigo.cc/go/shell v1.5.3 // indirect
|
||||
apigo.cc/go/cast v1.5.0 // indirect
|
||||
apigo.cc/go/config v1.5.1 // indirect
|
||||
apigo.cc/go/encoding v1.5.0 // indirect
|
||||
apigo.cc/go/file v1.5.0 // indirect
|
||||
apigo.cc/go/id v1.5.0 // indirect
|
||||
apigo.cc/go/rand v1.5.0 // indirect
|
||||
apigo.cc/go/safe v1.5.0 // indirect
|
||||
apigo.cc/go/shell v1.5.0 // indirect
|
||||
golang.org/x/crypto v0.52.0 // indirect
|
||||
golang.org/x/sys v0.45.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user