 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Michael Guest
|
Posted: Tue Nov 30, 2004 5:27 am Post subject: Maximum Java performance on a Windows 2K platform with JDK |
|
|
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)
From my experience, I am guessing it's threahold is about 10ms.
I have an application which needs to have near real-time performance for
one or more components in the architecture.
|
|
| Back to top |
|
 |
Grant Wagner Guest
|
Posted: Tue Nov 30, 2004 4:08 pm Post subject: Re: Maximum Java performance on a Windows 2K platform with |
|
|
Michael wrote:
| Quote: | 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.
| Quote: | 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 />
| Quote: | 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 (AT) agricoreunited (DOT) com>
|
|
| Back to top |
|
 |
Steve W. Jackson Guest
|
Posted: Tue Nov 30, 2004 4:41 pm Post subject: Re: Maximum Java performance on a Windows 2K platform with |
|
|
In article <c4Kdndai5Iw-mTHcRVn-sQ (AT) comcast (DOT) com>,
Michael <p2 (AT) alphasoft-inc (DOT) com> wrote:
| Quote: | :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)
:
: From my experience, I am guessing it's threahold is about 10ms.
:
:I have an application which needs to have near real-time performance for
:one or more components in the architecture.
|
Best performance doing what? It depends on details.
--
Steve W. Jackson
Montgomery, Alabama
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|