Two very different races. Here's every stat, side by side, to help you pick.
Indicative — based on GPX data. Both courses normalised to start at 0m.
✓ marks the better number on that stat.
Two friendly British Isles marathons with opposite profiles. Dublin is an October loop through Phoenix Park, Chapelizod and the southside suburbs, with 216m of gain, a difficulty score of 4.4 and climbs in the final 10 km. Edinburgh is a May point-to-point from the city centre around Holyrood Park and along the East Lothian coast to Musselburgh, with 101m of gain and 196m of loss, so it finishes well below where it starts. Its difficulty score is 2.1.
Dublin's field is nearly twice the size of Edinburgh's, at about 18,900 finishers against 9,900, and it runs later in the year. Pick Edinburgh for a net-downhill, quick course in late spring, and Dublin for a bigger crowd on a loop that makes you work in the last miles.