core/homeassistant/components/recorder
J. Nick Koston 6c542bd314
Speed up formatting statistics data (#88228)
* Speed up fetching statistics by using attrgetter

Uses the faster native code vs a lambda
4aeae28671/Modules/_operator.c (L1406)

* avoid dict lookups

* avoid dict lookups

* naming

* split

* Revert "split"

This reverts commit 0ead89603d.

* Revert "Revert "split""

This reverts commit 20014af168.

* tweak

* tweak

* tweak

* tweak

* Revert "tweak"

This reverts commit d5e4aac7c5.

* Revert "tweak"

This reverts commit 0cebae33f8.

* Revert "tweak"

This reverts commit 0184e47e24.

* comment

* comment

* comment

* reduce local vars

* less
2023-02-16 12:34:20 -05:00
..
system_health Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
__init__.py
backup.py
const.py Reduce chance of queue overflow during schema migration (#87090) 2023-02-01 18:34:40 +01:00
core.py Inverse json import logic (#88099) 2023-02-16 11:37:57 +01:00
db_schema.py Inverse json import logic (#88099) 2023-02-16 11:37:57 +01:00
executor.py
filters.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
history.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
manifest.json Bump sqlalchemy to 2.0.3 (#87913) 2023-02-11 23:20:22 -05:00
migration.py Migrate statistics to use timestamp columns (#87321) 2023-02-09 12:24:19 -06:00
models.py Inverse json import logic (#88099) 2023-02-16 11:37:57 +01:00
pool.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
purge.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
queries.py Migrate statistics to use timestamp columns (#87321) 2023-02-09 12:24:19 -06:00
repack.py
run_history.py Ensure recorder still shuts down if the final commit fails (#87799) 2023-02-09 15:12:40 -06:00
services.py
services.yaml
statistics.py Speed up formatting statistics data (#88228) 2023-02-16 12:34:20 -05:00
strings.json Add a repair issue when using MariaDB is affected by MDEV-25020 (#87040) 2023-01-31 20:42:07 +01:00
tasks.py Migrate statistics to use timestamp columns (#87321) 2023-02-09 12:24:19 -06:00
util.py Always use UTC time for the MariaDB/MySQL session (#87583) 2023-02-09 11:39:45 -06:00
websocket_api.py The recorder/statistic(s)_during_period websocket API now require the statistic_id(s) field (#87937) 2023-02-12 14:51:10 -06:00