It's complicated. According to coriolis.eddc, the Cobra with the default drives pitches and rolls slightly (~10%) faster, the Viper yaws much (~50%) better.
Tack on the best available drives for each ship with a random DD3 mod, and the balance for the maneouverability shifts a bit further towards the Cobra, although the top speed of the Viper is greater.