Added the code for the performance test for design2.