This commit is contained in:
Jiakuang He 2023-09-21 16:37:18 +08:00 committed by GitHub
commit dd169c7f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -80,8 +80,9 @@ public class SearcherTest {
}
// 3、查询
String ip = "";
try {
String ip = "1.2.3.4";
ip = "1.2.3.4";
long sTime = System.nanoTime();
String region = searcher.search(ip);
long cost = TimeUnit.NANOSECONDS.toMicros((long) (System.nanoTime() - sTime));
@ -129,8 +130,9 @@ public class SearcherTest {
}
// 3、查询
String ip = "";
try {
String ip = "1.2.3.4";
ip = "1.2.3.4";
long sTime = System.nanoTime();
String region = searcher.search(ip);
long cost = TimeUnit.NANOSECONDS.toMicros((long) (System.nanoTime() - sTime));