US clothing retailer Gap Inc has posted a 51% jump in second quarter profit which it has attributed to a combination of driving healthy margins and tightly managing costs despite falling sales.