mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
run fewer concurrency level benchmarks, add bench Makefile target
The benchmarks take an absurdly long time to run, and I think these are the largest offenders. Dropping to two concurrency cases 2 and 16 should give a pretty good idea.
This commit is contained in:
parent
4955dff22f
commit
e9db8eb2c2
2 changed files with 4 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue