;dev:test:perf: edits

This commit is contained in:
Simon Michael 2025-12-01 05:46:20 -08:00
parent a280e02102
commit bb9ec4eadf

View File

@ -1,11 +1,11 @@
# * performance tests
# This file is run after the other functional tests have completed,
# so that they don't slow it down.
# ** 1. Log performance stats to a persistent perf.log.
# so that we can detect changes over time.
# Ideally we would detect regressions and fail automatically,
# Log performance data to a persistent perf.log, so that we can detect changes over time.
# Ideally we will detect regressions and fail automatically,
# but it's hard to ensure consistent machine performance.
# ** 1. Log performance stats.
$ hledger stats -1 -f ../../examples/10ktxns-1kaccts.journal >>../../perf.log
# ** 2. Test that it hits at least 14k txns/s within a few runs.