From cd554b0af706b5f62b4e1bfde04091052b4aac61 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Mar 2026 20:54:35 +0200 Subject: cleanup --- internal/statsengine/bench_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/statsengine/bench_test.go') diff --git a/internal/statsengine/bench_test.go b/internal/statsengine/bench_test.go index 646bdda..99d5c87 100644 --- a/internal/statsengine/bench_test.go +++ b/internal/statsengine/bench_test.go @@ -1,7 +1,7 @@ package statsengine import ( - "math/rand" + "math/rand/v2" "testing" "time" @@ -9,7 +9,7 @@ import ( ) func BenchmarkSyscallAccumulatorSnapshot(b *testing.B) { - acc := newSyscallAccumulatorWithConfig(10_000, rand.New(rand.NewSource(123))) + acc := newSyscallAccumulatorWithConfig(10_000, rand.New(rand.NewPCG(123, 0))) traceIDs := []types.TraceId{ types.SYS_ENTER_READ, types.SYS_ENTER_WRITE, -- cgit v1.2.3