开发环境性能测试

java开发中为了测试开发性能以及效率使用spring的StopWatch,使用方式: 

StopWatch watch = new StopWatch("标题描述");
watch.start("taskName");
//todo 业务代码
watch.stop();

//输出watch即可

猜你喜欢

转载自blog.csdn.net/Developer_wangxh/article/details/81460268