core/tests/helpers
J. Nick Koston 47f8e08261
Reduce overhead to connect dispatcher (#105715)
Reduce overhead connect dispatcher

- We tend to have 1000s (or 10000s) of connected dispatchers which
  makes these prime targets to reduce overhead/memory

- Instead of creating new functions to wrap log exceptions each time
  use partials which reuses the function body and only create new
  arguments

Previous optimizations #103307 #93602
2023-12-16 10:16:58 +01:00
..
snapshots Allow inheriting `FrozenOrThawed` with custom init (#105624) 2023-12-13 10:13:34 +01:00
__init__.py
test_aiohttp_client.py
test_area_registry.py
test_check_config.py
test_collection.py
test_condition.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_config_entry_flow.py
test_config_entry_oauth2_flow.py
test_config_validation.py
test_debounce.py
test_deprecation.py
test_device_registry.py
test_discovery.py
test_discovery_flow.py
test_dispatcher.py Reduce overhead to connect dispatcher (#105715) 2023-12-16 10:16:58 +01:00
test_entity.py Remove context_recent_time property from entity base class (#105652) 2023-12-14 08:33:31 +01:00
test_entity_component.py
test_entity_platform.py
test_entity_registry.py
test_entity_values.py
test_entityfilter.py
test_event.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_frame.py
test_httpx_client.py
test_icon.py
test_init.py
test_instance_id.py
test_integration_platform.py
test_intent.py
test_issue_registry.py
test_json.py
test_location.py
test_network.py
test_ratelimit.py
test_recorder.py
test_reload.py
test_restore_state.py
test_schema_config_entry_flow.py
test_script.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_script_variables.py
test_selector.py
test_service.py
test_significant_change.py
test_singleton.py
test_start.py
test_state.py
test_storage.py
test_storage_remove.py
test_sun.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_system_info.py
test_temperature.py
test_template.py Workaround `to_json` template filter in parsing dict key (#105327) 2023-12-08 20:57:53 +01:00
test_translation.py
test_trigger.py
test_update_coordinator.py