Skip to content

Bead box indexing is very slow with no progress indication or clear documentation #54

@korenmiklos

Description

@korenmiklos

Disclaimer: Sonnet 4 wrote this based on my Asciinema session, apologies for language.

Summary: The bead box index command takes several minutes to complete even for a relatively small bead box (95 beads), with no progress indication, and unclear documentation about when indexing is required.

Steps to Reproduce:

  1. Have a bead box with ~95 bead files
  2. Run bead box index --box cat2
  3. Observe the time taken and lack of progress feedback

Expected Behavior:

  • Indexing should complete in a reasonable time for 95 files (under 30 seconds)
  • Progress indication should be shown for long-running operations
  • Clear documentation should explain when indexing is required and the difference between index and reindex

Actual Behavior:

  • Indexing took approximately 108 seconds (from timestamp 1250.74314 to 1358.683695)
  • No progress indication during the operation
  • User was forced to interrupt previous indexing attempts due to the long duration
  • No clear documentation about when indexing is critical vs optional

Additional Context:

  • The help text shows both index and reindex commands but doesn't clearly explain the difference
  • Users may not realize that input load failures could be resolved by running index
  • The lack of progress feedback leads users to interrupt the process, thinking it has hung
  • For a workflow-critical operation, this performance is problematic

Suggestions:

  1. Add progress indicators (e.g., "Indexing... 45/95 files processed")
  2. Optimize indexing performance
  3. Document when indexing is required and the difference between index and reindex
  4. Consider auto-indexing or better integration between input loading and indexing

Environment:

  • Bead version: 0.9.1.dev1
  • Platform: macOS
  • Bead box size: ~95 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions