Try using the System.currentMillis() and System.timeNanos() methods.
Set a long number to the time before and after you run your method, and print out the difference. It will probably only be a microsecond or so, so you will probably find the nanosecond method more useful.
If it doesn't work, it is because I have given you the wrong name for the methods.
CR
And I have gone back to the post to add:
Remember to tell us which works faster.
[ April 15, 2006: Message edited by: Campbell Ritchie ]