Skip to content

Profile Rust parseExtractionMs before next optimization #224

@jununfly

Description

@jununfly

This was generated by AI during triage.

Parent

What to build

Profile the Rust parseExtractionMs bucket before opening another bounded optimization implementation issue.

Phase 23 selected this as the next #165 step because the cleaned evidence comparison ranks parseExtractionMs as the largest Rust-owned remaining bucket after Phase 22. This issue is diagnostic/profiling first. It should split parseExtractionMs into actionable subsegments and decide whether the cost is implementation-owned, grammar/parser-owned, source-shape-driven, or orchestration-driven.

Do not implement a performance optimization in this issue unless the diagnostic result exposes a trivial instrumentation-only fix required to make the profile trustworthy.

Acceptance criteria

  • Add or reuse profile diagnostics that split parseExtractionMs into actionable parser/extraction subsegments.
  • Keep diagnostics local to benchmark/profile artifacts; do not promise long-term public API stability for new fields.
  • Run a reduced or targeted fixture profile to prove the new breakdown is populated.
  • Run targeted smoke/profile evidence on current artifacts or a current target sufficient to choose one next step.
  • Record RSS or an unavailable reason.
  • Record sufficiency if the touched path can affect index/read/explore behavior.
  • Write a decision artifact under docs/benchmarks/.
  • Decide exactly one next step: one bounded parseExtractionMs optimization candidate, one no-go reason, or one narrower profiling issue.
  • Do not run a full VS Code sparse scoreboard by default.
  • Do not change default user-visible indexing behavior.
  • Do not change SQLite schema or MCP behavior.
  • Do not claim Rust default rollout readiness.

Blocked by

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