React utilities interfaces to types#19875
Merged
GeoffCoxMSFT merged 2 commits intomasterfrom Sep 21, 2021
Merged
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 6cf0191:
|
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: ecf1896432b9c9963fa938d99062ea5423d73fca (build) |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 864 | 860 | 5000 | |
| BaseButton | mount | 875 | 870 | 5000 | |
| Breadcrumb | mount | 2521 | 2540 | 1000 | |
| ButtonNext | mount | 428 | 423 | 5000 | |
| Checkbox | mount | 1431 | 1439 | 5000 | |
| CheckboxBase | mount | 1203 | 1267 | 5000 | |
| ChoiceGroup | mount | 4446 | 4493 | 5000 | |
| ComboBox | mount | 919 | 928 | 1000 | |
| CommandBar | mount | 9696 | 9746 | 1000 | |
| ContextualMenu | mount | 6172 | 6207 | 1000 | |
| DefaultButton | mount | 1077 | 1075 | 5000 | |
| DetailsRow | mount | 3490 | 3559 | 5000 | |
| DetailsRowFast | mount | 3552 | 3537 | 5000 | |
| DetailsRowNoStyles | mount | 3323 | 3333 | 5000 | |
| Dialog | mount | 2286 | 2315 | 1000 | |
| DocumentCardTitle | mount | 145 | 144 | 1000 | |
| Dropdown | mount | 3104 | 3030 | 5000 | |
| FluentProviderNext | mount | 7081 | 7182 | 5000 | |
| FluentProviderWithTheme | mount | 355 | 341 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 87 | 101 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 458 | 468 | 10 | |
| FocusTrapZone | mount | 1681 | 1692 | 5000 | |
| FocusZone | mount | 1689 | 1712 | 5000 | |
| IconButton | mount | 1626 | 1675 | 5000 | |
| Label | mount | 319 | 314 | 5000 | |
| Layer | mount | 2824 | 2864 | 5000 | |
| Link | mount | 441 | 453 | 5000 | |
| MakeStyles | mount | 1773 | 1765 | 50000 | |
| MenuButton | mount | 1380 | 1398 | 5000 | |
| MessageBar | mount | 1926 | 1936 | 5000 | |
| Nav | mount | 3113 | 3139 | 1000 | |
| OverflowSet | mount | 1079 | 1062 | 5000 | |
| Panel | mount | 2253 | 2249 | 1000 | |
| Persona | mount | 778 | 795 | 1000 | |
| Pivot | mount | 1344 | 1327 | 1000 | |
| PrimaryButton | mount | 1212 | 1214 | 5000 | |
| Rating | mount | 7228 | 7472 | 5000 | |
| SearchBox | mount | 1243 | 1239 | 5000 | |
| Shimmer | mount | 2369 | 2354 | 5000 | |
| Slider | mount | 1897 | 1843 | 5000 | |
| SpinButton | mount | 4838 | 4673 | 5000 | |
| Spinner | mount | 397 | 414 | 5000 | |
| SplitButton | mount | 2973 | 2953 | 5000 | |
| Stack | mount | 473 | 452 | 5000 | |
| StackWithIntrinsicChildren | mount | 1486 | 1482 | 5000 | |
| StackWithTextChildren | mount | 4251 | 4284 | 5000 | |
| SwatchColorPicker | mount | 9604 | 9657 | 5000 | |
| Tabs | mount | 1314 | 1298 | 1000 | |
| TagPicker | mount | 2410 | 2415 | 5000 | |
| TeachingBubble | mount | 12527 | 12554 | 5000 | |
| Text | mount | 396 | 385 | 5000 | |
| TextField | mount | 1288 | 1332 | 5000 | |
| ThemeProvider | mount | 1096 | 1144 | 5000 | |
| ThemeProvider | virtual-rerender | 564 | 556 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1776 | 1797 | 5000 | |
| Toggle | mount | 757 | 762 | 5000 | |
| buttonNative | mount | 117 | 103 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Potential regressions comparing to master
| Scenario | Current PR Ticks | Baseline Ticks | Ratio | Regression Analysis |
|---|---|---|---|---|
| ButtonSlotsPerf.default | 498 | 513 | 0.97:1 | analysis |
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AvatarMinimalPerf.default | 194 | 178 | 1.09:1 |
| FlexMinimalPerf.default | 294 | 269 | 1.09:1 |
| ListWith60ListItems.default | 638 | 589 | 1.08:1 |
| BoxMinimalPerf.default | 348 | 325 | 1.07:1 |
| AlertMinimalPerf.default | 261 | 246 | 1.06:1 |
| AnimationMinimalPerf.default | 397 | 373 | 1.06:1 |
| ChatDuplicateMessagesPerf.default | 284 | 270 | 1.05:1 |
| GridMinimalPerf.default | 333 | 318 | 1.05:1 |
| RefMinimalPerf.default | 227 | 217 | 1.05:1 |
| AccordionMinimalPerf.default | 140 | 134 | 1.04:1 |
| ChatMinimalPerf.default | 617 | 596 | 1.04:1 |
| DropdownManyItemsPerf.default | 665 | 639 | 1.04:1 |
| SkeletonMinimalPerf.default | 340 | 328 | 1.04:1 |
| AttachmentSlotsPerf.default | 1022 | 993 | 1.03:1 |
| LayoutMinimalPerf.default | 350 | 341 | 1.03:1 |
| ProviderMergeThemesPerf.default | 1633 | 1592 | 1.03:1 |
| TableManyItemsPerf.default | 1829 | 1768 | 1.03:1 |
| ButtonMinimalPerf.default | 166 | 162 | 1.02:1 |
| CardMinimalPerf.default | 525 | 514 | 1.02:1 |
| CarouselMinimalPerf.default | 447 | 439 | 1.02:1 |
| ListCommonPerf.default | 601 | 591 | 1.02:1 |
| LoaderMinimalPerf.default | 678 | 662 | 1.02:1 |
| ReactionMinimalPerf.default | 347 | 339 | 1.02:1 |
| TreeMinimalPerf.default | 782 | 769 | 1.02:1 |
| TreeWith60ListItems.default | 172 | 169 | 1.02:1 |
| CheckboxMinimalPerf.default | 2627 | 2606 | 1.01:1 |
| DialogMinimalPerf.default | 746 | 738 | 1.01:1 |
| DropdownMinimalPerf.default | 3062 | 3031 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 1148 | 1138 | 1.01:1 |
| MenuMinimalPerf.default | 806 | 799 | 1.01:1 |
| PortalMinimalPerf.default | 171 | 169 | 1.01:1 |
| ToolbarMinimalPerf.default | 887 | 876 | 1.01:1 |
| ButtonOverridesMissPerf.default | 1618 | 1610 | 1:1 |
| DividerMinimalPerf.default | 342 | 343 | 1:1 |
| InputMinimalPerf.default | 1208 | 1214 | 1:1 |
| LabelMinimalPerf.default | 357 | 357 | 1:1 |
| MenuButtonMinimalPerf.default | 1555 | 1551 | 1:1 |
| RosterPerf.default | 1107 | 1105 | 1:1 |
| ProviderMinimalPerf.default | 958 | 958 | 1:1 |
| SegmentMinimalPerf.default | 323 | 324 | 1:1 |
| SliderMinimalPerf.default | 1512 | 1515 | 1:1 |
| SplitButtonMinimalPerf.default | 3926 | 3921 | 1:1 |
| TextMinimalPerf.default | 327 | 327 | 1:1 |
| CustomToolbarPrototype.default | 3698 | 3705 | 1:1 |
| ChatWithPopoverPerf.default | 337 | 340 | 0.99:1 |
| EmbedMinimalPerf.default | 4030 | 4060 | 0.99:1 |
| ListMinimalPerf.default | 479 | 483 | 0.99:1 |
| PopupMinimalPerf.default | 567 | 572 | 0.99:1 |
| StatusMinimalPerf.default | 623 | 627 | 0.99:1 |
| IconMinimalPerf.default | 583 | 588 | 0.99:1 |
| TableMinimalPerf.default | 379 | 382 | 0.99:1 |
| TooltipMinimalPerf.default | 976 | 983 | 0.99:1 |
| VideoMinimalPerf.default | 594 | 597 | 0.99:1 |
| AttachmentMinimalPerf.default | 143 | 146 | 0.98:1 |
| ListNestedPerf.default | 501 | 511 | 0.98:1 |
| HeaderSlotsPerf.default | 724 | 749 | 0.97:1 |
| RadioGroupMinimalPerf.default | 411 | 425 | 0.97:1 |
| DatepickerMinimalPerf.default | 5254 | 5480 | 0.96:1 |
| HeaderMinimalPerf.default | 331 | 348 | 0.95:1 |
| ImageMinimalPerf.default | 331 | 347 | 0.95:1 |
| FormMinimalPerf.default | 361 | 389 | 0.93:1 |
| TextAreaMinimalPerf.default | 452 | 500 | 0.9:1 |
khmakoto
approved these changes
Sep 21, 2021
mlp73
pushed a commit
to mlp73/fluentui
that referenced
this pull request
Jan 17, 2022
* Moved from interfaces to types per RFC * Change files
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.
Pull request checklist
$ yarn changeDescription of changes
Updates the definitions in react-utilities to use types instead of interfaces.
Per RFC: #19775
Focus areas to test
(optional)