Skip to content

[studio] before/after editor performance is severely degraded with many lines of code #1272

Open
@with-heart

Description

@with-heart

Issue Description

Select one of:
[ ] Generated codemod is not correct
[ ] Bug in Codemod Studio
[x] UI/UX improvement request
[ ] Feature request

In a Before/After editor with thousands of lines of code, I'm experiencing ~1s of lag for each character input and when blurring the editor.

Steps to Reproduce

In the before/after editor

  1. Add thousands of lines of code
  2. Attempt to type input and notice lag
  3. Blur the editor by switching to another panel and notice lag

Actual Results

Lag!

Expected Results

No lag!

Technical details

Export-1724284382458

Browser: Arc 1.56.0 (52658) in incognito mode
Device: MacBook Pro M1 Max, Sonoma 14.6.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions