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

chore(react-components): use performant type-check target #31494

Merged

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented May 28, 2024

Previous Behavior

New Behavior

see PR title

@fluentui/react-components type-check comparison speed:

before after
57.92s 9.59s / 𝚫 83% 🚅

Related Issue(s)

@github-actions github-actions bot added this to the April Project Cycle Q1 2024 milestone May 28, 2024
Copy link

codesandbox-ci bot commented May 28, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@fabricteam
Copy link
Collaborator

fabricteam commented May 28, 2024

📊 Bundle size report

✅ No changes found

@fabricteam
Copy link
Collaborator

fabricteam commented May 28, 2024

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 33 41 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 644 611 5000
Button mount 297 300 5000
Field mount 1131 1120 5000
FluentProvider mount 735 712 5000
FluentProviderWithTheme mount 81 93 10
FluentProviderWithTheme virtual-rerender 33 41 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 69 85 10
MakeStyles mount 878 872 50000
Persona mount 1742 1706 5000
SpinButton mount 1367 1428 5000
SwatchPicker mount 1571 1549 5000

@Hotell Hotell marked this pull request as ready for review May 28, 2024 16:30
@Hotell Hotell requested a review from a team as a code owner May 28, 2024 16:30
@Hotell Hotell merged commit dec4cf3 into microsoft:master May 29, 2024
20 checks passed
@Hotell Hotell deleted the type-checking-perf/apply/react-components-suite branch May 29, 2024 08:38
miroslavstastny pushed a commit to miroslavstastny/fluentui that referenced this pull request Jun 14, 2024
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.

3 participants