Studio code editor lagging severely when multiple large scripts are open

Reproduction Steps

To reproduce this issue, create and open 20-25 different scripts all at once. The scripts can be just the default script with print("Hello World") in it. Then try typing in one of the scripts. You’ll notice notable lag.

I’ve tested this issue and found it happens in both Team Create and Non-Team Create games.


System Information:
OS: Windows 10,
CPU: Intel(R) Core™ i5-8600K CPU @ 3.60GHz,
RAM: 32 GB,
GPU: Radeon RX 580 Series

Expected Behavior

Prior to the Studio Design Refresh (Studio Design Refresh - Docking Overhaul & Ribbon Upgrade), the editor was perfectly fine with handling having multiple large scripts open. There was no typing delay or autocomplete delay.

The reason I know this is because I’ve been opening older places recently that have many scripts all open, and they worked fine previously before the forced Studio Design Refresh update.

Actual Behavior

Extreme editor lag, here’s a comparison when one script is open compared to 30

https://i.gyazo.com/40b6e57b8699deb484421c1e467fd6f8.mp4

https://i.gyazo.com/f77cfabc1c0a23fc9a8851f14ea306a6.mp4

Workaround

Current workaround is to close out some of your scripts

Issue Area: Studio
Issue Type: Performance
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-09-30 00:09:00 (-04:00)

4 Likes

Is there any reason you would need to have 20-25 scripts open at a time? Surely the impact can’t be that high

1 Like

Just to clarify, when did this bug start happening to you? Like, in terms of hours/days.

Unsure the exact date, but it was definitely a couple of weeks ago when the Studio Design Refresh got force rolled out again.

1 Like

I mentioned this previously:
https://devforum.roblox.com/t/severely-poor-script-editor-performance/1736111/18

And frankly, as many have stated in many ways, if you remove this BS requirement of needing to be
Regular status to post, or whatever the heck it is, you would have had MANY MORE COMPREHENSIVE
bug reports, the kind you all at Roblox prefer–No need for people to glom onto existing similar bug reports.

[kingerman88] can you let us know if this is still happening for you? We’ve made some performance improvements and hoping to hear that this is better now?

Hi we’re working on a project to enable continuous updates to the type checker, (assuming it’s not better already based on the performance improvements mentioned) this will be addressed when that feature ships. Just let us know if you have any questions, thanks again!

1 Like