/usr/share/doc/libantelope-java/manual/bk03ch27.html is in libantelope-java-doc 3.5.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 27. Performance Monitoring</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="Antelope Users Guide"><link rel="up" href="bk03.html" title="Additional Ant Tasks"><link rel="prev" href="bk03ch26.html" title="Chapter 26. TestCase Task"><link rel="next" href="bk03ch28.html" title="Chapter 28. Feedback"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 27. Performance Monitoring</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk03ch26.html">Prev</a> </td><th width="60%" align="center">Additional Ant Tasks</th><td width="20%" align="right"> <a accesskey="n" href="bk03ch28.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="performance"></a>Chapter 27. Performance Monitoring</h1></div></div></div>
@style@
<p>
In addition to the tasks described in this manual, Antelope also ships with a special Ant listener than can keep track of the amount of time that each target and task takes to execute. At the end of the build, these times will be sorted from fastest to slowest and displayed following the build output. This can be useful to pinpoint slow and/or inefficient spots in the build process and identify those areas that could benefit from optimization.
</p><p>
The performance listener can be used outside of Antelope by passing a parameter to the command line for Ant:
</p><p>
</p><pre class="programlisting">
ant -listener ise.antelope.common.AntPerformanceListener target
</pre><p>
</p><p>
Following is an example of the results from using the listener. The result format is projectname.targetname for targets and projectname.targetname.taskname for tasks. All times are shown to the nearest millisecond.
</p><pre class="programlisting">
[danson@blackdog antelope]$ ant -listener ise.antelope.common.AntPerformanceListener dist
Buildfile: build.xml
init:
clean:
[delete] Deleting 170 files from /home/danson/apps/antelope/build
compile:
[javac] Compiling 61 source files to /home/danson/apps/antelope/build
all:
-build_number:
prep_files:
[delete] Deleting 3 files from /home/danson/apps/antelope/config
[copy] Copying 3 files to /home/danson/apps/antelope/config
combined:
[echo] basedir = /home/danson/apps/antelope
[jar] Building jar: /home/danson/apps/antelope/Antelope_1.208.jar
dist:
[delete] Deleting 4 files from /home/danson/apps/antelope/dist
[zip] Building zip: /home/danson/apps/antelope/dist/Antelope_1.208.zip
[echo] Created zip file.
-zip_docs:
[zip] Building zip: /home/danson/apps/antelope/dist/Antelope_docs_1.208.zip
[echo] Zipped docs to Antelope_docs_1.208.zip.
-zip_tasks:
[jar] Building jar: /tmp/Antelope_tasks_1.208.jar
[zip] Building zip: /home/danson/apps/antelope/dist/Antelope_tasks_1.208.zip
[delete] Deleting: /tmp/Antelope_tasks_1.208.jar
[echo] Zipped tasks to Antelope_tasks_1.208.zip.
[copy] Copying 1 file to /home/danson/apps/antelope/dist
BUILD SUCCESSFUL
Total time: 8 seconds
-------------- Target Results -----------------------
Antelope.all: 0.000 sec
Antelope.init: 0.011 sec
Antelope.-build_number: 0.014 sec
Antelope.clean: 0.233 sec
Antelope.-zip_tasks: 0.297 sec
Antelope.prep_files: 0.311 sec
Antelope.-zip_docs: 0.546 sec
Antelope.combined: 1.290 sec
Antelope.compile: 1.724 sec
Antelope.dist: 2.162 sec
-------------- Task Results -----------------------
Antelope.init.mkdir: 0.000 sec
Antelope.init.mkdir: 0.001 sec
Antelope.dist.echo: 0.002 sec
Antelope.prep_files.delete: 0.004 sec
Antelope.combined.echo: 0.005 sec
Antelope.dist.delete: 0.006 sec
Antelope.-zip_tasks.echo: 0.007 sec
Antelope.dist.copy: 0.011 sec
Antelope.-build_number.buildnumber: 0.014 sec
Antelope.compile.copy: 0.016 sec
Antelope.prep_files.copy: 0.020 sec
Antelope.prep_files.replace: 0.071 sec
Antelope.-zip_tasks.zip: 0.122 sec
Antelope.-zip_tasks.jar: 0.161 sec
Antelope.prep_files.replace: 0.216 sec
Antelope.clean.delete: 0.233 sec
Antelope.dist.antcall: 0.421 sec
Antelope.-zip_docs.zip: 0.540 sec
Antelope.dist.antcall: 0.685 sec
Antelope.dist.zip: 1.036 sec
Antelope.combined.jar: 1.284 sec
Antelope.compile.javac: 1.708 sec
-------------- Totals -----------------------
Start time: Thu, 5 Dec 2002 17:18:30
Stop time: Thu, 5 Dec 2002 17:18:39
Total time: 8.476 sec
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk03ch26.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03ch28.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 26. TestCase Task </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 28. Feedback</td></tr></table></div></body></html>
|