From 0b2be0062291136a2c7ad4e8e965c632def98614 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 16 Jan 2024 17:21:33 -0800 Subject: [PATCH] Added more defines to contributing docs [skip ci] --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d09c4fd..edc5263 100644 --- a/README.md +++ b/README.md @@ -781,7 +781,19 @@ make prove_installcheck PROVE_TESTS=test/t/001_wal.pl # TAP test To enable benchmarking: ```sh -make clean && PG_CFLAGS=-DIVFFLAT_BENCH make && make install +make clean && PG_CFLAGS="-DIVFFLAT_BENCH" make && make install +``` + +To show memory usage: + +```sh +make clean && PG_CFLAGS="-DHNSW_MEMORY -DIVFFLAT_MEMORY" make && make install +``` + +To enable assertions: + +```sh +make clean && PG_CFLAGS="-DUSE_ASSERT_CHECKING" make && make install ``` Resources for contributors