Adding memory benchmark