From b329a077b943e39493495d22d638debce733a984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Mon, 22 Nov 2021 21:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B6=85=E6=97=B6=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BatchTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BatchTest.java b/src/BatchTest.java index 99accdc..140ea85 100644 --- a/src/BatchTest.java +++ b/src/BatchTest.java @@ -113,7 +113,7 @@ public class BatchTest { synchronized (this) { if (count.longValue() % 1000 == 0) { stopWatch.stop(); - System.out.println("已标准化处理" + count.longValue() + "条地址, 耗时:" + stopWatch.getTotalTimeMillis()); + System.out.println("已标准化处理" + count.longValue() + "条地址, 耗时:" + stopWatch.getTotalTimeSeconds() / 60); stopWatch.start(); } } @@ -122,7 +122,7 @@ public class BatchTest { } latch.await(); stopWatch.stop(); - System.out.println("已完成该批次地址标准化,耗时" + stopWatch.getTotalTimeMillis()); + System.out.println("已完成该批次地址标准化,耗时" + stopWatch.getTotalTimeSeconds() / 60); for (List data : dataList) { String address = "";