mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
6563048d5b
* kvutils: Cache state value conversions from bytes. This seems to have a decent speedup in ledger-on-memory. CHANGELOG_BEGIN - [Ledger Integration Kit] Submissions now look up ledger values from a cache where possible, improving performance when there's contention over certain resources (e.g. common packages). The cache size currently defaults to 64 MB. CHANGELOG_END * kvutils: Make the SubmissionValidator statue value cache configurable. * kvutils: Report state value cache metrics. * kvutils: Add a suffix to a Long literal because WartRemover is unhappy. Strangely, it doesn't fail on my machine. * kvutils: Extract caching out into its own file. * kvutils: Move the `bytesToStateValue` call into `cache.get`. * kvutils: Move caching to its own package. * kvutils: Inject the state value cache. * kvutils: Default to no state value cache. * kvutils: Accept a state value cache size in megabytes, not bytes. * kvutils: Move cache building from `Config` to the `caching` package. * kvutils: Replace Guava's cache with Caffeine. * kvutils: Simplify caching configuration. * sandbox: Enable state value caching by default. CHANGELOG_BEGIN - [Sandbox] State values deserialization is now cached, with a fixed cache size of 128MB. CHANGELOG_END * Changelog commit. CHANGELOG_BEGIN - [Ledger Integration Kit] The state value cache is now opt-in, with a default of no cache at all. CHANGELOG_END |
||
---|---|---|
.. | ||
src/test | ||
BUILD.bazel |