<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://NadeauSoftware.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NadeauSoftware.com articles from March, 2008</title>
 <link>http://NadeauSoftware.com/articles/2008/03</link>
 <description>A list of articles, sorted by title.</description>
 <language>en</language>
<item>
 <title>Java tip: How to get CPU, system, and user time for benchmarking</title>
 <link>http://NadeauSoftware.com/articles/2008/03/java_tip_how_get_cpu_and_user_time_benchmarking</link>
 <description>&lt;p class=&quot;summary&quot;&gt;Performance optimization requires that you measure the time to perform a task, then try algorithm and coding changes to make the task faster. Prior to Java 5, the only way to time a task was to measure wall clock time. Unfortunately, this gives inaccurate results when there is other activity on the system (and there always is). Java 5 introduced the &lt;code&gt;java.lang.management&lt;/code&gt; package and methods to report CPU and user time per thread. These times are not affected by other system activity, making them just what we need for benchmarking. This tip shows how to use them to benchmark your application.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://NadeauSoftware.com/articles/2008/03/java_tip_how_get_cpu_and_user_time_benchmarking&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://NadeauSoftware.com/articles/2008/03/java_tip_how_get_cpu_and_user_time_benchmarking#comments</comments>
 <category domain="http://NadeauSoftware.com/articles/java">Java</category>
 <pubDate>Thu, 20 Mar 2008 08:38:32 -0700</pubDate>
 <dc:creator>Dave_Nadeau</dc:creator>
 <guid isPermaLink="false">75 at http://NadeauSoftware.com</guid>
</item>
</channel>
</rss>
