chore: fix issues in N* perf test#25349
Merged
layershifter merged 2 commits intomicrosoft:masterfrom Nov 23, 2022
Merged
Conversation
layershifter
commented
Oct 24, 2022
Comment on lines
-11
to
-12
| // https://github.com/bvaughn/rfcs/blob/profiler/text/0000-profiler.md | ||
| const Profiler = (React as any).unstable_Profiler; |
Member
Author
There was a problem hiding this comment.
We moved to React 17, this API is stable there.
layershifter
commented
Oct 24, 2022
| }, | ||
| plugins: [ | ||
| new webpack.DefinePlugin(getDefaultEnvironmentVars()), | ||
| new webpack.DefinePlugin(getDefaultEnvironmentVars(!argv.debug)), |
Member
Author
There was a problem hiding this comment.
Solves:
[10:25:20] WARNING in DefinePlugin
Conflicting values for 'process.env.NODE_ENV'
'"development"' !== '"production"'
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 2d9a9f3147deea6d0c0a60747e1074faf47968c3 (build) |
|
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 91cbd0f:
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1286 | 1269 | 5000 | |
| Button | mount | 915 | 928 | 5000 | |
| FluentProvider | mount | 1493 | 1486 | 5000 | |
| FluentProviderWithTheme | mount | 571 | 580 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 545 | 540 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 564 | 559 | 10 | |
| MakeStyles | mount | 1967 | 1964 | 50000 | |
| SpinButton | mount | 2385 | 2360 | 5000 |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| ChatDuplicateMessagesPerf.default | 224 | 202 | 1.11:1 |
| AvatarMinimalPerf.default | 172 | 163 | 1.06:1 |
| FlexMinimalPerf.default | 260 | 245 | 1.06:1 |
| ProviderMinimalPerf.default | 332 | 312 | 1.06:1 |
| DropdownManyItemsPerf.default | 559 | 535 | 1.04:1 |
| GridMinimalPerf.default | 301 | 290 | 1.04:1 |
| SegmentMinimalPerf.default | 315 | 304 | 1.04:1 |
| SkeletonMinimalPerf.default | 307 | 296 | 1.04:1 |
| TableMinimalPerf.default | 366 | 351 | 1.04:1 |
| BoxMinimalPerf.default | 302 | 294 | 1.03:1 |
| LayoutMinimalPerf.default | 324 | 315 | 1.03:1 |
| ListCommonPerf.default | 520 | 507 | 1.03:1 |
| ListMinimalPerf.default | 464 | 451 | 1.03:1 |
| TooltipMinimalPerf.default | 1911 | 1862 | 1.03:1 |
| TreeWith60ListItems.default | 132 | 128 | 1.03:1 |
| AccordionMinimalPerf.default | 124 | 122 | 1.02:1 |
| AnimationMinimalPerf.default | 475 | 467 | 1.02:1 |
| ButtonMinimalPerf.default | 139 | 136 | 1.02:1 |
| CardMinimalPerf.default | 472 | 464 | 1.02:1 |
| ListWith60ListItems.default | 498 | 489 | 1.02:1 |
| CustomToolbarPrototype.default | 2182 | 2149 | 1.02:1 |
| ToolbarMinimalPerf.default | 796 | 779 | 1.02:1 |
| AttachmentSlotsPerf.default | 885 | 874 | 1.01:1 |
| ButtonOverridesMissPerf.default | 1031 | 1016 | 1.01:1 |
| DividerMinimalPerf.default | 313 | 309 | 1.01:1 |
| DropdownMinimalPerf.default | 2201 | 2172 | 1.01:1 |
| EmbedMinimalPerf.default | 2647 | 2621 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 979 | 965 | 1.01:1 |
| ListNestedPerf.default | 465 | 461 | 1.01:1 |
| MenuButtonMinimalPerf.default | 1352 | 1345 | 1.01:1 |
| SliderMinimalPerf.default | 1249 | 1238 | 1.01:1 |
| TextMinimalPerf.default | 304 | 302 | 1.01:1 |
| TextAreaMinimalPerf.default | 410 | 407 | 1.01:1 |
| TreeMinimalPerf.default | 701 | 692 | 1.01:1 |
| VideoMinimalPerf.default | 641 | 637 | 1.01:1 |
| CarouselMinimalPerf.default | 351 | 352 | 1:1 |
| ChatMinimalPerf.default | 634 | 632 | 1:1 |
| DialogMinimalPerf.default | 686 | 683 | 1:1 |
| HeaderMinimalPerf.default | 317 | 316 | 1:1 |
| InputMinimalPerf.default | 849 | 850 | 1:1 |
| RosterPerf.default | 1696 | 1691 | 1:1 |
| PopupMinimalPerf.default | 559 | 557 | 1:1 |
| ProviderMergeThemesPerf.default | 988 | 992 | 1:1 |
| ReactionMinimalPerf.default | 328 | 327 | 1:1 |
| SplitButtonMinimalPerf.default | 3275 | 3269 | 1:1 |
| StatusMinimalPerf.default | 609 | 611 | 1:1 |
| IconMinimalPerf.default | 559 | 558 | 1:1 |
| AttachmentMinimalPerf.default | 123 | 124 | 0.99:1 |
| ButtonSlotsPerf.default | 418 | 422 | 0.99:1 |
| CheckboxMinimalPerf.default | 1528 | 1538 | 0.99:1 |
| DatepickerMinimalPerf.default | 4674 | 4722 | 0.99:1 |
| FormMinimalPerf.default | 321 | 325 | 0.99:1 |
| HeaderSlotsPerf.default | 685 | 693 | 0.99:1 |
| ImageMinimalPerf.default | 339 | 341 | 0.99:1 |
| LabelMinimalPerf.default | 339 | 341 | 0.99:1 |
| LoaderMinimalPerf.default | 267 | 269 | 0.99:1 |
| MenuMinimalPerf.default | 724 | 731 | 0.99:1 |
| RadioGroupMinimalPerf.default | 386 | 389 | 0.99:1 |
| RefMinimalPerf.default | 180 | 181 | 0.99:1 |
| TableManyItemsPerf.default | 1568 | 1586 | 0.99:1 |
| PortalMinimalPerf.default | 137 | 146 | 0.94:1 |
| AlertMinimalPerf.default | 214 | 229 | 0.93:1 |
| ChatWithPopoverPerf.default | 276 | 300 | 0.92:1 |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| FocusZone | mount | 1898 | 1912 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1190 | 1199 | 5000 | |
| Breadcrumb | mount | 2764 | 2813 | 1000 | |
| Checkbox | mount | 2660 | 2651 | 5000 | |
| CheckboxBase | mount | 2401 | 2364 | 5000 | |
| ChoiceGroup | mount | 4305 | 4278 | 5000 | |
| ComboBox | mount | 1173 | 1198 | 1000 | |
| CommandBar | mount | 9199 | 9254 | 1000 | |
| ContextualMenu | mount | 10641 | 9987 | 1000 | |
| DefaultButton | mount | 1365 | 1354 | 5000 | |
| DetailsRow | mount | 3397 | 3349 | 5000 | |
| DetailsRowFast | mount | 3441 | 3374 | 5000 | |
| DetailsRowNoStyles | mount | 3258 | 3243 | 5000 | |
| Dialog | mount | 2984 | 2965 | 1000 | |
| DocumentCardTitle | mount | 579 | 578 | 1000 | |
| Dropdown | mount | 3170 | 3143 | 5000 | |
| FocusTrapZone | mount | 1968 | 1951 | 5000 | |
| FocusZone | mount | 1898 | 1912 | 5000 | Possible regression |
| GroupedList | mount | 1822 | 2042 | 2 | |
| GroupedList | virtual-rerender | 1090 | 1098 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 1588 | 1605 | 2 | |
| GroupedListV2 | mount | 567 | 582 | 2 | |
| GroupedListV2 | virtual-rerender | 544 | 534 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 577 | 579 | 2 | |
| IconButton | mount | 1783 | 1795 | 5000 | |
| Label | mount | 753 | 737 | 5000 | |
| Layer | mount | 4168 | 4200 | 5000 | |
| Link | mount | 849 | 860 | 5000 | |
| MenuButton | mount | 1626 | 1602 | 5000 | |
| MessageBar | mount | 2310 | 2304 | 5000 | |
| Nav | mount | 3068 | 3048 | 1000 | |
| OverflowSet | mount | 1395 | 1389 | 5000 | |
| Panel | mount | 2465 | 2527 | 1000 | |
| Persona | mount | 1246 | 1289 | 1000 | |
| Pivot | mount | 1511 | 1513 | 1000 | |
| PrimaryButton | mount | 1474 | 1483 | 5000 | |
| Rating | mount | 6971 | 7020 | 5000 | |
| SearchBox | mount | 1506 | 1499 | 5000 | |
| Shimmer | mount | 2882 | 2898 | 5000 | |
| Slider | mount | 2083 | 2137 | 5000 | |
| SpinButton | mount | 4220 | 4252 | 5000 | |
| Spinner | mount | 826 | 826 | 5000 | |
| SplitButton | mount | 2833 | 2839 | 5000 | |
| Stack | mount | 858 | 858 | 5000 | |
| StackWithIntrinsicChildren | mount | 2335 | 2309 | 5000 | |
| StackWithTextChildren | mount | 5057 | 5034 | 5000 | |
| SwatchColorPicker | mount | 9478 | 9393 | 5000 | |
| TagPicker | mount | 2355 | 2341 | 5000 | |
| TeachingBubble | mount | 73632 | 73204 | 5000 | |
| Text | mount | 828 | 819 | 5000 | |
| TextField | mount | 1560 | 1544 | 5000 | |
| ThemeProvider | mount | 1441 | 1451 | 5000 | |
| ThemeProvider | virtual-rerender | 1145 | 1136 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1989 | 1996 | 5000 | |
| Toggle | mount | 1124 | 1123 | 5000 | |
| buttonNative | mount | 532 | 524 | 5000 |
Member
Author
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
ling1726
approved these changes
Oct 25, 2022
Hotell
reviewed
Oct 25, 2022
Hotell
approved these changes
Oct 25, 2022
fa81e20 to
766a099
Compare
Collaborator
🕵 fluentuiv8 No visual regressions between this PR and main |
Collaborator
🕵 fluentuiv9 Open the Visual Regressions report to inspect the 2 screenshots✅ There was 0 screenshots added, 0 screenshots removed, 1749 screenshots unchanged, 0 screenshots with different dimensions and 2 screenshots with visible difference. unknown 2 screenshots
|
Co-authored-by: Martin Hochel <hochelmartin@gmail.com>
766a099 to
91cbd0f
Compare
2 tasks
Hotell
added a commit
to Hotell/fluentui
that referenced
this pull request
Feb 9, 2023
* chore: fix issues in N* perf test * Update scripts/webpack/webpack.config.perf.ts Co-authored-by: Martin Hochel <hochelmartin@gmail.com> Co-authored-by: Martin Hochel <hochelmartin@gmail.com>
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.
Current Behavior
New Behavior