Be aware there is a slight delay on the GPS because of signal transmission time, but the speedo is instantaneous.
The display on the GPS may actually be an average of several readings, to avoid jitters from multiple readings.
Driving in a straight line the GPS should be fine, but when curving variations are possible.
Also, interruptions to the satellite signal may cause the reading to freeze.
It is possible to be stopped and notice the GPS is still showing movement, while the speedo shows the vehicle is stopped.

