-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add separate react-components perf test package #21873
Add separate react-components perf test package #21873
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 0b2f5ac:
|
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 1006 | 818 | 5000 | Possible regression |
Breadcrumb | mount | 2568 | 2318 | 1000 | |
Checkbox | mount | 1522 | 1301 | 5000 | Possible regression |
CheckboxBase | mount | 1295 | 1135 | 5000 | Possible regression |
ChoiceGroup | mount | 4355 | 4123 | 5000 | |
ComboBox | mount | 1070 | 928 | 1000 | Possible regression |
CommandBar | mount | 9485 | 9206 | 1000 | |
ContextualMenu | mount | 11274 | 11069 | 1000 | |
DefaultButton | mount | 1213 | 996 | 5000 | Possible regression |
DetailsRow | mount | 3555 | 3381 | 5000 | |
DetailsRowFast | mount | 3496 | 3349 | 5000 | |
DetailsRowNoStyles | mount | 3434 | 3248 | 5000 | |
Dialog | mount | 2195 | 1985 | 1000 | |
DocumentCardTitle | mount | 365 | 142 | 1000 | Possible regression |
Dropdown | mount | 3094 | 2901 | 5000 | |
FocusTrapZone | mount | 1824 | 1585 | 5000 | Possible regression |
FocusZone | mount | 1810 | 1623 | 5000 | Possible regression |
IconButton | mount | 1765 | 1554 | 5000 | Possible regression |
Label | mount | 499 | 328 | 5000 | Possible regression |
Layer | mount | 2829 | 2571 | 5000 | |
Link | mount | 628 | 417 | 5000 | Possible regression |
MenuButton | mount | 1520 | 1270 | 5000 | Possible regression |
MessageBar | mount | 2062 | 1849 | 5000 | |
Nav | mount | 3161 | 2930 | 1000 | |
OverflowSet | mount | 1157 | 960 | 5000 | Possible regression |
Panel | mount | 2112 | 1903 | 1000 | |
Persona | mount | 960 | 736 | 1000 | Possible regression |
Pivot | mount | 1462 | 1271 | 1000 | Possible regression |
PrimaryButton | mount | 1359 | 1147 | 5000 | Possible regression |
Rating | mount | 6966 | 6713 | 5000 | |
SearchBox | mount | 1336 | 1168 | 5000 | Possible regression |
Shimmer | mount | 2399 | 2159 | 5000 | |
Slider | mount | 1925 | 1736 | 5000 | Possible regression |
SpinButton | mount | 4729 | 4458 | 5000 | |
Spinner | mount | 571 | 371 | 5000 | Possible regression |
SplitButton | mount | 3038 | 2825 | 5000 | |
Stack | mount | 659 | 460 | 5000 | Possible regression |
StackWithIntrinsicChildren | mount | 2235 | 1988 | 5000 | |
StackWithTextChildren | mount | 4756 | 4579 | 5000 | |
SwatchColorPicker | mount | 10541 | 10294 | 5000 | |
TagPicker | mount | 2583 | 2351 | 5000 | |
TeachingBubble | mount | 55092 | 51448 | 5000 | |
Text | mount | 586 | 380 | 5000 | Possible regression |
TextField | mount | 1462 | 1246 | 5000 | Possible regression |
ThemeProvider | mount | 1243 | 1088 | 5000 | Possible regression |
ThemeProvider | virtual-rerender | 752 | 566 | 5000 | Possible regression |
ThemeProvider | virtual-rerender-with-unmount | 1810 | 1612 | 5000 | |
Toggle | mount | 900 | 701 | 5000 | Possible regression |
buttonNative | mount | 305 | 104 | 5000 | Possible regression |
Perf Analysis (
|
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
AccordionMinimalPerf.default | 193 | 169 | 1.14:1 |
FlexMinimalPerf.default | 342 | 310 | 1.1:1 |
ChatWithPopoverPerf.default | 468 | 438 | 1.07:1 |
DividerMinimalPerf.default | 429 | 402 | 1.07:1 |
CardMinimalPerf.default | 671 | 636 | 1.06:1 |
HeaderMinimalPerf.default | 425 | 400 | 1.06:1 |
ListMinimalPerf.default | 594 | 560 | 1.06:1 |
RefMinimalPerf.default | 266 | 250 | 1.06:1 |
BoxMinimalPerf.default | 401 | 381 | 1.05:1 |
ButtonMinimalPerf.default | 220 | 209 | 1.05:1 |
FormMinimalPerf.default | 505 | 480 | 1.05:1 |
LabelMinimalPerf.default | 455 | 434 | 1.05:1 |
TextMinimalPerf.default | 405 | 387 | 1.05:1 |
AnimationMinimalPerf.default | 609 | 586 | 1.04:1 |
AvatarMinimalPerf.default | 227 | 218 | 1.04:1 |
ButtonSlotsPerf.default | 629 | 607 | 1.04:1 |
GridMinimalPerf.default | 393 | 379 | 1.04:1 |
SliderMinimalPerf.default | 1837 | 1765 | 1.04:1 |
TreeWith60ListItems.default | 205 | 198 | 1.04:1 |
CarouselMinimalPerf.default | 540 | 524 | 1.03:1 |
ChatMinimalPerf.default | 841 | 817 | 1.03:1 |
DatepickerMinimalPerf.default | 6157 | 5997 | 1.03:1 |
DialogMinimalPerf.default | 856 | 828 | 1.03:1 |
DropdownManyItemsPerf.default | 795 | 772 | 1.03:1 |
ListNestedPerf.default | 638 | 620 | 1.03:1 |
MenuMinimalPerf.default | 979 | 952 | 1.03:1 |
MenuButtonMinimalPerf.default | 1898 | 1846 | 1.03:1 |
PopupMinimalPerf.default | 687 | 667 | 1.03:1 |
SegmentMinimalPerf.default | 404 | 392 | 1.03:1 |
TooltipMinimalPerf.default | 1176 | 1141 | 1.03:1 |
ButtonOverridesMissPerf.default | 1872 | 1839 | 1.02:1 |
HeaderSlotsPerf.default | 866 | 853 | 1.02:1 |
ReactionMinimalPerf.default | 427 | 420 | 1.02:1 |
TextAreaMinimalPerf.default | 599 | 586 | 1.02:1 |
ChatDuplicateMessagesPerf.default | 352 | 347 | 1.01:1 |
EmbedMinimalPerf.default | 4535 | 4499 | 1.01:1 |
ImageMinimalPerf.default | 451 | 445 | 1.01:1 |
LayoutMinimalPerf.default | 417 | 412 | 1.01:1 |
LoaderMinimalPerf.default | 758 | 753 | 1.01:1 |
SplitButtonMinimalPerf.default | 4853 | 4806 | 1.01:1 |
StatusMinimalPerf.default | 765 | 754 | 1.01:1 |
IconMinimalPerf.default | 690 | 681 | 1.01:1 |
TableManyItemsPerf.default | 2209 | 2178 | 1.01:1 |
TableMinimalPerf.default | 464 | 459 | 1.01:1 |
CustomToolbarPrototype.default | 4426 | 4372 | 1.01:1 |
TreeMinimalPerf.default | 908 | 902 | 1.01:1 |
VideoMinimalPerf.default | 738 | 729 | 1.01:1 |
CheckboxMinimalPerf.default | 2875 | 2875 | 1:1 |
DropdownMinimalPerf.default | 3227 | 3214 | 1:1 |
ListWith60ListItems.default | 723 | 721 | 1:1 |
ProviderMergeThemesPerf.default | 1801 | 1794 | 1:1 |
ToolbarMinimalPerf.default | 1089 | 1092 | 1:1 |
ItemLayoutMinimalPerf.default | 1324 | 1340 | 0.99:1 |
ListCommonPerf.default | 732 | 741 | 0.99:1 |
ProviderMinimalPerf.default | 1234 | 1247 | 0.99:1 |
RadioGroupMinimalPerf.default | 514 | 517 | 0.99:1 |
AttachmentMinimalPerf.default | 185 | 188 | 0.98:1 |
AttachmentSlotsPerf.default | 1165 | 1190 | 0.98:1 |
InputMinimalPerf.default | 1368 | 1394 | 0.98:1 |
RosterPerf.default | 1244 | 1269 | 0.98:1 |
PortalMinimalPerf.default | 194 | 197 | 0.98:1 |
SkeletonMinimalPerf.default | 389 | 401 | 0.97:1 |
AlertMinimalPerf.default | 302 | 329 | 0.92:1 |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 6efe3f6054a3b055ebe37d67a5a60934b6945cb8 (build) |
7cacd43
to
0a7a14f
Compare
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1131 | 1106 | 5000 | Possible regression |
Button | mount | 288 | 655 | 5000 | Possible regression |
FluentProvider | mount | 307 | 2142 | 5000 | Possible regression |
FluentProviderWithTheme | mount | 370 | 327 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender | 318 | 267 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 401 | 337 | 10 | Possible regression |
MakeStyles | mount | 1993 | 1844 | 50000 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1131 | 1106 | 5000 | Possible regression |
Button | mount | 288 | 655 | 5000 | Possible regression |
FluentProvider | mount | 307 | 2142 | 5000 | Possible regression |
FluentProviderWithTheme | mount | 370 | 327 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender | 318 | 267 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 401 | 337 | 10 | Possible regression |
MakeStyles | mount | 1993 | 1844 | 50000 | Possible regression |
{ | ||
"name": "@fluentui/perf-test-react-components", | ||
"description": "Perf tests for @fluentui/react-components.", | ||
"version": "9.0.0-rc.0", |
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.
Set the version to 9.0.0-rc.0
so that v9 dependencies get bumped whenever we have a new v9 release. Similar to this #21805
37e9670
to
7e4925a
Compare
@@ -22,15 +22,19 @@ jobs: | |||
|
|||
- script: | | |||
NorthstarAffected=$(yarn --silent check-if-v0-v8-v9-affected --@fluentui/react-northstar) | |||
V8Affected=$(yarn --silent check-if-v0-v8-v9-affected --@fluentui/react --@fluentui/react-components) | |||
V8Affected=$(yarn --silent check-if-v0-v8-v9-affected --@fluentui/react) |
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.
this is obsolete right (yarn --silent check-if-v0-v8-v9-affected
) ? we use node
directly to run the script
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.
I initially used node
to run the script in the pipeline since using yarn
created a lot of extra churn. Ling gave me the secret sauce of using --silent
to get rid of that churn so I went back to using a script alias here 😄. Although I'm fine just getting rid of the alias and just using node
here to run the script too if you think that's better
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.
me gusta
Current Behavior
@fluentui/react
and@fluentui/react-components
perf tests are entangled together in one perf-test package which leads to unnecessary builds and perf test runs when only one of these libraries are modified by a PR.New Behavior
@fluentui/react-components
called@fluentui/perf-test-react-components
.@fluentui/react-components
to the new perf test package and removes them from the v8 perf test package.Related Issue(s)
Part of #21697