bench程序: 增加单个IP段,检查5个IP,与其它语言保持一致
This commit is contained in:
parent
c6358117b4
commit
573c259c76
|
|
@ -123,7 +123,7 @@ options:
|
||||||
src: ../../data/ip2region.xdb
|
src: ../../data/ip2region.xdb
|
||||||
cache-policy: content
|
cache-policy: content
|
||||||
|
|
||||||
Bench finished, {cachePolicy: content, total: 683591, took: 5.018973507s, cost: 0.007342070780627597μs/op}
|
Bench finished, {cachePolicy: content, total: 3417955, took: 19.587147156s, cost: 0.005730662678707005μs/op}
|
||||||
```
|
```
|
||||||
|
|
||||||
可以通过分别设置 `cache-policy` 为 file/vectorIndex/content 来测试三种不同缓存实现的效果。
|
可以通过分别设置 `cache-policy` 为 file/vectorIndex/content 来测试三种不同缓存实现的效果。
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue