summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-12-24 01:33:34 +0100
committerLauris BH <lauris@nix.lv>2017-12-24 02:33:34 +0200
commitcc7b8e3379f46469d3ec72b044fb0f993fec4d1b (patch)
tree5086b854166f4134da1e0430e87f499e904594aa /Makefile
parenta995ad90e1055ad001a025a6d94fcc3d8ea87004 (diff)
downloadgitea-cc7b8e3379f46469d3ec72b044fb0f993fec4d1b.tar.gz
gitea-cc7b8e3379f46469d3ec72b044fb0f993fec4d1b.zip
Add more bench (#3161)
* Improve makefile + Add benchs * Apply recommendations of @ethantkoenig
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d7ddd197b4..4f4802a024 100644
--- a/Makefile
+++ b/Makefile
@@ -183,15 +183,15 @@ test-pgsql: integrations.test generate-ini
.PHONY: bench-sqlite
bench-sqlite: integrations.sqlite.test
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.bench .
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
.PHONY: bench-mysql
bench-mysql: integrations.test generate-ini
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test -test.bench .
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
.PHONY: bench-pgsql
bench-pgsql: integrations.test generate-ini
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test -test.bench .
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
.PHONY: integration-test-coverage