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

Fix #370 - FluentIcon performance improvements #439

Merged
merged 2 commits into from
Jun 8, 2023

Conversation

andreisaperski
Copy link
Contributor

Pull Request

📖 Description

  • reduced number of StaticAssetService.GetAsync calls in FluentIcon
  • suppression of re-render if parameters haven't changed (when icon is in RenderFragment)
  • dedicated dictionary instead of array is used for icon availability check

🎫 Issues

#370

👩‍💻 Reviewer Notes

📑 Test Plan

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have modified an existing component

⏭ Next Steps

 - reduced number of StaticAssetService.GetAsync calls in FluentIcon
 - suppression of re-render if parameters haven't changed (when icon is in RenderFragment)
 - dedicated dictionary instead of array is used for icon availability check
@andreisaperski
Copy link
Contributor Author

@microsoft-github-policy-service agree

@vnbaaij vnbaaij requested a review from dvoituron June 7, 2023 12:32
@dvoituron-msft
Copy link
Collaborator

Could you change the PR name (more explicit than "Fix #370") ? :-)

@andreisaperski andreisaperski changed the title Fix #370 Fix #370 - FluentIcon performance improvements Jun 7, 2023
@vnbaaij vnbaaij merged commit a2b8217 into microsoft:main Jun 8, 2023
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.

4 participants