wudashan

Results 2 comments of wudashan

# 统计函数耗时–动态代理实现 ``` public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { long start = System.currentMillions(); Object result = method.invoke(target, args); System.out.println("耗时:" + (System.currentMillions() - start)); return result;...