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

Potential performance improvements investigations #39

Open
LightFLP opened this issue Aug 10, 2023 · 1 comment
Open

Potential performance improvements investigations #39

LightFLP opened this issue Aug 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@LightFLP
Copy link
Collaborator

LightFLP commented Aug 10, 2023

In the following issue I suggest several leads for improving performance, which could be investigated:

  1. Separation of LogView and/or Minimap in smaller sub-components (introduce functional components). The separation in smaller components could be useful for introduction of React memoization (Second point of investigation)

  2. Application of React memoization through the use of: PureComponents, memo for functional components, useMemo() (react.dev) and useCallback()

  3. Application asynchronicity/concurrency through web-workers( web-workers simple example )to complete slow and complex operations in the background instead of on the "main" thread.

  4. Application of debouncing to postpone the rapid execution of complex computations.

  5. Use of OS libraries for optimization. For example, applying react.fast.compare in combination with memoization to avoid unnecessary re-rendering.

@LightFLP LightFLP added the enhancement New feature or request label Aug 10, 2023
@dennisrd
Copy link
Collaborator

There are VS Code extensions to help open large files, e.g. https://marketplace.visualstudio.com/items?itemName=mbehr1.vsc-lfs
I haven't tried this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants