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