There are many forum threads that discuss this issue in detail (such as this one). In the end, flight performance depends on many factors including:
If you use a small drone in high wind with a low performance device that is low on battery and in direct sunlight on a hot day, you cannot expect the same performance as a large drone on a calm day with a brand new iPad Pro in 70 degree weather. When in doubt, try to mitigate as many of these factors as you can, the easiest of which are the flight path and speed (round out the corners and slow it down).
Virtual stick missions have a 200ms round-trip latency, meaning onboard code will always have an advantage with respect to smoothness. We have been able to achieve great results with many different drones and devices in a variety of conditions, but some virtual stick only drones use wifi for control (such as the Mavic Mini). The signal latency on these drones can be greatly impacted in urban environments with high signal interference from other wifi networks and communication systems. If you need to fly in these types of locations, consider upgrading to a drone that uses DJI's OcuSync / Lightbridge technology or upgrade to a drone that supports onboard waypoints.
Why does the drone fly off course or make jerky movements during certain mission plans?