Files
blakeblackshear.frigate/frigate
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 15:53:20 -07:00
2026-03-04 10:07:34 -06:00
2026-02-27 08:55:36 -07:00
2026-03-04 10:07:34 -06:00
2026-02-28 07:04:43 -07:00
2026-03-04 10:07:34 -06:00
2026-03-04 10:07:34 -06:00
2026-03-04 10:07:34 -06:00
2026-03-04 10:07:34 -06:00
2026-02-03 13:29:52 -06:00
2026-03-04 10:07:34 -06:00
2026-03-04 10:07:34 -06:00