It's not really relative. It's very varying depending on your tasks, location and environment and kind of restaurant.
We were at a very stressful location and working at another location could be a huge relief because of lower load. I would imagine the work environment would have to go to absolute trash for the dev job to come close.
If you say restaurant, it feel like it's not fast food, and the average differences in wages, hours, stress level and customer appreciation between establishments called restaurants vs fast food places is probably quite significant.