This commit is contained in:
knight0zh
2022-08-17 18:15:43 +08:00
parent d18f22e8f8
commit be01a9cc92

View File

@@ -5,3 +5,14 @@
- 九宫格
- 四叉树
```shell
go test -bench=. -benchmem
goos: darwin
goarch: amd64
pkg: code.corp.ecoplants.tech/cloud/meta/atools/aoi
cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkGridManger-12 30 43034352 ns/op 18078476 B/op 130843 allocs/op
BenchmarkQuadtree-12 100 31404461 ns/op 9761675 B/op 112047 allocs/op
```