Skip to content

refactor(devtools): restructure profiler and directive forest code#69396

Open
hawkgs wants to merge 1 commit into
angular:mainfrom
hawkgs:devtools/refactor-profiling-and-forest
Open

refactor(devtools): restructure profiler and directive forest code#69396
hawkgs wants to merge 1 commit into
angular:mainfrom
hawkgs:devtools/refactor-profiling-and-forest

Conversation

@hawkgs

@hawkgs hawkgs commented Jun 17, 2026

Copy link
Copy Markdown
Member

The PR focuses on separating the profiler functionality from the directive forest hooks (i.e. some separation of concerns) in order to make it more easily manageable and extensible. On top of that, the DirectiveForestHooks was renamed to DirectiveForestManager since its main role in the app is to provide the indexed forest for our client events.

List of all changes:

  • Rename DirectiveForestHooks to DirectiveForestManager
  • Keep profiler reference standalone; move it out from DirectiveForestHooks/DirectiveForestManager
  • Convert profiler-specific IdentityTracker behavior to a more generalized one
  • Separate timing API functionality from the DirectiveForestHooks/DirectiveForestManager initialization fn
  • Reorganize files; rename /hooks to /profiling
  • Use concrete types for directive and component instances (incomplete coverage; based on any at the moment)
  • Other more minor changes

@ngbot ngbot Bot added this to the Backlog milestone Jun 17, 2026
- Rename `DirectiveForestHooks` to `DirectiveForestManager`
- Keep profiler reference standalone; move it out from `DirectiveForestHooks`/`DirectiveForestManager`
- Convert profiler-specific `IdentityTracker` behavior to a more generalized one
- Separate timing API functionality from the `DirectiveForestHooks`/`DirectiveForestManager` initialization fn
- Reorganize files; rename `/hooks` to `/profiling`
- Use concrete types for directive and component instances (incomplete coverage; based on `any` at the moment)
- Other more minor changes
@hawkgs hawkgs force-pushed the devtools/refactor-profiling-and-forest branch from 997a18f to c240370 Compare June 17, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant