Comfy-Org / Comfy-Org/ComfyUI_frontend

Isolate ECS link-store traversal and legacy output.links materialization cost

Open
#15,991 1 comment 0 reactions 1 assignee Claimed by @DrJKL View on GitHub
area:links perf:speed
Dominant language
TypeScript
Stars
2k
Forks
704
Avg merge
1d 8h
Merged PRs (30d)
512

Description

## Problem

The #15977 investigation identified link-store traversal and compatibility output.links materialization as plausible independent renderer costs, but did not isolate them after proving the redraw feedback loop. Fan-out and extension facades may amplify this path.

## Goal

Measure the independent cost and define a safe optimization boundary.

## Proposed Solution

Build fan-out and extension-compatibility fixtures, instrument link traversal and snapshot materialization, and compare current behavior with isolated alternatives while preserving topology authority.

## Acceptance Criteria

- Fixtures cover core fan-out and compatibility output.links consumers.
- Traversal/materialization counts and task cost are measured independently of redraw count.
- Any optimization preserves link identity, mutation compatibility, serialization, and undo behavior.
- Results end in a bounded fix or an evidence-backed no-action decision.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.