Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GB Stduio 4.1.3 performance problem, GB Studio is to slow. #1684

Open
gerardodce opened this issue Jan 30, 2025 · 4 comments
Open

GB Stduio 4.1.3 performance problem, GB Studio is to slow. #1684

gerardodce opened this issue Jan 30, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@gerardodce
Copy link

Describe the bug
I'm having performance issues with GB Studio, and to this day, I still haven't been able to find the problem. The issue I'm experiencing is that everything related to keyboard input has become extremely slow (typing in a text box, renaming an event, renaming a script, writing code in GBVM, etc.). It seems like the issue is related to scripts, but I'm not entirely sure.

I’m currently using a computer with the following specs:

OS: Windows 11 Pro
System type: x64-based PC
RAM: 64 GB
Processor: AMD Ryzen 9 5950X 16-Core, 4001 MHz
GPU: NVIDIA GeForce RTX 3070

To Reproduce
I have an old version of my project but when I modify one specific Script I´m getting that performance issue

Expected behavior
I want GB Studio works properly .. right now my project has 15 scripts I dont know if there is a script limit a project may have.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • OS: Windows 11 pro, x64
  • App GB Studio 4.1.3
    Additional context
    Add any other context about the problem here.
@gerardodce gerardodce added the bug Something isn't working label Jan 30, 2025
@joeledge
Copy link

Have you tried setting View > Show Connections > None?

That might help with your performance issues.

@gerardodce
Copy link
Author

gerardodce commented Jan 30, 2025 via email

@gerardodce
Copy link
Author

gerardodce commented Jan 30, 2025 via email

@chrismaltby
Copy link
Owner

@gerardodce I believe this issue will be fixed in 4.2.0. Basically the code that calculated the connections between scenes wasn't very optimised and as projects grew larger they would slow down so turning off that feature would improve performance. The latest develop builds (and 4.2.0 when released) should prevent the issue from happening.

gb-studio/CHANGELOG.md

Lines 32 to 34 in 664a85c

### Changed
- Optimised performance of "Show Connections" calculations by moving most of the effort to a thottled Worker thread. This also improves script editing performance when Connections are visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants