perf: Set sample_period