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

Optimize the performance with the multi-tasking #15

Open
hermet opened this issue May 24, 2024 · 0 comments
Open

Optimize the performance with the multi-tasking #15

hermet opened this issue May 24, 2024 · 0 comments
Labels
optimization Enhance performance / Reduce memory usage or binary size

Comments

@hermet
Copy link
Member

hermet commented May 24, 2024

Try threading optimization with the nested web workers if the perf. can be increased.

  • Suggested Model1:

launch the next commands on 2 web-worker.

picture->load() / canvas->push(picture) / picture->update(picture)
canvas->draw()
  • Suggested Model2:

launch the next commands on one web-worker.

picture->load()
canvas->push(picture) or picture->update(picture)
canvas->draw()
@hermet hermet added the optimization Enhance performance / Reduce memory usage or binary size label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Enhance performance / Reduce memory usage or binary size
Projects
Status: No status
Development

No branches or pull requests

1 participant