Skip to content

Perf updates#8

Merged
chrisjm merged 4 commits intomainfrom
perf-updates
Dec 13, 2025
Merged

Perf updates#8
chrisjm merged 4 commits intomainfrom
perf-updates

Conversation

@chrisjm
Copy link
Owner

@chrisjm chrisjm commented Dec 13, 2025

No description provided.

…y returns

- Throttle HLS audio timeupdate events using requestAnimationFrame with 0.25s threshold
- Add cleanup for RAF and pending state in HLSAudioPlayer onDestroy
- Memoize processedSegments calculation and derive currentSegment in TimeSlider
- Remove getCurrentSegment function in favor of derived currentSegment state
- Store and cleanup bell audio event listeners to prevent memory leaks
- Add early returns for duplicate state
- Remove isSpeedMode property from TimerSettings interface and default settings
- Delete handleSpeedModeChange function and Speed-up Mode toggle from SettingsPanel
- Remove StoreDebugInfo component and its import from SettingsPanel
- Remove debug parameter from masterTimer.start() function and all call sites
- Simplify timer interval to always use 1000ms instead of conditional 200ms/1000ms
- Update intervalHandler tests to remove
…h non-debug intervals

- Replace npm with pnpm in test and validate scripts
- Remove --fix flag from lint script to make it check-only
- Update intervalHandler test timings from debug mode (200ms ticks) to standard mode (1000ms ticks)
- Add numeric separators to test timeout values for improved readability
…ug mode logging

- Add setPlayingFromElement method to handle play/pause events from audio element without syncing back
- Rename setPlaying to setPlayingAndSyncElement to clarify bidirectional sync behavior
- Update HLSAudioPlayer to use setPlayingFromElement for element event handlers
- Replace try-catch blocks with withErrorHandling utility in HLSAudioPlayer and useMeditationAudio
- Add debug mode logging controlled by isDebugMode setting
@vercel
Copy link

vercel bot commented Dec 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
meditation-timer Ready Ready Preview, Comment Dec 13, 2025 5:05am

@chrisjm chrisjm merged commit e42f06e into main Dec 13, 2025
5 checks passed
@chrisjm chrisjm deleted the perf-updates branch December 13, 2025 05:11
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