Skip to content

Commit

Permalink
increase TestReadAccessorAllocs runs
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Aug 30, 2024
1 parent 91290d6 commit 3e9bca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeler/read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func TestReadAccessorAllocs(t *testing.T) {
}

testFunc := func(t *testing.T, buf []byte, want float32) {
allocs := testing.AllocsPerRun(50, func() {
allocs := testing.AllocsPerRun(100, func() {
modeler.ReadAccessor(doc, acr, buf)
})
if allocs != float64(want) {
Expand Down

0 comments on commit 3e9bca1

Please sign in to comment.