summaryrefslogtreecommitdiff
path: root/internal/statsengine/bench_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-18 20:54:35 +0200
committerPaul Buetow <paul@buetow.org>2026-03-18 20:54:35 +0200
commitcd554b0af706b5f62b4e1bfde04091052b4aac61 (patch)
treee6d02f1c2a1da27da17386e8832c2d4a3e699cdf /internal/statsengine/bench_test.go
parentb421b2232351049277ee4ad5b31367bb2b6779bb (diff)
cleanup
Diffstat (limited to 'internal/statsengine/bench_test.go')
-rw-r--r--internal/statsengine/bench_test.go4
1 files changed, 2 insertions, 2 deletions
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,