Skip to content

improve performance and add benchmarks for large libraries (≈2+ hours footage / many clips) #180

Description

@dvschultz

Summary

Profile and optimize performance limits around ~2 hours of footage/many clips; add a repeatable benchmark/regression harness to prevent future slowdowns and unbounded memory growth.

Source

  • File: Multiple sources
  • Path: Multiple tutorial transcript sources

Evidence

App struggles at ~2 hours of footage; observed slowness with lots of clips and performance rebuilds (GMT20260505-000858_Recording.m4a 124–142, 4345–4381)

Acceptance Criteria

  • With a dataset of at least ~2 hours of footage (or synthetic project with thousands of clips), app remains responsive while browsing Analyze/Sequence views (no prolonged UI freezes)
  • Add a documented benchmark script/procedure and record baseline metrics (load time, list render/scroll latency, memory usage)
  • No unbounded memory growth when loading clip lists/thumbnails (verified via profiling)

Implementation Notes

Move heavy work off UI thread; implement pagination/virtualized views; ensure DB indices; consider compact storage for embeddings/metadata.

Extraction confidence: 0.76

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseGenerated by tutorial issue captureideaIdeas captured from tutorial materialperformanceGenerated by tutorial issue capturescalabilityGenerated by tutorial issue capturetestsGenerated by tutorial issue capturetutorial-captureGenerated from tutorial transcript or chat reviewuiGenerated by tutorial issue capture

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions