diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82c0527eb1cb2548027ade89ddc4463e97d434ba..3a7433151c00b9fa509ea952c091acc5e528e7b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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