Skip to content

Rust-hybrid wall-clock A/B v2: baseline profile and candidate selection #291

Description

@jununfly

This was generated by AI during triage.

Context

Parent plan: docs/plans/2026-06-19-rust-hybrid-default-indexing-wall-clock-ab.md

References:

This issue starts the next rust-hybrid default-path full-index wall-clock A/B loop after the prior Rust write-path optimization. Do not change production code in this issue. The job is to collect a credible current baseline and select exactly one bounded candidate, or record no-go.

Scope

Use source-path rust-hybrid full indexing only.

Corpora:

  • /Users/bilibili/Documents/workspace/jununfly/ZCodeGraph
  • /private/tmp/codegraph-corpus/vscode-sparse

The VS Code sparse checkout must already exist and be a Git checkout. If it is missing or not a Git checkout, stop that portion and mark this issue as needing human setup. Do not clone or replace the corpus from the agent.

Acceptance Criteria

  • Verify both corpus paths, including Git checkout status for VS Code sparse.
  • Run baseline source-path rust-hybrid full-index profiles on the current repo and VS Code sparse when available.
  • Record wall-clock time.
  • Record RSS / memory stability, or a clear unavailable reason.
  • Record diagnostic buckets for rustCore.parseExtractionMs, rustCore.sqliteWriteMs, typescriptFinalizationMs, finalize.referenceResolutionMs, public finalization sub-buckets, and fallback append/accounting where available.
  • Decide whether Profile Rust parseExtractionMs before next optimization #224 is the next candidate, not selected, or needs reframing.
  • Select exactly one bounded optimization candidate, or record no-go.
  • Do not change production code.
  • Do not run full benchmark scoreboard or agent sufficiency A/B.
  • Save evidence under docs/benchmarks/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions