# realtime output, and record the results for 1000 iterations into a csv file
sqlbench -n 1000 -o baseline.csv examples/sum/*.sql
# realtime output, and compare 1000 iterations to a baseline recording
sqlbench -n 1000 -i baseline.csv examples/sum/*.sql
Output from second run against the baseline (same PG version and settings, so no big diffs expected)
Support benchmarking against a recorded baseline. Useful when comparing different PostgreSQL versions, server configurations, indexes, etc.
Hopefully this will help with the use cases suggested by @anarazel on twitter: https://twitter.com/AndresFreundTec/status/1308146736917962752
Output from second run against the baseline (same PG version and settings, so no big diffs expected)