chore: enable build-less DX for cross library storybooks and VR tests and improve build speeds#26559
Merged
Hotell merged 9 commits intomicrosoft:masterfrom Feb 17, 2023
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c4718a202e11187bb379bb6235482e48ab161e4f (build) |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
|
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. Latest deployment of this branch, based on commit 57d6542:
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1685 | 1724 | 5000 | |
| Button | mount | 1222 | 1171 | 5000 | |
| Field | mount | 2679 | 2724 | 5000 | |
| FluentProvider | mount | 2120 | 2103 | 5000 | |
| FluentProviderWithTheme | mount | 732 | 764 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 702 | 688 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 758 | 746 | 10 | |
| InfoButton | mount | 692 | 654 | 5000 | |
| MakeStyles | mount | 2365 | 2401 | 50000 | |
| Persona | mount | 4194 | 4092 | 5000 | |
| SpinButton | mount | 3350 | 3378 | 5000 |
Collaborator
Perf Analysis (
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1544 | 1549 | 5000 | |
| Breadcrumb | mount | 3674 | 3572 | 1000 | |
| Checkbox | mount | 3385 | 3392 | 5000 | |
| CheckboxBase | mount | 3030 | 3034 | 5000 | |
| ChoiceGroup | mount | 5885 | 5790 | 5000 | |
| ComboBox | mount | 1554 | 1564 | 1000 | |
| CommandBar | mount | 11931 | 11850 | 1000 | |
| ContextualMenu | mount | 18464 | 18240 | 1000 | |
| DefaultButton | mount | 1801 | 1841 | 5000 | |
| DetailsRow | mount | 4379 | 4512 | 5000 | |
| DetailsRowFast | mount | 4583 | 4542 | 5000 | |
| DetailsRowNoStyles | mount | 4393 | 4296 | 5000 | |
| Dialog | mount | 3937 | 3859 | 1000 | |
| DocumentCardTitle | mount | 736 | 700 | 1000 | |
| Dropdown | mount | 4191 | 4146 | 5000 | |
| FocusTrapZone | mount | 2582 | 2488 | 5000 | |
| FocusZone | mount | 2405 | 2451 | 5000 | |
| GroupedList | mount | 2381 | 2727 | 2 | |
| GroupedList | virtual-rerender | 1451 | 1428 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 2255 | 2097 | 2 | |
| GroupedListV2 | mount | 678 | 746 | 2 | |
| GroupedListV2 | virtual-rerender | 656 | 671 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 683 | 669 | 2 | |
| IconButton | mount | 2472 | 2534 | 5000 | |
| Label | mount | 882 | 914 | 5000 | |
| Layer | mount | 5448 | 5488 | 5000 | |
| Link | mount | 1047 | 1080 | 5000 | |
| MenuButton | mount | 2167 | 2177 | 5000 | |
| MessageBar | mount | 2905 | 2924 | 5000 | |
| Nav | mount | 4223 | 4264 | 1000 | |
| OverflowSet | mount | 1660 | 1726 | 5000 | |
| Panel | mount | 3137 | 3167 | 1000 | |
| Persona | mount | 1687 | 1696 | 1000 | |
| Pivot | mount | 2048 | 2099 | 1000 | |
| PrimaryButton | mount | 2000 | 2003 | 5000 | |
| Rating | mount | 9219 | 9411 | 5000 | |
| SearchBox | mount | 1991 | 1979 | 5000 | |
| Shimmer | mount | 3659 | 3805 | 5000 | |
| Slider | mount | 2617 | 2658 | 5000 | |
| SpinButton | mount | 5842 | 5975 | 5000 | |
| Spinner | mount | 1005 | 980 | 5000 | |
| SplitButton | mount | 3989 | 4003 | 5000 | |
| Stack | mount | 1067 | 1054 | 5000 | |
| StackWithIntrinsicChildren | mount | 3155 | 3295 | 5000 | |
| StackWithTextChildren | mount | 6408 | 6584 | 5000 | |
| SwatchColorPicker | mount | 13447 | 13245 | 5000 | |
| TagPicker | mount | 3417 | 3398 | 5000 | |
| TeachingBubble | mount | 106761 | 106950 | 5000 | |
| Text | mount | 984 | 983 | 5000 | |
| TextField | mount | 2059 | 2066 | 5000 | |
| ThemeProvider | mount | 1875 | 1864 | 5000 | |
| ThemeProvider | virtual-rerender | 1313 | 1346 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2668 | 2697 | 5000 | |
| Toggle | mount | 1431 | 1402 | 5000 | |
| buttonNative | mount | 657 | 657 | 5000 |
e8a7802 to
59443cc
Compare
dd8e6e6 to
e59de2a
Compare
6a8e0cf to
5ba941a
Compare
Hotell
commented
Feb 6, 2023
Hotell
commented
Feb 6, 2023
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
5ba941a to
6e5d0d6
Compare
ling1726
reviewed
Feb 7, 2023
ling1726
reviewed
Feb 7, 2023
ling1726
approved these changes
Feb 7, 2023
tudorpopams
approved these changes
Feb 8, 2023
115317a to
ea91fe4
Compare
micahgodbolt
approved these changes
Feb 9, 2023
khmakoto
approved these changes
Feb 9, 2023
spmonahan
approved these changes
Feb 9, 2023
37e15b8 to
1f75aef
Compare
Collaborator
🕵 FluentUI-v0 No visual regressions between this PR and main |
…mprove build speed
1f75aef to
57d6542
Compare
Collaborator
🕵 fluentuiv8 No visual regressions between this PR and main |
This file contains hidden or 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
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
Learn more by checking granular commits
NOTE: mangle is turned off for storybook production build by default (via terser plugin

). Swc minifier was mangling by default which was introducing property mangling that will cause VR test act on stories without explicit
storyNamerandomly. Thus mangling is explicitly turned off within our configs as well.Related Issue(s)