Repository navigation
docs(#431): many small graph batches pay a fixed cost; say which arguments lower it - #432
Merged
tae898 merged 1 commit intoNov 22, 2026
Conversation
…which arguments lower it
1 of 3 tasks
Collaborator
|
Thank you, merged for 26.12.1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Documents the fixed cost of a
graph_batch()that #431 measured: with the default arguments a batch of one edge takes about 2 ms on both packages and allocates about 41 MiB onarcadedb-jvm; withbatch_size=100, chunk_cache_capacity=1000it takes about 0.2 ms and allocates 0.6 MiB.how-to/bulk-loads.adoc: a new section "Many small graph batches" with the measurement, the two arguments, and when to leave them at their defaults.Database.graph_batch()docstring: thebatch_sizeandchunk_cache_capacityentries say that the engine sizes its buffers and caches for them when the batch is created.No code changes. Whether the engine should size these structures lazily is a question for ArcadeData/arcadedb and is left to #431.
Related issues
Closes #431
Performance changes
None: documentation only. The numbers in the page come from the scripts in #431.
Docs
The two places above. The Antora component builds without warnings (
npx --yes -p @antora/[email protected] -p @antora/[email protected] antora docs/antora-playbook.yml).Checklist
src/)uvx pre-commit run --files <changed files>passes