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 Problems when combined with angularjs relating to Event Handling. #410

Open
kaladay opened this issue Nov 5, 2021 · 0 comments

Comments

@kaladay
Copy link
Contributor

kaladay commented Nov 5, 2021

It is unclear whether this should be fixed in angularjs or in Weaver Components.

This happens on keypress or mousemove, rather inconsistently.
This could suggest that the problem is hidden underneath these events beyond the threshold that the performance analyzer can detect.

The "Bottom-Up" performance statistics suggest a problem with tl-components with:

  • Event Input
  • Event: textInput
  • Event: keypress

The "Call Tree" performance statistics suggest two problems, one with angularjs and the other with tl-components.
There is a lot of back and forth between angularjs and tl-components.
In one of the call trees, nested deeply, there is an exchange

  1. from tl-components
  2. to jquery.min.js
  3. to angular.js
  4. to jquery.min.js
  5. to angular.js (Here a digest cycle happens which is the where the performance hit is still obvious)
  6. to wvrCoreCompiler.js
  7. to angular.js (which at this point the performance thins out a bit).

The other analysis shows that, in addition to the above steps, after step 5, there is a performance hit with:
6. to jquery.min.js
7. to tl-components.js (which at this point the performance thins out a bit).

The code minification makes testing this difficult.
Finding a more accurate trace would require getting rid of all minification in angularjs and the included jquery.

directory_ui-performance_analysis-1
directory_ui-performance_analysis-2
directory_ui-performance_analysis-3
directory_ui-performance_analysis-4
directory_ui-performance_analysis-5
directory_ui-performance_analysis-6

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

1 participant