Merge pull request #1915 from jaffee/benchmarking-tweaks

run fewer concurrency level benchmarks, add bench Makefile target
This commit is contained in:
Matthew Jaffee 2019-03-28 12:03:29 -05:00 • committed by GitHub
commit 5ee49904b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -31,6 +31,9 @@ vendor: go.mod
test:
go test ./... -tags='$(BUILD_TAGS)' $(TESTFLAGS)
bench:
go test ./... -bench=. -run=NoneZ -timeout=127m $(TESTFLAGS)
# Run test suite with coverage enabled
cover:
mkdir -p build

View file

@ -1987,7 +1987,7 @@ func BenchmarkFragment_Import(b *testing.B) {
var (
rowCases = []uint64{2, 50, 1000, 100000}
colCases = []uint64{20, 1000, 50000, 500000}
concurrencyCases = []int{2, 4, 8, 16}
concurrencyCases = []int{2, 16}
)
func BenchmarkImportRoaring(b *testing.B) {