Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.15.0
-
go version go1.13.4 linux/amd64
Description
Starting at commit 699878dfc (ARROW-4081), "go test -bench=8192 -run=. ./math" fails:
% go test -bench=8192 -run=. ./math --- FAIL: BenchmarkFloat64Funcs_Sum_8192 float64_test.go:69: invalid memory size exp=0, got=67584 --- FAIL: BenchmarkInt64Funcs_Sum_8192 int64_test.go:69: invalid memory size exp=0, got=67584 --- FAIL: BenchmarkUint64Funcs_Sum_8192 uint64_test.go:69: invalid memory size exp=0, got=67584 FAIL exit status 1 FAIL github.com/apache/arrow/go/arrow/math 0.008s FAIL
Adding a call to
vec.Release()
at the end of the benchmark{{.Name}}Funcs_Sum() template fixes this.
Attachments
Issue Links
- links to