Repository navigation
Closed
Labels
area:pipelinePipelinearea:qaQAarea:storageStoragephase:migrationIncremental migration toward target architecturetheme:agent-workflowAgentic engineering workflow and wallclock minimizationtheme:semantic-proofSemantic, structural, trace, and provider proof obligationstheme:verifiabilitySchema-native proof and evidence architecturetype:perfPerformance
Description
Parent
Part of #330 and deployment-readiness tracker #329.
Context
Heavy archive operations previously showed high peaks:
| Operation | Wall time | Peak RSS |
|---|---|---|
| Full rebuild | 56m 40s | 6.9 GiB |
| Parse rerun | 20m 54s | 5.35 GiB |
The old target used absolute RSS thresholds. That is not the right proof model. Absolute performance targets are machine-dependent across desktop, VM, CI, and future hardware. Hard RSS/time stops remain useful only as runaway safety rails.
Scope
Build performance claims over semantic complexity signatures and comparative evidence.
Examples:
parse_chatgpt: linear in messages
get_conversation_by_id: indexed lookup in conversations
cross_provider_query: near-constant in providers, linear in result rows
Evidence should show:
- semantic axis swept: messages, conversations, providers, blocks/message, attachment count, sidecar count;
- candidate vs baseline comparison;
- curve shape and inflection points;
- stage attribution when available;
- environment/toolchain trust metadata;
- safety-stop failures when runaway behavior occurs.
Acceptance criteria
- At least one heavy operation has a repeatable semantic-axis performance evidence command or runner.
- Output includes baseline vs candidate or multiple generated scale tiers.
- Evidence records environment/toolchain details in
EvidenceEnvelope.trust. - The result distinguishes growth shape from machine-specific absolute numbers.
- A regression can be expressed as "changed growth behavior" or "regressed against comparable baseline," not only "exceeded budget."
Metadata
Metadata
Assignees
Labels
area:pipelinePipelinearea:qaQAarea:storageStoragephase:migrationIncremental migration toward target architecturetheme:agent-workflowAgentic engineering workflow and wallclock minimizationtheme:semantic-proofSemantic, structural, trace, and provider proof obligationstheme:verifiabilitySchema-native proof and evidence architecturetype:perfPerformance
Activity
[-]perf: investigate and reduce memory pressure on heavy archive operations[/-][+]perf: characterize performance with comparative growth evidence[/+][-]perf: characterize performance with comparative growth evidence[/-][+]perf: add semantic-axis comparative performance evidence[/+]Sinity commentedon Apr 22, 2026
Checkpoint from
feature/perf/semantic-axis-evidenceatcaa56052.Implemented
devtools semantic-axis-evidenceas a proof-envelope wrapper over existing synthetic benchmark campaigns.What this adds:
fts-rebuildover themessagesaxis--scales, defaulting tosmall medium--baselinecomparison that can express regressions as changed growth behaviorEvidenceEnvelope.trustmetadata with code revision, dirty state, schema version, input/environment fingerprints, runner version, and originEnd-to-end evidence check run:
devtools semantic-axis-evidence --campaign fts-rebuild --axis messages --scales small medium --output .local/performance-evidence/issue-195 --no-savestatus=ok,growth_shape=approximately-linear,axis_db_stat=messages_count,metric=rebuild_wall_sVerification:
pytest tests/unit/devtools/test_semantic_axis_evidence.py -q— 5 passedpytest tests/unit/devtools/test_command_catalog.py -q— 4 passedmypy devtools/semantic_axis_evidence.py tests/unit/devtools/test_semantic_axis_evidence.py— cleandevtools render-all --check— cleandevtools verify— all checks passedSinity commentedon Apr 22, 2026
Completed in PR #349, merged as
a0efd2c5e2008f2b9fca4d28c50965502d7eaf91.What landed:
devtools semantic-axis-evidencefor repeatable semantic-axis performance evidence over synthetic benchmark tiers.fts-rebuildover themessagesaxis now has an operator-facing command that emitsEvidenceEnvelopeJSON.EvidenceEnvelope.trustmetadata.Verification before merge:
devtools semantic-axis-evidence --campaign fts-rebuild --axis messages --scales small medium --output .local/performance-evidence/issue-195 --no-saveemittedstatus=ok,growth_shape=approximately-linearmypyon touched files passeddevtools render-all --checkpasseddevtools verifypassedperf: add semantic-axis evidence runner (#349)
perf: add semantic-axis evidence runner (#349)
perf: add semantic-axis evidence runner (#349)
perf: add semantic-axis evidence runner (#349)