Skip to content

[Performance] "New Scheduled Trigger" dialog causes severe FPS drops (5-7 FPS) due to background polling in table #2786

@RajuGangitla

Description

@RajuGangitla

Problem

The "New Scheduled Trigger" dialog causes severe FPS drops (5-7 FPS) when opened, due to background polling firing every 3 seconds and re-rendering the dialog internals.

Please check this Attached Video
https://github.com/user-attachments/assets/23fda2fe-836f-478f-89d2-e1a8e176ad50

Environment

Steps to reproduce

  1. Go to Triggers page with at least 1 scheduled trigger
  2. Click "+ New Scheduled Trigger" to open the dialog
  3. Wait 3 seconds for background poll to fire
  4. Observe immediate FPS drop — no further interaction needed

Observed via React Scan

  • FPS drops to 5-7 every 3 seconds while dialog is open
  • Primitive.div344ms per re-render
  • Button364ms per re-render
  • 7x FPS drops recorded
  • When dialog is closed, same polling fires with much less impact

Expected

Opening the dialog should have no impact on background polling performance. Re-renders should stay under 16ms to maintain 60 FPS.

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