Apache Ant Profiler [closed]

萝らか妹 提交于 2020-01-11 02:01:51

问题


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

Thanks


回答1:


Ant has two related features to allow the build process to be monitored => listeners and loggers :

  • Ant >= 1.8.x ships with the ProfileLogger
  • Ant statistics, a logger that logs executions times for all targets, and graphs them over the time
  • Performance Monitor from antcontrib, a listener that keeps track of the amount of time that each target and task takes to execute and prints a final summary

or write your own.




回答2:


YourKit YouMonitor is able to profile Ant, Maven, Gradle and many other build tools https://www.yourkit.com/youmonitor/

disclaimer: I work for YourKit



来源:https://stackoverflow.com/questions/13093181/apache-ant-profiler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!