Re: Test the Speed of 2 programs
- From: "Andrew Thompson" <andrewthommo@xxxxxxxxx>
- Date: 27 Sep 2006 19:40:46 -0700
IveCal wrote:
Hello... I have 2 progs, A and B. I want to know which of the 2 runs
faster. I just cant use Date to display the when the progs start and
end because I want to see the difference in milliseconds/ ...
java.util.Date.Date() (JavaDocs for no-args constructor)
"Allocates a Date object and initializes it so that it represents
the time at which it was allocated, measured to the
*nearest* *millisecond*...."
( though if you do not want to deal with objects, see..
java.lang.System.currentTimeMillis() )
Andrew T.
.
- References:
- Test the Speed of 2 programs
- From: IveCal
- Test the Speed of 2 programs
- Prev by Date: Re: Permutations
- Next by Date: Passing user credentials to child processes
- Previous by thread: Test the Speed of 2 programs
- Next by thread: Re: Test the Speed of 2 programs
- Index(es):