compare the performance of different api , check the new feartures in latest jdk