chore(watch): 对齐依赖版本并更新文档(by AI)
This commit is contained in:
parent
e72b8c12c3
commit
ee993012a9
@ -1,5 +1,8 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v1.5.2 (2026-06-21)
|
||||||
|
- **依赖更新**: 升级依赖 `jsmod` 至 `v1.5.3`,`cast` 至 `v1.5.3`,`rand` 至 `v1.5.3`,`encoding` 至 `v1.5.4`,`safe` 至 `v1.5.2`,`file` 至 `v1.5.5`。
|
||||||
|
|
||||||
## v1.5.1 (2026-06-11)
|
## v1.5.1 (2026-06-11)
|
||||||
- **版本对齐**: 基础设施全局对齐 v1.5.1。
|
- **版本对齐**: 基础设施全局对齐 v1.5.1。
|
||||||
|
|
||||||
|
|||||||
16
TEST.md
16
TEST.md
@ -1,24 +1,26 @@
|
|||||||
# Test Report
|
# Test Report
|
||||||
|
|
||||||
## 单元测试结果
|
## 单元测试结果
|
||||||
执行时间: 2026-05-07
|
执行时间: 2026-06-21
|
||||||
|
|
||||||
```
|
```
|
||||||
=== RUN TestWatch
|
=== RUN TestWatch
|
||||||
--- PASS: TestWatch (0.21s)
|
--- PASS: TestWatch (0.20s)
|
||||||
=== RUN TestDebounce
|
=== RUN TestDebounce
|
||||||
--- PASS: TestDebounce (0.26s)
|
--- PASS: TestDebounce (0.28s)
|
||||||
=== RUN TestEasyStart
|
=== RUN TestEasyStart
|
||||||
--- PASS: TestEasyStart (0.00s)
|
--- PASS: TestEasyStart (0.00s)
|
||||||
PASS
|
PASS
|
||||||
ok apigo.cc/go/watch 0.849s
|
ok apigo.cc/go/watch 2.028s
|
||||||
```
|
```
|
||||||
|
|
||||||
## 性能测试结果 (Benchmark)
|
## 性能测试结果 (Benchmark)
|
||||||
```
|
```
|
||||||
BenchmarkIsMatch-16 15307893 74.12 ns/op 0 B/op 0 allocs/op
|
BenchmarkIsMatch-16 14138798 84.94 ns/op
|
||||||
BenchmarkIsExcluded-16 45664744 26.09 ns/op 0 B/op 0 allocs/op
|
BenchmarkIsExcluded-16 49184965 23.74 ns/op
|
||||||
BenchmarkDebounce-16 3345813 369.3 ns/op 224 B/op 5 allocs/op
|
BenchmarkDebounce-16 3307248 378.8 ns/op
|
||||||
|
BenchmarkKeyGeneration-16 27976675 44.53 ns/op
|
||||||
|
BenchmarkKeyGenerationWithFmt-16 6969997 169.7 ns/op
|
||||||
```
|
```
|
||||||
|
|
||||||
## 测试覆盖场景
|
## 测试覆盖场景
|
||||||
|
|||||||
12
go.mod
12
go.mod
@ -3,19 +3,19 @@ module apigo.cc/go/watch
|
|||||||
go 1.25.0
|
go 1.25.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
apigo.cc/go/file v1.5.4
|
apigo.cc/go/file v1.5.5
|
||||||
apigo.cc/go/timer v1.5.0
|
apigo.cc/go/timer v1.5.0
|
||||||
github.com/fsnotify/fsnotify v1.10.1
|
github.com/fsnotify/fsnotify v1.10.1
|
||||||
github.com/gobwas/glob v0.2.3
|
github.com/gobwas/glob v0.2.3
|
||||||
)
|
)
|
||||||
|
|
||||||
require apigo.cc/go/jsmod v1.5.2
|
require apigo.cc/go/jsmod v1.5.3
|
||||||
|
|
||||||
require (
|
require (
|
||||||
apigo.cc/go/cast v1.5.2
|
apigo.cc/go/cast v1.5.3
|
||||||
apigo.cc/go/encoding v1.5.3
|
apigo.cc/go/encoding v1.5.4
|
||||||
apigo.cc/go/rand v1.5.2
|
apigo.cc/go/rand v1.5.3
|
||||||
apigo.cc/go/safe v1.5.1
|
apigo.cc/go/safe v1.5.2
|
||||||
github.com/kr/text v0.2.0 // indirect
|
github.com/kr/text v0.2.0 // 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user