本文介绍了Apache Ant 分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有 Ant
分析器可以运行我的 ant 脚本并告诉我完成目标、任务和操作需要多长时间?
Is there an Ant
profiler that will run my ant script and tell me how long targets, tasks and operations took to complete?
谢谢
推荐答案
Ant 有两个相关的功能可以监控构建过程 => 侦听器和记录器 :
Ant has two related features to allow the build process to be monitored => listeners and loggers :
- Ant >= 1.8.x 附带 ProfileLogger
- Ant 统计数据,一个记录所有目标执行时间的记录器,并将它们绘制成图表时间
- 来自 antcontrib 的性能监视器,一个跟踪每个目标和任务执行和打印最终摘要所需的时间
- 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
或自己编写.
这篇关于Apache Ant 分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!