You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds profiling of ComfyUI's execution. Disabled by default.
commit eb8abf35ac0b0fd5e04781ca7bb0c4af923052e0
Author: ryanontheinstide <[email protected]>
Date: Sun Jan 26 13:31:53 2025 -0500
Readme, disable by default
commit 32696f9c0742b3f845ac361861a8035ada684ca7
Author: ryanontheinstide <[email protected]>
Date: Sun Jan 26 13:01:35 2025 -0500
track more methods
commit b6e5912969467986c2736123a0ba249c52a36d09
Author: ryanontheinstide <[email protected]>
Date: Sun Jan 26 12:32:34 2025 -0500
working basic execution
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,33 @@ ProfilerX integrates directly with ComfyUI's execution system to collect perform
93
93
- All data is collected automatically with minimal performance impact
94
94
- Historical data is stored locally for trend analysis
95
95
96
+
## Execution Tracking
97
+
98
+
In addition to workflow profiling, this extension includes a detailed execution tracking system that monitors ComfyUI's internal method calls. This can be useful for:
99
+
- Understanding the execution flow of your workflows
100
+
- Identifying bottlenecks in specific operations
101
+
- Debugging performance issues
102
+
- Analyzing method call patterns and timing
103
+
104
+
### Enabling Execution Tracking
105
+
106
+
By default, execution tracking is disabled. To enable it:
107
+
108
+
1. Open `ComfyUI_ProfilerX/execution_core.py`
109
+
2. Find the `ENABLED` flag at the top of the `ExecutionTracker` class:
110
+
```python
111
+
classExecutionTracker:
112
+
_instance =None
113
+
_lock = threading.Lock()
114
+
ENABLED=False# Change this to True to enable tracking
115
+
```
116
+
3. Change `ENABLED = False` to `ENABLED = True`
117
+
4. Restart ComfyUI
118
+
119
+
When enabled, the tracker will record detailed timing information for internal ComfyUI operations in `ComfyUI_ProfilerX/data/method_traces.json`.
0 commit comments