Skip to content

perf(app): improve responsiveness across the app - #71

Merged
darwin67 merged 35 commits into
mainfrom
perf/app-responsiveness
Aug 31, 2026
Merged

perf(app): improve responsiveness across the app#71
darwin67 merged 35 commits into
mainfrom
perf/app-responsiveness

Conversation

@darwin67

@darwin67 darwin67 commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • move document opening, EPUB image decoding, CBZ dimension reads, bookmark writes, and interactive searches off or away from the UI hot path
  • stage EPUB pagination around the current chapter, cache reusable reader/library work, and bound nearby image decoding and continuous measurement costs
  • add delayed neutral loading previews with book covers while preventing stale-content flicker
  • render PDF covers directly at thumbnail resolution, track EPUB caption offsets in linear time, and reuse table placements between width and geometry calculations
  • fix SVG-wrapped EPUB covers and pin paginated EPUB page numbers to a consistent footer baseline
  • add EPUB latency budgets, benchmark validation, and regression coverage for staged pagination, resource limits, and the new local optimizations
  • report per-RFD task numbers in make check-rfds

Verification

  • cargo test -p shosai-core
  • cargo test -p shosai-app (302 tests)
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • make test-scripts
  • EPUB page-turn benchmark thresholds on Linux and macOS

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploying shosai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 65495db
Status: ✅  Deploy successful!
Preview URL: https://fedc4acf.shosai-1f9.pages.dev
Branch Preview URL: https://perf-app-responsiveness.shosai-1f9.pages.dev

View logs

@darwin67
darwin67 force-pushed the perf/app-responsiveness branch from 65495db to f987292 Compare August 31, 2026 16:30
@darwin67
darwin67 merged commit 960220f into main Aug 31, 2026
7 checks passed
@darwin67
darwin67 deleted the perf/app-responsiveness branch August 31, 2026 20:49
@chaba2-bot chaba2-bot Bot mentioned this pull request Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant