Apache Ant的探查[关闭](Apache Ant Profiler [closed])

2019-07-02 17:10发布

Is there an Ant profiler that will run my ant script and tell me how long targets, tasks and operations took to complete?

Thanks

Answer 1:

Ant有两个相关的特征,以允许在生成过程要监视=> 听众和记录器 :

  • 蚂蚁> = 1.8.x的附带ProfileLogger
  • 蚂蚁的统计数据 ,它记录执行时间为所有目标,并用图形他们在时间记录仪
  • 从antcontrib性能监视器 ,用于跟踪的时候,每个目标和任务需要执行的金额并打印最终摘要监听器

或写自己的 。



Answer 2:

YourKit YouMonitor能够剖析蚂蚁,Maven的,摇篮和许多其他的构建工具https://www.yourkit.com/youmonitor/

声明:我YourKit工作



文章来源: Apache Ant Profiler [closed]