You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cbfc4ab
Browse filesBrowse the repository at this point in the historyBrowse files
docs: follow up rustledger's new benchmark (Performance page, caption, table) (#35)
* docs: follow up rustledger's new benchmark (Performance page, caption, table)
The website side of rustledger/rustledger#3184:
- Sidebar: add Reference > Performance. filterSidebar keeps it off the
stable channel until a release has the page.
- Comparison page: the README's new benchmark caption, the new Validation
and Balance Report descriptions, a pointer to the Performance page and
memory-chart.svg instead of the retired ledger's memory figures, and the
throughput and memory charts. Links to the Performance page come from
themeConfig.performancePage, which points stable at the /next/ copy
until a release has it.
- BenchmarkTable: a Tackler column, Beancount 2 and cached (warm) timings
as sub-lines, "n/a" for a missing or zero timing (ledger has no
validating command), fallbacks from the Performance page's 10K cells,
and entries from before #3182 handled without the new fields.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(docs): Tackler has no lots or cost basis, so its booking cell is None
Tackler's own TEP-1017 defers booking methods "until lots / cost-basis
exist in Tackler", and its journal format has only @ / = conversion
prices. "Manual" (as for ledger and hledger) implied lot tracking.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
<imgsrc="https://raw.githubusercontent.com/rustledger/rustledger/benchmarks/.github/badges/throughput-chart.svg"alt="Throughput: transactions per second against journal size, one line per tool, flat balance report, first run"class="benchmark-chart" />
20
+
<imgsrc="https://raw.githubusercontent.com/rustledger/rustledger/benchmarks/.github/badges/memory-chart.svg"alt="Memory: peak resident memory against journal size, one line per tool, flat balance report, first run"class="benchmark-chart" />
12
21
</div>
13
22
14
-
<pclass="benchmark-note">Benchmarks run nightlyon 10K-transaction ledgers, with <code>main</code> and caches off, so every run parses the whole file. <ahref="https://github.com/rustledger/rustledger/actions/workflows/bench.yml">View workflow →</a></p>
23
+
<pclass="benchmark-note">Benchmarks run nightly, built from <code>main</code>, on hledger's synthetic 10K-transaction journal (the one hledger's own <ahref="https://hledger.org/PERFORMANCE.html#other-apps">comparison</a> uses), converted for the beancount-syntax tools. Cold: caches off, every run parses the whole file. Warm: each tool's own load cache on, as in everyday use (ledger, hledger and Tackler have none). Speedups compare against beancount 3 in the same mode. Wall-clock on shared CI runners, so expect about ±15% noise. <a:href="theme.performancePage.href":target="theme.performancePage.target">Full comparison →</a> <ahref="https://github.com/rustledger/rustledger/actions/workflows/bench.yml">View workflow →</a></p>
-**Balance Report**: Parse + compute all account balances
29
+
-**Validation**: Parse ledger + validate (`rledger check`, `bean-check`, `hledger check`, Tackler with no reports; ledger has no validating command)
30
+
-**Balance Report**: Parse + compute each account's flat balance
22
31
23
32
**Memory efficiency:**
24
-
rustledger uses about half the memory of Python beancount: 22.7 MB against 51.7 MB peak RSS checking the 10K-transaction ledger in the nightly run.
33
+
Peak memory for every tool, at 10K, 100K and 1M transactions, is in the <a:href="theme.performancePage.href":target="theme.performancePage.target">Performance</a> page's tables (each cell gives the time and the peak memory), and plotted against journal size in the memory chart above (<ahref="https://raw.githubusercontent.com/rustledger/rustledger/benchmarks/.github/badges/memory-chart.svg"><code>memory-chart.svg</code></a>).
0 commit comments