-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: enable build-less DX for cross library storybooks and VR tests and improve build speeds #26559
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: enable build-less DX for cross library storybooks and VR tests and improve build speeds #26559
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c4718a202e11187bb379bb6235482e48ab161e4f (build) |
📊 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:
|
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 |
Perf Analysis (
|
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
🕵 fluentuiv9 No visual regressions between this PR and main |
5ba941a to
6e5d0d6
Compare
115317a to
ea91fe4
Compare
37e15b8 to
1f75aef
Compare
🕵 FluentUI-v0 No visual regressions between this PR and main |
…mprove build speed
1f75aef to
57d6542
Compare
🕵 fluentuiv8 No visual regressions between this PR and main |
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)