vercel/speed-insights

sample rate

Closed this issue · 4 comments

Why did I set the sample rate of SpeedInsights to 0.01, but it seems that the number of data points did not become one percent of the original?

Hey! Did datapoints decrease or did nothing change at all for you?

Datapoints has decreased significantly.

What is the issue then? I am not sure if I can follow

When I set the sampling rate to 0.01, I expected the number of data points to decrease to approximately 1% of the original quantity. However, it only decreased to 20% of the original quantity. After checking and calculating, I believe this may be due to the statistical reference data not covering the entire day or normal fluctuations. We can consider this matter resolved. Thank you for your assistance.