creating test code for performance measurement