Finished R framework for performance testing