Profiler
The Profiler integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides a profile which is a set of statistics that identifies how much time each part of Home Assistant is taking. It can help track down a performance issue or provide insight about a misbehaving integration.
Configuration
To add the Profiler integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Profiler.
-
Follow the instructions on screen to complete the setup.
List of actions
The Profiler integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Profiler: Dump log objects (
profiler.dump_log_objects) Logs the representation of objects of a given type in memory. -
Profiler: Dump sockets (
profiler.dump_sockets) Logs all sockets used by Home Assistant. -
Profiler: Log current tasks (
profiler.log_current_tasks) Logs all currently running tasks. -
Profiler: Log event loop scheduled (
profiler.log_event_loop_scheduled) Logs what is scheduled in the event loop. -
Profiler: Log thread frames (
profiler.log_thread_frames) Logs the current frames for each running thread. -
Profiler: LRU stats (
profiler.lru_stats) Logs statistics from LRU caches. -
Profiler: Memory (
profiler.memory) Starts the memory profiler for a set number of seconds. -
Profiler: Set asyncio debug (
profiler.set_asyncio_debug) Enables or disables asyncio debug mode. -
Profiler: Start (
profiler.start) Starts the profiler for a set number of seconds. -
Profiler: Start log object sources (
profiler.start_log_object_sources) Starts logging the growth of objects in memory and tries to find their source. -
Profiler: Start log objects (
profiler.start_log_objects) Starts logging the growth of objects in memory. -
Profiler: Stop log object sources (
profiler.stop_log_object_sources) Stops logging the growth of objects with sources in memory. -
Profiler: Stop log objects (
profiler.stop_log_objects) Stops logging the growth of objects in memory.
For an overview of every action across all integrations, see the actions reference.