Files
blakeblackshear.frigate/web/src
Josh Hawkins e8b9225175 Recordings API and calendar UI performance improvements (#22352)
* optimize recordings/summary endpoint db query

replace strftime with integer arithmetic. increases speed by about 6x, especially noticeable for installs with long retention days

* optimize calendar rendering with Set lookups and remove unnecessary remount key

The old code built Date[] arrays with a TZDate object for every day in recording history (365+ timezone-aware date constructions). react-day-picker then did O(visible × history) date comparisons to match each of the displayed days against these arrays. Now we build Set<string> from the raw keys (zero date construction), and pass matcher functions that do O(1) Set.has() lookups. react-day-picker only calls these for visible days

* clean up
2026-03-09 17:22:01 -06:00
..
2026-03-04 10:07:34 -06:00
2026-03-07 06:43:00 -07:00
2026-03-07 06:43:00 -07:00
2026-03-09 14:14:13 -06:00
2026-03-07 06:43:00 -07:00