core/homeassistant/components/logbook
J. Nick Koston 95fcdc5684
Speed up sql queries where ORM rows are not needed (#91839)
* Speed up logbook and history queries where ORM rows are not needed

This avoids having sqlalchemy wrap Result in ChunkedIteratorResult
which has additional overhead we do not need for these cases

* more places

* anything that uses _sorted_statistics_to_dict does not need orm rows either
2023-04-21 23:28:07 -04:00
..
queries Use cache to lookup event type ids in logbook (#91576) 2023-04-17 23:40:03 -04:00
__init__.py
const.py
helpers.py
manifest.json
models.py Speed up LazyEventPartialState for logbook (#91840) 2023-04-21 23:27:23 -04:00
processor.py Speed up sql queries where ORM rows are not needed (#91839) 2023-04-21 23:28:07 -04:00
rest_api.py
services.yaml
websocket_api.py Remove legacy context lookup implementation from logbook (#91710) 2023-04-19 21:54:34 -04:00