I will never understand why people ask these bizarre open-ended questions :roll:
Performance at doing what task?
As an exercise for the student - your task is to go study the JavaDocs for these two classes. Look at the functionality in each one and decide for yourself which class is suitable for your particular problem. If both will handle your job, examine the API (and if necessary, the source code) to determine which class does more work to accomplish its functions.
That is homework to be handed in next week.
Bill