core/tests/components/history
J. Nick Koston f9205cd88d
Avoid additional timestamp conversion to set state (#118885)
Avoid addtional timestamp conversion to set state

Since we already have the timestamp, we can pass it on to the State
object and avoid the additional timestamp conversion which can be as
much as 30% of the state write runtime.

Since datetime objects are limited to microsecond precision, we need
to adjust some tests to account for the additional precision that we
will now be able to get in the database
2024-06-05 23:43:34 -04:00
..
__init__.py
conftest.py Convert history tests to use async API (#116447) 2024-05-03 08:14:46 +02:00
test_init.py Convert history tests to use async API (#116447) 2024-05-03 08:14:46 +02:00
test_init_db_schema_30.py Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00
test_websocket_api.py Avoid additional timestamp conversion to set state (#118885) 2024-06-05 23:43:34 -04:00
test_websocket_api_schema_32.py Convert history tests to use async API (#116447) 2024-05-03 08:14:46 +02:00