add memory performance testing