Which database drivers do you want to compare? Since each implementation of type2 and type4 drivers are different, performance will vary within each type. The key is to find one that works for your situation( meets your functionality specs and performance expectations ) and best fits into your implementation plans.
Personally, I've found the type 4 easier to work with and deploy, and performance has been more than acceptable( Oracle's thin drivers ).
You might want to have a look through
this chapter of Java Programming with Oracle
JDBC. This compares Oracle's type 2 (OCI) and type 4 (thin) driver implementations.
Jamie