publicclassPerformanceTest{publicstaticvoidmain(String[]args){longstartTime=System.currentTimeMillis();// 调用待测试的方法testMethod();longendTime=System.currentTimeMillis();longelapsedTime=endTime-startTime;System.out.println("方法运行时间:"+elapsedTime+"毫秒");}publicstaticvoidtestMethod(){// TOD...