core/homeassistant/scripts/benchmark
J. Nick Koston b09dd95dbd
Improve alignment of live logbook and historical logbook models (#123070)
* Improve alignment of live logbook and historical logbook models

- Make EventAsRow as NamedType which is better aligned with
  sqlalchemy Row
- Use getitem to fetch results for both Row and EventAsRow
  since its an order of magnitude faster fetching sqlalchemy
  Row object values.

* final

* fix

* unused

* fix more tests

* cleanup

* reduce

* tweak
2024-08-04 23:09:10 +02:00
..
__init__.py Improve alignment of live logbook and historical logbook models (#123070) 2024-08-04 23:09:10 +02:00