Skip to content

Implement or remove documented L5 performance APIs that do not exist #425

Description

@schatt

Summary

High-quality / 100% coverage cannot include advertised APIs that do not exist. Docs and examples call L5 performance modifiers that have zero func in Framework/Sources.

Spawned from #402: orphan L5 tests compiled against these names and would not have compiled if wired.

Documented but missing

Framework/docs/README_Layer5_Performance.md points at Shared/Views/Extensions/PlatformPerformanceExtensionsLayer5.swiftthat file is not in the tree.

Called from docs / examples (non-exhaustive; grep platformMemoryOptimization in Framework/docs/):

  • platformMemoryOptimization()
  • platformRenderingOptimization()
  • platformViewCaching()
  • platformAnimationOptimization()
  • platformCachingOptimization()
  • platformLazyLoading() / platformLazyLoading { }
  • platformPerformanceOptimized(for:)
  • platformMemoryOptimized(for:)

Related phantom types from the deleted orphan suite (also not in Sources): MemoryConfig, LazyLoadingConfig, ViewPerformanceMetrics, PerformanceOptimizationLevel, PerformanceCachingStrategy, PerformanceRenderingStrategy.

Choose one (do not leave docs lying)

  1. Implement the modifiers (and any types) in Framework/Sources, then TDD real contracts in executing SixLayerFrameworkUnitTests, or
  2. Remove them from docs/examples (README_Layer5_Performance.md, DeveloperExtensionGuide.md, ExtensionQuickReference.md, CustomViewsAndBusinessLogicGuide.md, README_UsageExamples.md, AI_AGENT_*.md, etc.).

Partial implement + leftover doc references is a fail for this issue.

Out of scope

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions