-
Couldn't load subscription status.
- Fork 2.8k
chore: add bundle size fixtures for converged components #18970
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
Conversation
|
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 d78487a:
|
📊 Bundle size report
Unchanged fixtures
|
| "license": "MIT", | ||
| "scripts": { | ||
| "build": "just-scripts build", | ||
| "bundle-size": "bundle-size measure", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this command necessary if it's already a bin in the root ? I guess it might be for lage ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this command necessary if it's already a bin in the root ? I guess it might be for lage ?
Exactly, as we run commands per package to allow scoping and lage (any other other tool) needs to know what to run.
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 8ebf2d422547bda60eb22eae2b12c3bd1339ec06 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 832 | 820 | 5000 | |
| BaseButton | mount | 924 | 946 | 5000 | |
| Breadcrumb | mount | 2574 | 2547 | 1000 | |
| ButtonNext | mount | 545 | 557 | 5000 | |
| Checkbox | mount | 1622 | 1585 | 5000 | |
| CheckboxBase | mount | 1344 | 1343 | 5000 | |
| ChoiceGroup | mount | 4978 | 4882 | 5000 | |
| ComboBox | mount | 975 | 995 | 1000 | |
| CommandBar | mount | 10029 | 10107 | 1000 | |
| ContextualMenu | mount | 6311 | 6241 | 1000 | |
| DefaultButton | mount | 1164 | 1141 | 5000 | |
| DetailsRow | mount | 3815 | 3811 | 5000 | |
| DetailsRowFast | mount | 3805 | 3814 | 5000 | |
| DetailsRowNoStyles | mount | 3569 | 3691 | 5000 | |
| Dialog | mount | 1413 | 2144 | 1000 | |
| DocumentCardTitle | mount | 162 | 147 | 1000 | |
| Dropdown | mount | 3377 | 3358 | 5000 | |
| FluentProviderNext | mount | 6813 | 6709 | 5000 | |
| FocusTrapZone | mount | 1772 | 1763 | 5000 | |
| FocusZone | mount | 1771 | 1803 | 5000 | |
| IconButton | mount | 1814 | 1790 | 5000 | |
| Label | mount | 325 | 336 | 5000 | |
| Layer | mount | 1796 | 1833 | 5000 | |
| Link | mount | 467 | 478 | 5000 | |
| MakeStyles | mount | 1746 | 1725 | 50000 | |
| MenuButton | mount | 1526 | 1490 | 5000 | |
| MessageBar | mount | 1990 | 1972 | 5000 | |
| Nav | mount | 3359 | 3330 | 1000 | |
| OverflowSet | mount | 1042 | 1024 | 5000 | |
| Panel | mount | 2094 | 2122 | 1000 | |
| Persona | mount | 848 | 833 | 1000 | |
| Pivot | mount | 1414 | 1496 | 1000 | |
| PrimaryButton | mount | 1352 | 1320 | 5000 | |
| Rating | mount | 8073 | 8162 | 5000 | |
| SearchBox | mount | 1399 | 1373 | 5000 | |
| Shimmer | mount | 2668 | 2616 | 5000 | |
| Slider | mount | 1996 | 1981 | 5000 | |
| SpinButton | mount | 5043 | 5111 | 5000 | |
| Spinner | mount | 399 | 395 | 5000 | |
| SplitButton | mount | 3270 | 3197 | 5000 | |
| Stack | mount | 532 | 514 | 5000 | |
| StackWithIntrinsicChildren | mount | 1628 | 1618 | 5000 | |
| StackWithTextChildren | mount | 4857 | 4828 | 5000 | |
| SwatchColorPicker | mount | 10452 | 10351 | 5000 | |
| Tabs | mount | 1426 | 1413 | 1000 | |
| TagPicker | mount | 2548 | 2479 | 5000 | |
| TeachingBubble | mount | 11706 | 11786 | 5000 | |
| Text | mount | 429 | 443 | 5000 | |
| TextField | mount | 1417 | 1399 | 5000 | |
| ThemeProvider | mount | 1203 | 1172 | 5000 | |
| ThemeProvider | virtual-rerender | 613 | 595 | 5000 | |
| Toggle | mount | 850 | 813 | 5000 | |
| buttonNative | mount | 107 | 111 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| GridMinimalPerf.default | 380 | 334 | 1.14:1 |
| AttachmentMinimalPerf.default | 176 | 159 | 1.11:1 |
| SkeletonMinimalPerf.default | 382 | 348 | 1.1:1 |
| AccordionMinimalPerf.default | 163 | 150 | 1.09:1 |
| ChatDuplicateMessagesPerf.default | 320 | 298 | 1.07:1 |
| ImageMinimalPerf.default | 415 | 387 | 1.07:1 |
| SegmentMinimalPerf.default | 374 | 352 | 1.06:1 |
| AlertMinimalPerf.default | 297 | 282 | 1.05:1 |
| AvatarMinimalPerf.default | 203 | 194 | 1.05:1 |
| FormMinimalPerf.default | 443 | 422 | 1.05:1 |
| LayoutMinimalPerf.default | 383 | 364 | 1.05:1 |
| RefMinimalPerf.default | 228 | 217 | 1.05:1 |
| TreeWith60ListItems.default | 185 | 177 | 1.05:1 |
| AttachmentSlotsPerf.default | 1121 | 1076 | 1.04:1 |
| BoxMinimalPerf.default | 366 | 351 | 1.04:1 |
| ButtonMinimalPerf.default | 176 | 170 | 1.04:1 |
| ChatMinimalPerf.default | 686 | 660 | 1.04:1 |
| PopupMinimalPerf.default | 592 | 567 | 1.04:1 |
| IconMinimalPerf.default | 677 | 654 | 1.04:1 |
| TreeMinimalPerf.default | 842 | 808 | 1.04:1 |
| CardMinimalPerf.default | 579 | 564 | 1.03:1 |
| FlexMinimalPerf.default | 288 | 280 | 1.03:1 |
| ProviderMergeThemesPerf.default | 1655 | 1609 | 1.03:1 |
| TextAreaMinimalPerf.default | 526 | 513 | 1.03:1 |
| ChatWithPopoverPerf.default | 391 | 382 | 1.02:1 |
| DatepickerMinimalPerf.default | 5497 | 5412 | 1.02:1 |
| DialogMinimalPerf.default | 776 | 760 | 1.02:1 |
| HeaderMinimalPerf.default | 377 | 368 | 1.02:1 |
| ListNestedPerf.default | 582 | 568 | 1.02:1 |
| StatusMinimalPerf.default | 704 | 689 | 1.02:1 |
| CustomToolbarPrototype.default | 3861 | 3799 | 1.02:1 |
| DividerMinimalPerf.default | 379 | 375 | 1.01:1 |
| LabelMinimalPerf.default | 404 | 400 | 1.01:1 |
| ListWith60ListItems.default | 670 | 663 | 1.01:1 |
| LoaderMinimalPerf.default | 712 | 705 | 1.01:1 |
| MenuButtonMinimalPerf.default | 1723 | 1710 | 1.01:1 |
| TooltipMinimalPerf.default | 1048 | 1035 | 1.01:1 |
| VideoMinimalPerf.default | 660 | 653 | 1.01:1 |
| CheckboxMinimalPerf.default | 2772 | 2778 | 1:1 |
| DropdownMinimalPerf.default | 3034 | 3049 | 1:1 |
| EmbedMinimalPerf.default | 4174 | 4170 | 1:1 |
| InputMinimalPerf.default | 1285 | 1285 | 1:1 |
| RadioGroupMinimalPerf.default | 473 | 472 | 1:1 |
| SliderMinimalPerf.default | 1577 | 1572 | 1:1 |
| SplitButtonMinimalPerf.default | 3966 | 3979 | 1:1 |
| TableManyItemsPerf.default | 2027 | 2027 | 1:1 |
| TableMinimalPerf.default | 417 | 416 | 1:1 |
| ButtonOverridesMissPerf.default | 1695 | 1713 | 0.99:1 |
| DropdownManyItemsPerf.default | 697 | 701 | 0.99:1 |
| HeaderSlotsPerf.default | 796 | 806 | 0.99:1 |
| ListMinimalPerf.default | 531 | 537 | 0.99:1 |
| MenuMinimalPerf.default | 871 | 884 | 0.99:1 |
| PortalMinimalPerf.default | 168 | 169 | 0.99:1 |
| ProviderMinimalPerf.default | 1011 | 1020 | 0.99:1 |
| ReactionMinimalPerf.default | 401 | 404 | 0.99:1 |
| ToolbarMinimalPerf.default | 943 | 953 | 0.99:1 |
| AnimationMinimalPerf.default | 408 | 417 | 0.98:1 |
| ButtonSlotsPerf.default | 565 | 574 | 0.98:1 |
| ItemLayoutMinimalPerf.default | 1253 | 1273 | 0.98:1 |
| ListCommonPerf.default | 671 | 687 | 0.98:1 |
| CarouselMinimalPerf.default | 469 | 483 | 0.97:1 |
| TextMinimalPerf.default | 364 | 378 | 0.96:1 |
| RosterPerf.default | 1224 | 1319 | 0.93:1 |
|
🎉 Handy links: |
…8970) * chore: add bundle size fixtures for converged components * Change files * add fixture for positioning * Change files * fix name in fixture
Pull request checklist
$ yarn changeDescription of changes
This PR recreates all existing fixtures in SizeAuditor for
@fluentui/react-componentsto replace it with new bundle size tool.Pipelines are cleaned up in #18971.