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

In-Game: time_source_start() execution time increases with additional time sources #1936

Closed
1 of 2 tasks
iampremo opened this issue Sep 21, 2023 · 2 comments
Closed
1 of 2 tasks
Assignees
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes

Comments

@iampremo
Copy link
Member

iampremo commented Sep 21, 2023

Description

When a user has a lot of time sources running in their project at once, the time_source_start() function takes longer to execute than if there are fewer time sources. The more time sources present, the longer the execution time for the function. If a new time source is started, this time increases even more. A user reports that when there are a few thousand sources, this can even lead to freezes.

https://drive.google.com/file/d/1qyTpzSdHsHW8zpkTsXFPxA6UkvTxDrw6/view?usp=sharing

Expected Change

It is expected that time source functions will take the same time to execute no matter the number of other time sources present and running.

Steps To Reproduce

  1. Open GameMaker and import attached project.
  2. Run game.
  3. Press Space to start a time source.
  4. Observe time increasing.
  5. Press Space 5 more times to start more time sources.
  6. Observe that time increases exponentially.

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

Jun 23

Compiler Log File

  • I have attached my compiler log in a text file

Sample .yyz File

  • I have attached a small sample project
@caitlinrmcintyre
Copy link

Still seems to be an issue in IDE v2023.8.2.107 Runtime v2023.8.2.152

@YYDan YYDan transferred this issue from another repository Oct 15, 2023
@YYDan YYDan transferred this issue from another repository Oct 15, 2023
@toby-yoyo toby-yoyo self-assigned this Nov 27, 2024
@toby-yoyo toby-yoyo moved this to In Progress in Team Workload Nov 29, 2024
@toby-yoyo
Copy link

Duplicate of #1491.

@toby-yoyo toby-yoyo closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Workload Nov 29, 2024
@YYBartT YYBartT moved this from Done to Not Planned in Team Workload Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Not Planned
Development

No branches or pull requests

3 participants