From be01a9cc923592f203da9e54d2f27f716c3dfb90 Mon Sep 17 00:00:00 2001 From: knight0zh Date: Wed, 17 Aug 2022 18:15:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 34bbefb..68439fc 100644 --- a/README.md +++ b/README.md @@ -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 +``` +