Skip to content
Snippets Groups Projects
Commit 559f9613 authored by Rick Carback's avatar Rick Carback
Browse files

Disable benchmarking (not needed for this project right now)

parent 687cbbec
No related branches found
No related tags found
No related merge requests found
......@@ -81,12 +81,12 @@ test:
- go tool cover -html=testdata/coverage.out -o testdata/coverage.html
# Benchmarking
- go test -bench=BenchmarkPrecomp -cpuprofile=testdata/precomp.cpu -memprofile=testdata/precomp.mem -short main_benchmarks_test.go
- go tool pprof -png udb.test testdata/precomp.cpu > testdata/precomp-cpu.png
- go tool pprof -png udb.test testdata/precomp.mem > testdata/precomp-mem.png
- go test -bench=BenchmarkRealtime -cpuprofile=testdata/realtime.cpu -memprofile=testdata/realtime.mem -short main_benchmarks_test.go
- go tool pprof -png udb.test testdata/realtime.cpu > testdata/realtime-cpu.png
- go tool pprof -png udb.test testdata/realtime.mem > testdata/realtime-mem.png
# - go test -bench=BenchmarkPrecomp -cpuprofile=testdata/precomp.cpu -memprofile=testdata/precomp.mem -short main_benchmarks_test.go
# - go tool pprof -png udb.test testdata/precomp.cpu > testdata/precomp-cpu.png
# - go tool pprof -png udb.test testdata/precomp.mem > testdata/precomp-mem.png
# - go test -bench=BenchmarkRealtime -cpuprofile=testdata/realtime.cpu -memprofile=testdata/realtime.mem -short main_benchmarks_test.go
# - go tool pprof -png udb.test testdata/realtime.cpu > testdata/realtime-cpu.png
# - go tool pprof -png udb.test testdata/realtime.mem > testdata/realtime-mem.png
# Test Coverage Check
- go tool cover -func=testdata/coverage-real.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment