Re: Maximum Java performance on a Windows 2K platform with JDK 1.4
From: Grant Wagner (gwagner_at_agricoreunited.com)
Date: 11/30/04
- Next message: PeterHanspopel: "hallo"
- Previous message: Chris Smith: "Re: ADT's vs. interfaces"
- In reply to: Michael: "Maximum Java performance on a Windows 2K platform with JDK 1.4"
- Next in thread: Steve W. Jackson: "Re: Maximum Java performance on a Windows 2K platform with JDK 1.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Nov 2004 16:08:06 GMT
Michael wrote:
> Hi,
>
> I was wondering if anyone knew what is the best performance (in ms) I
> can get from a
> Java program (assuming it has all the CPU time it can use)
I'm not sure what this means. Even the simplest Java program will have
significant startup costs, resulting in an execution time from "java
YourProgram" to exit of several thousand milliseconds.
> From my experience, I am guessing it's threahold is about 10ms.
If you're talking about the accuracy of System.currentTimeMillis(), that's
platform dependant. In the case of Windows:
<url: http://mindprod.com/jgloss/time.html />
> I have an application which needs to have near real-time performance for
> one or more components in the architecture.
Java (where the garbage collector can kick in any time) is the wrong
technology to use if you need real-time performance. Although there is a
Real Time Specification for Java <url: https://rtsj.dev.java.net />, I don't
know if there's any production implementation of the spec.
-- Grant Wagner <gwagner@agricoreunited.com>
- Next message: PeterHanspopel: "hallo"
- Previous message: Chris Smith: "Re: ADT's vs. interfaces"
- In reply to: Michael: "Maximum Java performance on a Windows 2K platform with JDK 1.4"
- Next in thread: Steve W. Jackson: "Re: Maximum Java performance on a Windows 2K platform with JDK 1.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|