pg_pacs/Makefile
Cédric Villemain 988192cbe1 Add a simple pgbench
Very naive, just to quickly evaluate perf as w go.
2024-10-22 13:45:17 +02:00

21 lignes
412 o
Makefile

EXTENSION = pacs
DATA = pacs--0.0.1.sql
REGRESS = pacs
MODULES = pacs
TAP_TESTS = 1
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
%.man.1: README.%.md
pandoc -s $< -o $@
@echo man -l $@
pgbench: NPROCS=$(shell nproc)
pgbench: NJOBS=$(shell nproc)
pgbench: sql/pgbench.sql
pgbench -f $< -T 10 --progress 1 --no-vacuum \
-c $$(( $(NPROCS) * 16 )) \
-j $$(( $(NJOBS) * 16 ))