The ST1S10 is a switching regulator with a free-running oscillator whose frequency accuracy cannot be compared to a crystal oscillator. In the datasheet, page 9 of the ST1S10, the frequency range is given when SYNC is connected to GND:
PWM fs - PWM switching frequency: min 0.7, typ 0.9, max 1.1 MHz.
This specification corresponds to a permissible deviation of ±200kHz, whereby your measured 980kHz are perfectly within the tolerance range.
Ripple: is typical to a greater or lesser extent in switching regulators by principle. However, you can minimise the ripple by following the instructions in the datasheet, e.g. using ceramic capacitors with low ESR and optimising the layout, see section 5.3.
Regards
/Peter