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

Bug: Coroutine scheduling algorithm exception causes some coroutines to wait too long. #476

Open
JiepengTan opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working web Platform web

Comments

@JiepengTan
Copy link
Collaborator

The execution from point1 to point2 sometimes takes over 40 ms, but in most cases, it takes less than 0.1 ms.

  • During the execution from point 1 to point 2, the coroutine is not suspended.
  • The spx.Sched function only performs simple logging and does not yield to suspend the coroutine.
  • This issue only occurs in the web version of igop; it does not happen on the PC version.

code :
企业微信截图_17337407671902

logs:
企业微信截图_17337396333427

@JiepengTan JiepengTan added bug Something isn't working v2.0 Related to spx v2.0 web Platform web and removed v2.0 Related to spx v2.0 labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web Platform web
Projects
None yet
Development

No branches or pull requests

1 participant