dataTable/TEST.md

891 B

DataTable Performance Tracking

v1.0.4: Extreme Optimization (Restored)

  • Data: 10,000 items, 10 columns.
  • Scroll Test: 100 scrolls.
  • Results:
    • refreshTime (total): ~103ms (for 100 frames)
    • averageRefreshTime: 1.03ms per frame
  • Optimizations:
    • Full Event Delegation (MouseDown/MouseOver/DblClick).
    • CSS Grid Layout (Removed thousands of per-cell $style bindings).
    • Synchronous Scroll Handling (Removed rAF to ensure zero-latency補位).
    • Native Context Access (_ref) for zero-cost item resolution.
    • Targeted Row Refresh for Paste/Edit operations.
    • Manual DOM Spacers (Removed $if to prevent scroll anchoring jumps).

v1.0.0: Minimal Foundation

  • Data: 10,000 items, 1 column.
  • Scroll Test: 100 scrolls (20,000px total).
  • Results:
    • refreshCount: 101
    • refreshTime (total): ~45.7ms
    • averageRefreshTime: 0.45ms