Skip to content

Performance Updates#14

Merged
hgosalia merged 1 commit into
mainfrom
performance_update_20260515
May 16, 2026
Merged

Performance Updates#14
hgosalia merged 1 commit into
mainfrom
performance_update_20260515

Conversation

@hgosalia
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

📋 PR Summary

Title: Performance Updates
Author: @hgosalia
Draft: No
9 files changed: +265 additions, -205 deletions

Description

This PR introduces several performance enhancements and user interface improvements. The loading indicator for the map has been updated to include a status message, providing users with feedback during the loading process. In the data export functionality, the payload now excludes large binary fields from photos to prevent errors with large datasets, improving the efficiency of data handling. Additionally, the photo processing logic has been moved to a dedicated web worker, which enhances performance by offloading heavy processing tasks from the main thread. Lastly, the pin icon generation for map clusters has been optimized to process in batches, reducing UI blocking and improving responsiveness during map interactions.

Files

  • css/styles.css — Updated .map-loading-inner, #map-loading-status
  • index.html — +6/-1
  • js/data.js — New: setLoadingStatus. Modified: exportData, checkAutoRestore, init
  • js/map.js — Modified: initMap, _applyTerrainAndProjection
  • js/media.js — +3/-173
  • js/photo-worker.js — New file (+174 lines)
  • js/photos.js — Modified: rebuildPhotoList, buildTimeline
  • js/pins.js — Modified: buildClusterIndex
  • sw.js — +1/-0

@hgosalia hgosalia merged commit 27b16ab into main May 16, 2026
1 check passed
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