29275b1d17
Reported-by: Michael Paquier Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz Backpatch-through: 12 |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
Makefile | ||
README | ||
meson.build | ||
test_integerset--1.0.sql | ||
test_integerset.c | ||
test_integerset.control |
README
test_integerset contains unit tests for testing the integer set implementation in src/backend/lib/integerset.c. The tests verify the correctness of the implementation, but they can also be used as a micro-benchmark. If you set the 'intset_test_stats' flag in test_integerset.c, the tests will print extra information about execution time and memory usage.