Performance Optimization¶
Sentinel DV indexes verification artifacts into DuckDB using a single, supported mode: full indexing via --index-all.
Indexing performance (what you can tune)¶
- Narrow your
artifact_roots - Point
artifact_rootsonly at the directories you actually want indexed. -
This directly reduces the number of
*.log,results.xml, andjunit.xmlfiles scanned. -
Use recognized artifact formats
- UVM logs:
*.log - cocotb results:
results.xml/junit.xml
Query performance (what you can tune)¶
- Pagination
-
List tools accept
pageandpage_sizeand are clamped tosecurity.max_page_size. -
Response sizing
security.max_response_byteslimits how much data can be returned per tool call.
Practical workflow¶
- Start with a small subset of artifacts (few runs / a single directory).
- Run:
python -m sentinel_dv.indexing.indexer --config config.yaml --index-all - Validate your queries using list tools (
runs.list,tests.list,failures.list, etc.). - Increase scope once you confirm schemas and redaction behave as expected.