如何通过命令来查看接口具体位置的耗时情况
- 首先
- 然后找到需要执行查看耗时的方法
- 执行查询命令 trace
首先
使用这个命令
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
然后找到需要执行查看耗时的方法

复制出来的 是 com.a.tms.api.service.tmstojsd.impl.TmsToJsdApiServiceImpl***#***backJSDNoOrderSign
带有井号的注意
执行查询命令 trace
注意将复制出来的方法路径中的井号 替换为 空格
trace com.a.tms.api.service.impl.WaybillServiceImpl batchFill

这里是如何分析耗时情况


















![[16] 使用Opencv_CUDA 实现访问图像像素、直方图均衡化、几何变换](https://img-blog.csdnimg.cn/direct/b50d91de48d24ad98f8aa32b71acca3e.png)
