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

feat: use runOutsideAngular to improve load event #2

Closed
wants to merge 2 commits into from

Conversation

Karnaukhov-kh
Copy link
Member

Description

If we use runOutsideAngular in fast-icon component we can reduce Event load processing time by a lot.

Measures

Test were done in demo app. As you can see when we add 360 icons now scripting time goes down from 130ms to 5ms (96%)

Original
image

Improved
image

…to run-outside-angular

# Conflicts:
#	packages/ngx-fast-lib/src/lib/fast-icon.component.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant