From 559f9613667f0f535ef9c15c6fe820a08be8f656 Mon Sep 17 00:00:00 2001 From: Rick Carback <rick@privategrity.com> Date: Tue, 8 May 2018 16:57:15 +0000 Subject: [PATCH] Disable benchmarking (not needed for this project right now) --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82c0527..3a74331 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 -- GitLab