Skip to content

It's too slow. It was fast at the beginning, but after 40%, it's getting slower and slower. #1076

Closed as not planned

Description

@intfoo

version 0.4.13

Image

Activity

  1. github-actions commented on Jun 5, 2026

    @github-actions
    Contributor

    Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ

  2. moved this from WebDevs to AdminArchs in CodeGraphContext Roadmapon Jun 6, 2026
  3. gamana618 commented on Jun 9, 2026

    @gamana618

    Hi @maintainers, I would like to work on this issue. Could you please assign it to me under GSSOC-2026? I will first reproduce the slowdown, investigate potential bottlenecks in the indexing pipeline, and then propose a fix. Thanks!

  4. ananyasingh7052258502-coder commented on Jun 21, 2026

    @ananyasingh7052258502-coder

    Hi @maintainer,

    I would like to work on this issue. I noticed the indexing gets slower after 40% which looks like a performance bottleneck, possibly due to memory usage or inefficient batching.

    Can you please assign this issue to me? I have experience debugging Python performance issues and I'm eager to contribute.

    Thanks!

  5. moved this from Backlog tasks to In progress in CGC Progress Boardon Jul 6, 2026
  6. Shashankss1205 commented on Aug 2, 2026

    @Shashankss1205
    Collaborator

    Closing in favour of #1168, which covers this with actual measurements.

    #1168 reports the same user-visible symptom (indexing that starts fast then stalls) with the diagnosis attached: 346 s wall time and 2.2 GB peak RSS for 886 CALLS edges, with the hotspot named — tools/indexing/pipeline.py:249-272 calls build_function_call_groups and write_function_call_groups synchronously inside async def run_tree_sitter_index_async, blocking the event loop. Still true at HEAD.

    Being straight about the merge: your report is a title, a screenshot and 0.4.13 — no backend, no repo size, no file count — so there is nothing here to add to #1168. It's also possible your slowdown-from-40% is a different phase than #1168's stall at 99% (per-file write amplification as the graph grows, rather than the post-processing stall).

    If you can still reproduce on 0.5.4, please reopen with the backend, repo size and roughly where the percentage stalls. That distinction would be genuinely useful — I'd rather have two accurate issues than one vague one.

  7. moved this from In progress to Done in CGC Progress Boardon Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions