I noticed a pretty large ~30 fps drop migrating from 5.0 to 5.1, but it ended up being a migration bug that was fixed by manually migrating to a blank 5.1 project.
However yeah, the template I used in 4.27 seemed to run much faster than the same template in 5.0.