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

Performance optimization #145

Open
5 tasks
kckst8 opened this issue Mar 4, 2022 · 2 comments
Open
5 tasks

Performance optimization #145

kckst8 opened this issue Mar 4, 2022 · 2 comments
Assignees

Comments

@kckst8
Copy link
Contributor

kckst8 commented Mar 4, 2022

In the Viewer code and/or core

  • code-splitting / lazy loading (even if it requires breaking changes in core)
  • general code optimization
  • move operations to async (overuse of await)
  • offload to web workers
  • UX improvements (masking, etc)

everything is on the table

https://developers.google.com/web/tools/lighthouse

@kckst8
Copy link
Contributor Author

kckst8 commented May 6, 2022

take a look at what @GerardasB did to help with code splitting using lazy/suspense + prefetching: https://github.com/iTwin/itwin-editor-test-app/blob/9147c5f2a0798add7699246edfed109cf048ecc8/editor-test-app/src/frontend/Routes.tsx#L19. We should be able to use some of this, at least in the desktop template that has routes

@aruniverse
Copy link
Member

This thread might be helpful: https://twitter.com/dan_abramov/status/1529677207869825024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants