with kk AS(
SELECT TOP 2000
total_worker_time/1000 AS [总消耗CPU 时间(ms)],execution_count [运行次数],
qs.total_worker_time/qs.execution_count/1000 AS [平均消耗CPU 时间(ms)],
last_execution_time AS...
Java给各个方法记录执行时间
long startTime = System.currentTimeMillis();...//要测试时间的方法LoggerFactory.getLogger(BaseExcelExport.class).warn("查询耗时:"+(System.currentTimeMillis()-startTime)+"...