Skip to content

Retain compiled, source and publication facts through the runtime performance plan #647

Closed

Description

@trissim

Runtime repeatedly derives fixed invocation, filename, source-projection, and producer-publication facts inside pattern groups. Implement the user-supplied runtime performance plan P1–P5 using the existing compiled invocation, pattern, processing context, discovery cache, and manifest owners. P0's corrected profile buffer is tracked separately in #643 / #645.

The current concrete batch publishes immutable semantic output coordinates through the existing DurableSourceMetadata, keeps provenance and filename aliases live, replaces whole-cohort manifest reconstruction with incremental address updates, scopes selection invalidation to its producer, and retains path-ordered producer selections instead of sorting them per group. Later source metadata edits must not move or merge already published slots. This publication policy is intentional and approved; unpublished records retain their live behavior.

Retain physical filename parsing/component indexes on the existing runtime discovery cache, and the source-projection authority on its processing context. Extend the existing immutable compiled invocation/contract with fixed call ABI, target placement and returned-output layout. Plan cross-step memory boundaries after those owners are established. Remove the obsolete per-call algorithms and wrappers rather than adding another authority.

Acceptance is semantic clarity plus measured execution and total latency on the same representative real pipeline with numerical agreement under the existing CellProfiler tolerances. Server startup/registry warming remain outside pipeline clocks. Corrected-profile baseline and integrated comparison are pending; passing behavior controls and linear manifest complexity alone are not an end-to-end speedup claim. Mixed CPU/GPU placement needs separate receiving evidence.

This is distinct from #628's artifact-materialization authority consolidation and its draft #630. Existing retained negative measurements remain visible; this plan does not rewrite them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions