| 1 | {{{ |
| 2 | #!html |
| 3 | |
| 4 | <h1 align=center>PANC−BUILD−STATS</h1> |
| 5 | <a href="#NAME">NAME</a><br> |
| 6 | <a href="#SYNOPSIS">SYNOPSIS</a><br> |
| 7 | <a href="#DESCRIPTION">DESCRIPTION</a><br> |
| 8 | <a href="#EXAMPLE">EXAMPLE</a><br> |
| 9 | <a href="#AUTHOR">AUTHOR</a><br> |
| 10 | |
| 11 | <hr> |
| 12 | <a name="NAME"></a> |
| 13 | <h2>NAME</h2> |
| 14 | <!-- INDENTATION --> |
| 15 | <table width="100%" border=0 rules="none" frame="void" |
| 16 | cols="2" cellspacing="0" cellpadding="0"> |
| 17 | <tr valign="top" align="left"> |
| 18 | <td width="10%"></td> |
| 19 | <td width="89%"> |
| 20 | <p>panc-build-stats.pl − create a report of panc build |
| 21 | statistics</p> |
| 22 | </td> |
| 23 | </table> |
| 24 | <a name="SYNOPSIS"></a> |
| 25 | <h2>SYNOPSIS</h2> |
| 26 | <!-- INDENTATION --> |
| 27 | <table width="100%" border=0 rules="none" frame="void" |
| 28 | cols="2" cellspacing="0" cellpadding="0"> |
| 29 | <tr valign="top" align="left"> |
| 30 | <td width="10%"></td> |
| 31 | <td width="89%"> |
| 32 | <p><b>panc−build−stats.pl</b> |
| 33 | [<b>−−help</b>] {logfile}</p> |
| 34 | </td> |
| 35 | </table> |
| 36 | <a name="DESCRIPTION"></a> |
| 37 | <h2>DESCRIPTION</h2> |
| 38 | <!-- INDENTATION --> |
| 39 | <table width="100%" border=0 rules="none" frame="void" |
| 40 | cols="2" cellspacing="0" cellpadding="0"> |
| 41 | <tr valign="top" align="left"> |
| 42 | <td width="10%"></td> |
| 43 | <td width="89%"> |
| 44 | <p>The <b>panc−build−stats.pl</b> script will |
| 45 | analyze a panc log file and report build statistics. The |
| 46 | script takes the name of the log file as its only argument. |
| 47 | If no argument is given or the <b>−−help</b> |
| 48 | option is used, a short usage message is printed. <i>The log |
| 49 | file must have been created with "task" logging |
| 50 | enabled.</i></p> |
| 51 | <!-- INDENTATION --> |
| 52 | <p>The script will extract the time required to execute, to |
| 53 | set default values, to validate the configuration, to write |
| 54 | the XML file, and to write a dependency file. It will also |
| 55 | report the "build" time which is the time for |
| 56 | executing, setting defaults, and validating an object |
| 57 | file.</p> |
| 58 | <!-- INDENTATION --> |
| 59 | <p>The analysis is written to the standard output, but may |
| 60 | be saved in a file using standard IO stream redirection. The |
| 61 | format of the file is appropriate for the R statistical |
| 62 | analysis package, but should be trivial to import into excel |
| 63 | or any other analysis package.</p> |
| 64 | </td> |
| 65 | </table> |
| 66 | <a name="EXAMPLE"></a> |
| 67 | <h2>EXAMPLE</h2> |
| 68 | <!-- INDENTATION --> |
| 69 | <table width="100%" border=0 rules="none" frame="void" |
| 70 | cols="2" cellspacing="0" cellpadding="0"> |
| 71 | <tr valign="top" align="left"> |
| 72 | <td width="10%"></td> |
| 73 | <td width="89%"> |
| 74 | <p>If the output from the command is written to the file |
| 75 | build.txt, then the following R script will do a simple |
| 76 | analysis of the results. This will provide statistical |
| 77 | results on the various build phases and show histograms of |
| 78 | the distributions.</p> |
| 79 | </td> |
| 80 | </table> |
| 81 | <!-- INDENTATION --> |
| 82 | <table width="100%" border=0 rules="none" frame="void" |
| 83 | cols="2" cellspacing="0" cellpadding="0"> |
| 84 | <tr valign="top" align="left"> |
| 85 | <td width="16%"></td> |
| 86 | <td width="83%"> |
| 87 | <pre><small># R−script for simple analysis of build report |
| 88 | bstats <− read.table("build.txt") |
| 89 | attach(bstats) |
| 90 | summary(bstats) |
| 91 | hist(build, nclass=20) |
| 92 | hist(execute, nclass=20) |
| 93 | hist(execute, nclass=20) |
| 94 | hist(defaults, nclass=20) |
| 95 | hist(validation, nclass=20) |
| 96 | hist(xml, nclass=20) |
| 97 | hist(dep, nclass=20) |
| 98 | detach(bstats) |
| 99 | </small></pre> |
| 100 | </td> |
| 101 | </table> |
| 102 | <a name="AUTHOR"></a> |
| 103 | <h2>AUTHOR</h2> |
| 104 | <!-- INDENTATION --> |
| 105 | |
| 106 | <table width="100%" border=0 rules="none" frame="void" |
| 107 | cols="2" cellspacing="0" cellpadding="0"> |
| 108 | <tr valign="top" align="left"> |
| 109 | <td width="10%"></td> |
| 110 | <td width="89%"> |
| 111 | <p><b>Charles Loomis</b></p></td> |
| 112 | </table> |
| 113 | <!-- INDENTATION --> |
| 114 | <table width="100%" border=0 rules="none" frame="void" |
| 115 | cols="2" cellspacing="0" cellpadding="0"> |
| 116 | <tr valign="top" align="left"> |
| 117 | <td width="16%"></td> |
| 118 | <td width="83%"> |
| 119 | </table> |
| 120 | }}} |