cc:
Subject: Re: java Date related classes
synchronization bottlenecks
On Fri, Jul 11, 2003 at 08:57:54AM -0700, David Rees wrote:
>
> System 4:
> Dual Mips R10k 225MHz, SGI Java 1.4.1 SGI IRIX
I was mistaken about the CPU freq of this machine, it really has 2 R10k
180MHz CPUs, not 225MHz.
-Dave
-
On Fri, Jul 11, 2003 at 10:10:21AM -0700, James Courtney wrote:
> I didn't see an attachment that time. Thanks as this is interesting
> stuff for Java development of any kind, not just Tomcat!
Stupid me. Is attached now.
-Dave
import java.sql.*;
import java.util.*;
public class TestDatePerf
EMAIL PROTECTED]
Subject: Re: java Date related classes synchronization bottlenecks
David Cassidy said:
>
> I've done some tests with the below code
> hope this helps
David,
Could you give this version a try, and run it for 1 million iterations
instead of just 10k? I'll be po
Here are the results from the last version of the TestDatePerf program I
sent out. Below are the results from 3 different systems when run for 1
million iterations.
Here's how I interpret the results:
The program verifies the synchronization performance issue.
Dual-CPU machines take a huge perfo
David Cassidy said:
>
> I've done some tests with the below code
> hope this helps
David,
Could you give this version a try, and run it for 1 million iterations
instead of just 10k? I'll be posting my results shortly for a couple of
different machines shortly. The new version keeps the theoreti
t: Re: java Date related classes
synchronization bottlenecks
11/07/2003 02:52
On Thu, Jul 10, 2003 at 05:46:06PM -0500, Glenn Nielsen wrote:
>
> Now use jar to unarchive the src.jar file in your java SDK.
> Take a look at the java.sql.Timestamp.toString() method which the FileLogger
> above uses.
>
> To verify this look at the source for java.util.Date.getField().
Yes, th