I'd recommend putting up with the 777 for 6 hours (likely to be just over 5) in economy and upgrade the A380.
14 hours is enough time to make the most of the flat bed (angled on 777), IFE, food (at least two full meals on that flight, probably woth a snack too) and bar area.