GrubHub Inc reported a slump in quarterly profit on Tuesday, hurt by soaring costs as the online food delivery company faces off against rivals Uber Eats and DoorDash, sending its stock down 6% in trading before the bell.