OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>FindBugs Performance Improvements and Regressions</title> | 3 <title>FindBugs Performance Improvements and Regressions</title> |
4 <link rel="stylesheet" type="text/css" href="findbugs.css"> | 4 <link rel="stylesheet" type="text/css" href="findbugs.css"> |
5 | 5 |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 | 8 |
9 <table width="100%"> | 9 <table width="100%"> |
10 <tr> | 10 <tr> |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> | 37 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> |
38 | 38 |
39 <tr><td> </td></tr> | 39 <tr><td> </td></tr> |
40 | 40 |
41 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs
Swag</b></a></td></tr> | 41 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs
Swag</b></a></td></tr> |
42 | 42 |
43 <tr><td> </td></tr> | 43 <tr><td> </td></tr> |
44 | 44 |
45 <tr><td><b>Development</b></td></tr> | 45 <tr><td><b>Development</b></td></tr> |
46 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/tr
acker/?group_id=96405">Open bugs</a></font></td></tr> | 46 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/p/
findbugs/bugs/">Open bugs</a></font></td></tr> |
47 <tr><td><font size="-1"> <a class="sidebar" href="reportingBugs.html">Repor
ting bugs</a></font></td></tr> | 47 <tr><td><font size="-1"> <a class="sidebar" href="reportingBugs.html">Repor
ting bugs</a></font></td></tr> |
48 <tr><td><font size="-1"> <a class="sidebar" href="contributing.html">Contri
buting</a></font></td></tr> | 48 <tr><td><font size="-1"> <a class="sidebar" href="contributing.html">Contri
buting</a></font></td></tr> |
49 <tr><td><font size="-1"> <a class="sidebar" href="team.html">Dev team</a></
font></td></tr> | 49 <tr><td><font size="-1"> <a class="sidebar" href="team.html">Dev team</a></
font></td></tr> |
50 <tr><td><font size="-1"> <a class="sidebar" href="api/index.html">API</a> <
a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></
tr> | 50 <tr><td><font size="-1"> <a class="sidebar" href="api/index.html">API</a> <
a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></
tr> |
51 <tr><td><font size="-1"> <a class="sidebar" href="Changes.html">Change log<
/a></font></td></tr> | 51 <tr><td><font size="-1"> <a class="sidebar" href="Changes.html">Change log<
/a></font></td></tr> |
52 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/pr
ojects/findbugs">SF project page</a></font></td></tr> | 52 <tr><td><font size="-1"> <a class="sidebar" href="http://sourceforge.net/pr
ojects/findbugs">SF project page</a></font></td></tr> |
53 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/browse/">Browse source</a></font></td></tr> | 53 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/browse/">Browse source</a></font></td></tr> |
54 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/list">Latest code changes</a></font></td></tr> | 54 <tr><td><font size="-1"> <a class="sidebar" href="http://code.google.com/p/
findbugs/source/list">Latest code changes</a></font></td></tr> |
55 </table> | 55 </table> |
56 </td> | 56 </td> |
57 | 57 |
58 <td align="left" valign="top"> | 58 <td align="left" valign="top"> |
59 | 59 |
60 <h1>FindBugs Performance Improvements and Regressions</h1> I did
a performance check against 179 | 60 <h1>FindBugs Performance Improvements and Regressions</h1> I did
a performance check against 179 |
61 benchmarks applications I regularly test against. Overall (total
the total time to analyze all 179 | 61 benchmarks applications I regularly test against. Overall (total
the total time to analyze all 179 |
62 benchmarks), FindBugs 2.0 gives a 9% performance improvement ove
r 1.3.9. 154 of the 179 benchmarks saw | 62 benchmarks), FindBugs 2.0 gives a 9% performance improvement ove
r 1.3.9. 154 of the 179 benchmarks saw |
63 performance improvements; 24 saw regressions. All of the benchma
rks that saw regressions of more than | 63 performance improvements; 24 saw regressions. All of the benchma
rks that saw regressions of more than |
64 10% were small benchmarks (analyzed in less than 60 seconds), wh
ich makes consistent benchmarking | 64 10% were small benchmarks (analyzed in less than 60 seconds), wh
ich makes consistent benchmarking |
65 particularly difficult. I'm working to repeat the benchmarks, se
e if the results are consistent. I took | 65 particularly difficult. I'm working to repeat the benchmarks, se
e if the results are consistent. I took |
66 a look, and couldn't find anything that stood out as being a per
formance glitch in FindBugs. I haven't | 66 a look, and couldn't find anything that stood out as being a per
formance glitch in FindBugs. I haven't |
67 yet done benchmarking with constrained memory. It is possible th
at you may need to increase the heap | 67 yet done benchmarking with constrained memory. It is possible th
at you may need to increase the heap |
68 size for FindBugs 2.0. | 68 size for FindBugs 2.0. |
69 | 69 |
70 <h2>Important Request</h2> | 70 <h2>Important Request</h2> |
71 <p> If you are seeing any significant performance regressions in
FindBugs 2.0, | 71 <p> If you are seeing any significant performance regressions in
FindBugs 2.0, |
72 I very much need your help. Please either email <a href="mailto:
findbugs@cs.umd.edu">findbugs@cs.umd.edu</a> | 72 I very much need your help. Please either email <a href="mailto:
findbugs@cs.umd.edu">findbugs@cs.umd.edu</a> |
73 or file <a href="http://sourceforge.net/tracker/?atid=614693&
;group_id=96405&func=browse">a | 73 or file <a href="http://sourceforge.net/p/findbugs/_list/tickets
?source=navbar">a |
74 bug report</a>. with the following information from the
xml file for your project (from both the | 74 bug report</a>. with the following information from the
xml file for your project (from both the |
75 1.3.9 and 2.0.0 version if possible). Sending me your code or po
inting me to a open source repository | 75 1.3.9 and 2.0.0 version if possible). Sending me your code or po
inting me to a open source repository |
76 would be great, but I know that isn't feasible for a lot of proj
ects. The information I'm requesting | 76 would be great, but I know that isn't feasible for a lot of proj
ects. The information I'm requesting |
77 doesn't include any information about the code being analyzed ot
her than the total size of the code | 77 doesn't include any information about the code being analyzed ot
her than the total size of the code |
78 being analyzed and the total number of issues found at the diffe
rent confidence levels. The | 78 being analyzed and the total number of issues found at the diffe
rent confidence levels. The |
79 <FindBugsSummary ... > start tag. For example: <quote> <pr
e> | 79 <FindBugsSummary ... > start tag. For example: <quote> <pr
e> |
80 <FindBugsSummary timestamp="Tue, 30 Dec 2008 21:29:52 -0500" | 80 <FindBugsSummary timestamp="Tue, 30 Dec 2008 21:29:52 -0500" |
81 total_classes="206" referenced_classes="325" total_bugs="72" total_size="7
654" num_packages="21" | 81 total_classes="206" referenced_classes="325" total_bugs="72" total_size="7
654" num_packages="21" |
82 vm_version="20.4-b02-402" cpu_seconds="62.52" clock_seconds="22.01" | 82 vm_version="20.4-b02-402" cpu_seconds="62.52" clock_seconds="22.01" |
83 peak_mbytes="112.21" alloc_mbytes="1683.38" gc_seconds="1.19" | 83 peak_mbytes="112.21" alloc_mbytes="1683.38" gc_seconds="1.19" |
84 priority_3="56" priority_2="14" priority_1="2"> | 84 priority_3="56" priority_2="14" priority_1="2"> |
85 </pre> </quote> The <FindBugsProfile>...</FindBugsProfile> element.
For example: <quote> | 85 </pre> </quote> The <FindBugsProfile>...</FindBugsProfile> element.
For example: <quote> |
86 <pre> | 86 <pre> |
87 <FindBugsProfile> | 87 <FindBugsProfile> |
88 <ClassProfile name="edu.umd.cs.findbugs.detect.IncompatMask" totalMilli
seconds="11" | 88 <ClassProfile name="edu.umd.cs.findbugs.detect.IncompatMask" totalMilli
seconds="11" |
89 invocations="206" avgMicrosecondsPerInvocation="55" maxMicrosecondsPerIn
vocation="475" | 89 invocations="206" avgMicrosecondsPerInvocation="55" maxMicrosecondsPerIn
vocation="475" |
90 standardDeviationMircosecondsPerInvocation="75"/> | 90 standardDeviationMircosecondsPerInvocation="75"/> |
91 <ClassProfile name="edu.umd.cs.findbugs.detect.FindFinalizeInvocations"
totalMilliseconds="11" | 91 <ClassProfile name="edu.umd.cs.findbugs.detect.FindFinalizeInvocations"
totalMilliseconds="11" |
92 invocations="206" avgMicrosecondsPerInvocation="55" maxMicrosecondsPerIn
vocation="402" | 92 invocations="206" avgMicrosecondsPerInvocation="55" maxMicrosecondsPerIn
vocation="402" |
93 standardDeviationMircosecondsPerInvocation="69"/> | 93 standardDeviationMircosecondsPerInvocation="69"/> |
94 <ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.LockDataf
lowFactory" totalMilliseconds="11" | 94 <ClassProfile name="edu.umd.cs.findbugs.classfile.engine.bcel.LockDataf
lowFactory" totalMilliseconds="11" |
95 invocations="23" avgMicrosecondsPerInvocation="515" maxMicrosecondsPerIn
vocation="2637" | 95 invocations="23" avgMicrosecondsPerInvocation="515" maxMicrosecondsPerIn
vocation="2637" |
96 standardDeviationMircosecondsPerInvocation="639"/> | 96 standardDeviationMircosecondsPerInvocation="639"/> |
97 ... | 97 ... |
98 </FindBugsProfile> | 98 </FindBugsProfile> |
99 </pre> </quote> | 99 </pre> </quote> |
100 <hr> <p> | 100 <hr> <p> |
101 <script language="JavaScript" type="text/javascript"> | 101 <script language="JavaScript" type="text/javascript"> |
102 <!---//hide script from old browsers | 102 <!---//hide script from old browsers |
103 document.write( "Last updated "+ document.lastModified + "." ); | 103 document.write( "Last updated "+ document.lastModified + "." ); |
104 //end hiding contents ---> | 104 //end hiding contents ---> |
105 </script> | 105 </script> |
106 <p> Send comments to <a class="sidebar" href="mailto:findbugs@cs.umd.edu">findbu
gs@cs.umd.edu</a> | 106 <p> Send comments to <a class="sidebar" href="mailto:findbugs@cs.umd.edu">findbu
gs@cs.umd.edu</a> |
107 <p> | 107 <p> |
108 <A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?gro
up_id=96405&type=5" width="210" height="62" border="0" alt="SourceForge.net
Logo" /></A> | 108 <a href="http://sourceforge.net/projects/findbugs/"><img src="http://sourceforge
.net/sflogo.php?group_id=96405&type=5" width="210" height="62" border="0" al
t="FindBugs on SourceForge.net" /></a> |
109 | 109 |
110 </td> | 110 </td> |
111 | 111 |
112 </tr> | 112 </tr> |
113 </table> | 113 </table> |
114 | 114 |
115 </body> | 115 </body> |
116 </html> | 116 </html> |
OLD | NEW |