-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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): split react libraries in two (/library and /stories) - cxe-red /1st batch #31579
Merged
Hotell
merged 4 commits into
microsoft:master
from
Hotell:type-checking-perf/apply/cxe-red
Jun 11, 2024
Merged
chore(react-components): split react libraries in two (/library and /stories) - cxe-red /1st batch #31579
Hotell
merged 4 commits into
microsoft:master
from
Hotell:type-checking-perf/apply/cxe-red
Jun 11, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fabricteam
reviewed
Jun 5, 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. |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
FluentProviderWithTheme | virtual-rerender | 33 | 40 | 10 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 623 | 647 | 5000 | |
Button | mount | 297 | 315 | 5000 | |
Field | mount | 1086 | 1117 | 5000 | |
FluentProvider | mount | 704 | 716 | 5000 | |
FluentProviderWithTheme | mount | 75 | 87 | 10 | |
FluentProviderWithTheme | virtual-rerender | 33 | 40 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 71 | 75 | 10 | |
MakeStyles | mount | 846 | 847 | 50000 | |
Persona | mount | 1710 | 1735 | 5000 | |
SpinButton | mount | 1393 | 1445 | 5000 | |
SwatchPicker | mount | 1541 | 1584 | 5000 |
fabricteam
reviewed
Jun 5, 2024
Perf Analysis (
|
Scenario | Current PR Ticks | Baseline Ticks | Ratio | Regression Analysis |
---|---|---|---|---|
SkeletonMinimalPerf.default | 184 | 194 | 0.95:1 | analysis |
Perf tests with no regressions
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
TreeWith60ListItems.default | 96 | 78 | 1.23:1 |
AttachmentMinimalPerf.default | 84 | 76 | 1.11:1 |
ButtonMinimalPerf.default | 95 | 87 | 1.09:1 |
DropdownManyItemsPerf.default | 404 | 371 | 1.09:1 |
AvatarMinimalPerf.default | 117 | 108 | 1.08:1 |
LabelMinimalPerf.default | 230 | 212 | 1.08:1 |
StatusMinimalPerf.default | 408 | 378 | 1.08:1 |
DividerMinimalPerf.default | 209 | 196 | 1.07:1 |
RefMinimalPerf.default | 114 | 107 | 1.07:1 |
ListCommonPerf.default | 408 | 384 | 1.06:1 |
ListNestedPerf.default | 345 | 324 | 1.06:1 |
ToolbarMinimalPerf.default | 563 | 529 | 1.06:1 |
BoxMinimalPerf.default | 202 | 193 | 1.05:1 |
InputMinimalPerf.default | 560 | 531 | 1.05:1 |
ProviderMinimalPerf.default | 212 | 201 | 1.05:1 |
RadioGroupMinimalPerf.default | 273 | 259 | 1.05:1 |
SliderMinimalPerf.default | 762 | 726 | 1.05:1 |
VideoMinimalPerf.default | 450 | 430 | 1.05:1 |
DatepickerMinimalPerf.default | 3726 | 3571 | 1.04:1 |
LayoutMinimalPerf.default | 202 | 194 | 1.04:1 |
SegmentMinimalPerf.default | 203 | 195 | 1.04:1 |
TextMinimalPerf.default | 201 | 194 | 1.04:1 |
ChatDuplicateMessagesPerf.default | 156 | 151 | 1.03:1 |
DialogMinimalPerf.default | 448 | 434 | 1.03:1 |
GridMinimalPerf.default | 194 | 188 | 1.03:1 |
MenuButtonMinimalPerf.default | 955 | 930 | 1.03:1 |
TableMinimalPerf.default | 231 | 225 | 1.03:1 |
FormMinimalPerf.default | 219 | 215 | 1.02:1 |
ItemLayoutMinimalPerf.default | 706 | 689 | 1.02:1 |
PortalMinimalPerf.default | 86 | 84 | 1.02:1 |
ReactionMinimalPerf.default | 213 | 209 | 1.02:1 |
SplitButtonMinimalPerf.default | 2247 | 2211 | 1.02:1 |
TableManyItemsPerf.default | 1131 | 1104 | 1.02:1 |
TooltipMinimalPerf.default | 1268 | 1240 | 1.02:1 |
AttachmentSlotsPerf.default | 640 | 632 | 1.01:1 |
ButtonOverridesMissPerf.default | 643 | 635 | 1.01:1 |
ChatMinimalPerf.default | 446 | 440 | 1.01:1 |
CheckboxMinimalPerf.default | 1160 | 1147 | 1.01:1 |
EmbedMinimalPerf.default | 1873 | 1850 | 1.01:1 |
LoaderMinimalPerf.default | 193 | 191 | 1.01:1 |
MenuMinimalPerf.default | 503 | 497 | 1.01:1 |
ProviderMergeThemesPerf.default | 649 | 640 | 1.01:1 |
AlertMinimalPerf.default | 155 | 155 | 1:1 |
ButtonSlotsPerf.default | 314 | 314 | 1:1 |
DropdownMinimalPerf.default | 1407 | 1413 | 1:1 |
HeaderMinimalPerf.default | 203 | 203 | 1:1 |
HeaderSlotsPerf.default | 462 | 460 | 1:1 |
ImageMinimalPerf.default | 223 | 223 | 1:1 |
PopupMinimalPerf.default | 347 | 348 | 1:1 |
TextAreaMinimalPerf.default | 288 | 288 | 1:1 |
ListWith60ListItems.default | 359 | 362 | 0.99:1 |
CustomToolbarPrototype.default | 1475 | 1496 | 0.99:1 |
CardMinimalPerf.default | 302 | 308 | 0.98:1 |
CarouselMinimalPerf.default | 259 | 263 | 0.98:1 |
ListMinimalPerf.default | 307 | 312 | 0.98:1 |
AnimationMinimalPerf.default | 292 | 301 | 0.97:1 |
ChatWithPopoverPerf.default | 189 | 195 | 0.97:1 |
RosterPerf.default | 1558 | 1603 | 0.97:1 |
IconMinimalPerf.default | 375 | 386 | 0.97:1 |
AccordionMinimalPerf.default | 78 | 83 | 0.94:1 |
TreeMinimalPerf.default | 460 | 499 | 0.92:1 |
FlexMinimalPerf.default | 148 | 162 | 0.91:1 |
🕵 FluentUIV0 No visual regressions between this PR and main |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 629 | 639 | 5000 | |
Breadcrumb | mount | 1685 | 1682 | 1000 | |
Checkbox | mount | 1704 | 1679 | 5000 | |
CheckboxBase | mount | 1461 | 1469 | 5000 | |
ChoiceGroup | mount | 2983 | 2952 | 5000 | |
ComboBox | mount | 652 | 680 | 1000 | |
CommandBar | mount | 6397 | 6443 | 1000 | |
ContextualMenu | mount | 11615 | 11527 | 1000 | |
DefaultButton | mount | 789 | 803 | 5000 | |
DetailsRow | mount | 2170 | 2206 | 5000 | |
DetailsRowFast | mount | 2191 | 2190 | 5000 | |
DetailsRowNoStyles | mount | 2049 | 2014 | 5000 | |
Dialog | mount | 2845 | 2642 | 1000 | |
DocumentCardTitle | mount | 230 | 222 | 1000 | |
Dropdown | mount | 1986 | 1989 | 5000 | |
FocusTrapZone | mount | 1158 | 1139 | 5000 | |
FocusZone | mount | 1064 | 1095 | 5000 | |
GroupedList | mount | 37086 | 41845 | 2 | |
GroupedList | virtual-rerender | 17931 | 19738 | 2 | |
GroupedList | virtual-rerender-with-unmount | 50445 | 50675 | 2 | |
GroupedListV2 | mount | 224 | 226 | 2 | |
GroupedListV2 | virtual-rerender | 220 | 217 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 221 | 234 | 2 | |
IconButton | mount | 1080 | 1113 | 5000 | |
Label | mount | 340 | 339 | 5000 | |
Layer | mount | 2691 | 2782 | 5000 | |
Link | mount | 389 | 405 | 5000 | |
MenuButton | mount | 970 | 959 | 5000 | |
MessageBar | mount | 21304 | 21381 | 5000 | |
Nav | mount | 1998 | 1999 | 1000 | |
OverflowSet | mount | 775 | 754 | 5000 | |
Panel | mount | 1842 | 1789 | 1000 | |
Persona | mount | 711 | 762 | 1000 | |
Pivot | mount | 871 | 913 | 1000 | |
PrimaryButton | mount | 917 | 912 | 5000 | |
Rating | mount | 4610 | 4614 | 5000 | |
SearchBox | mount | 901 | 921 | 5000 | |
Shimmer | mount | 1844 | 1879 | 5000 | |
Slider | mount | 1309 | 1316 | 5000 | |
SpinButton | mount | 2943 | 2932 | 5000 | |
Spinner | mount | 395 | 389 | 5000 | |
SplitButton | mount | 1861 | 1881 | 5000 | |
Stack | mount | 410 | 416 | 5000 | |
StackWithIntrinsicChildren | mount | 853 | 849 | 5000 | |
StackWithTextChildren | mount | 2575 | 2572 | 5000 | |
SwatchColorPicker | mount | 6411 | 6272 | 5000 | |
TagPicker | mount | 1416 | 1483 | 5000 | |
Text | mount | 370 | 352 | 5000 | |
TextField | mount | 938 | 922 | 5000 | |
ThemeProvider | mount | 841 | 846 | 5000 | |
ThemeProvider | virtual-rerender | 588 | 567 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 1279 | 1253 | 5000 | |
Toggle | mount | 601 | 609 | 5000 | |
buttonNative | mount | 189 | 192 | 5000 |
fabricteam
reviewed
Jun 5, 2024
17 tasks
3f4d6f6
to
66f3aa1
Compare
…stories) - cxe-red /1st batch
66f3aa1
to
4880f50
Compare
ee44b7a
to
bcf1bf6
Compare
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Jun 12, 2024
…escription * master: chore(react-list-preview): Add bundle size tests (microsoft#31658) applying package updates feat:react-nav-preview Add a handful of accessibility features for Nav (microsoft#31649) feat: refactor anchor-button to use element internals and anchor proxy element (microsoft#31653) chore:(docs) New Component doc (microsoft#31611) style(react-nav-preview): fix formatting in barel file (microsoft#31671) feat(web-components): refactor progress bar to use ElementInternals (microsoft#31652) chore(react-components): split react libraries in two (/library and /stories) - last batch (microsoft#31581) fix(scripts-beachball): ignore web-components packages from v8 release scope (microsoft#31667) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch (microsoft#31580) chore: Remove recipes-react-components in favor of recipes package (microsoft#31647) feat: Add consistent start and finish lifecycle callbacks (microsoft#31644) chore(docs): Remove requirement of performance tests from epic template (microsoft#31662) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /1st batch (microsoft#31579) docs(react-swatch-picker): added SwatchPicker page to Component Mapping (microsoft#31637) docs(dev-env): update minimal node version (microsoft#31638)
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Jun 12, 2024
* master: chore(react-list-preview): Add bundle size tests (microsoft#31658) applying package updates feat:react-nav-preview Add a handful of accessibility features for Nav (microsoft#31649) feat: refactor anchor-button to use element internals and anchor proxy element (microsoft#31653) chore:(docs) New Component doc (microsoft#31611) style(react-nav-preview): fix formatting in barel file (microsoft#31671) feat(web-components): refactor progress bar to use ElementInternals (microsoft#31652) chore(react-components): split react libraries in two (/library and /stories) - last batch (microsoft#31581) fix(scripts-beachball): ignore web-components packages from v8 release scope (microsoft#31667) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch (microsoft#31580) chore: Remove recipes-react-components in favor of recipes package (microsoft#31647) feat: Add consistent start and finish lifecycle callbacks (microsoft#31644) chore(docs): Remove requirement of performance tests from epic template (microsoft#31662) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /1st batch (microsoft#31579) docs(react-swatch-picker): added SwatchPicker page to Component Mapping (microsoft#31637) docs(dev-env): update minimal node version (microsoft#31638)
miroslavstastny
pushed a commit
to miroslavstastny/fluentui
that referenced
this pull request
Jun 14, 2024
…stories) - cxe-red /1st batch (microsoft#31579)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous Behavior
New Behavior
Note
Based on RFC v9 react packages are split in two: #30514
Package/Scaffold changes:
![package split changes within react-components. before and after.](https://private-user-images.githubusercontent.com/1223799/336483958-58f52137-a466-4634-80be-976fdd255cf1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTMzOTEsIm5iZiI6MTczOTYxMzA5MSwicGF0aCI6Ii8xMjIzNzk5LzMzNjQ4Mzk1OC01OGY1MjEzNy1hNDY2LTQ2MzQtODBiZS05NzZmZGQyNTVjZjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDk1MTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGIwOWVkODBhMGEwNzdiODYxM2MwZDViYTI3Mzg2NTQzNTRkZWFhYmQyMmU2ZTczMGVmODFjNTc5YmUyMTNhNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.9kSJmtNQQ8p5neaKfo1nK0fef6ISi8ydIkRFo_qxHNw)
yarn nx g @fluentui/workspace-plugin:split-library-in-two --project @fluentui/react-<name>
Related Issue(s)