查看代码段查询慢时间
long timeMillisStart = System.currentTimeMillis(); long timeMillis = System.currentTimeMillis(); long functionTimess = timeMillis - timeMillisStart; System.out.println("map之前"+functionTimess);
long timeMillisStart = System.currentTimeMillis(); long timeMillis = System.currentTimeMillis(); long functionTimess = timeMillis - timeMillisStart; System.out.println("map之前"+functionTimess);