How to benchmark a daml ledger?

109 views Asked by At

I found this section "Benchmarking a DAML Ledger" on DAML documentation https://docs.daml.com/1.2.0-snapshot.20200602.4310.0.1c18058f/daml-integration-kit/index.html#integration-kit-benchmarking. However, i cannot find any example about how to evaluate the performance of the implementation. Could someone explain me about the ledger-api-bench tool please? Or any example please?

1

There are 1 answers

2
stefanobaghino On

The documentation refers to a tool that doesn't exist yet.

If you want, you can run performance test using the --perf-tests-report option (with a path where you want the textual report to be saved) and --perf-tests (with a comma-separated list of performance tests you want to run).

You can run the tests that you can find using the --list option. The tests available today (as of SDK 1.3.0) test latency, throughput and capability to process transactions of a given size for several levels of compliance (from the lowest PoC to the highest Enterprise).

Remember that in order to run performance test you must first load the test DAR, that you can obtain running the Ledger API test tool with -x or --extract.