-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(scripts-tasks): make perf test setup generic #26920
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
Merged
Hotell
merged 19 commits into
microsoft:master
from
Hotell:hotell/build/scripts/refactor-perf-setup
Apr 3, 2023
Merged
feat(scripts-tasks): make perf test setup generic #26920
Hotell
merged 19 commits into
microsoft:master
from
Hotell:hotell/build/scripts/refactor-perf-setup
Apr 3, 2023
Conversation
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
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: b95b78b91f242861c5f465526c697d13f8f9ffca (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 512f962:
|
Collaborator
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| DividerMinimalPerf.default | 266 | 242 | 1.1:1 |
| TreeWith60ListItems.default | 111 | 103 | 1.08:1 |
| ChatWithPopoverPerf.default | 255 | 238 | 1.07:1 |
| AttachmentSlotsPerf.default | 826 | 788 | 1.05:1 |
| FormMinimalPerf.default | 281 | 267 | 1.05:1 |
| TextAreaMinimalPerf.default | 334 | 319 | 1.05:1 |
| AttachmentMinimalPerf.default | 102 | 98 | 1.04:1 |
| ButtonMinimalPerf.default | 111 | 107 | 1.04:1 |
| ChatMinimalPerf.default | 524 | 502 | 1.04:1 |
| LayoutMinimalPerf.default | 262 | 252 | 1.04:1 |
| LoaderMinimalPerf.default | 237 | 228 | 1.04:1 |
| RefMinimalPerf.default | 147 | 142 | 1.04:1 |
| ChatDuplicateMessagesPerf.default | 190 | 184 | 1.03:1 |
| DropdownManyItemsPerf.default | 484 | 472 | 1.03:1 |
| MenuButtonMinimalPerf.default | 1241 | 1208 | 1.03:1 |
| SliderMinimalPerf.default | 892 | 870 | 1.03:1 |
| AccordionMinimalPerf.default | 105 | 103 | 1.02:1 |
| AnimationMinimalPerf.default | 381 | 372 | 1.02:1 |
| CardMinimalPerf.default | 377 | 369 | 1.02:1 |
| HeaderMinimalPerf.default | 260 | 255 | 1.02:1 |
| ItemLayoutMinimalPerf.default | 865 | 844 | 1.02:1 |
| LabelMinimalPerf.default | 272 | 267 | 1.02:1 |
| ListMinimalPerf.default | 364 | 356 | 1.02:1 |
| MenuMinimalPerf.default | 602 | 590 | 1.02:1 |
| PopupMinimalPerf.default | 441 | 433 | 1.02:1 |
| SkeletonMinimalPerf.default | 244 | 239 | 1.02:1 |
| IconMinimalPerf.default | 479 | 468 | 1.02:1 |
| TableMinimalPerf.default | 289 | 283 | 1.02:1 |
| TextMinimalPerf.default | 238 | 234 | 1.02:1 |
| AlertMinimalPerf.default | 185 | 183 | 1.01:1 |
| AvatarMinimalPerf.default | 130 | 129 | 1.01:1 |
| BoxMinimalPerf.default | 240 | 237 | 1.01:1 |
| ButtonOverridesMissPerf.default | 825 | 816 | 1.01:1 |
| DatepickerMinimalPerf.default | 4534 | 4468 | 1.01:1 |
| DialogMinimalPerf.default | 558 | 554 | 1.01:1 |
| DropdownMinimalPerf.default | 1764 | 1755 | 1.01:1 |
| EmbedMinimalPerf.default | 2322 | 2290 | 1.01:1 |
| ListNestedPerf.default | 397 | 394 | 1.01:1 |
| ProviderMinimalPerf.default | 275 | 271 | 1.01:1 |
| RadioGroupMinimalPerf.default | 311 | 309 | 1.01:1 |
| StatusMinimalPerf.default | 486 | 479 | 1.01:1 |
| TableManyItemsPerf.default | 1384 | 1369 | 1.01:1 |
| TreeMinimalPerf.default | 560 | 553 | 1.01:1 |
| GridMinimalPerf.default | 235 | 235 | 1:1 |
| HeaderSlotsPerf.default | 566 | 565 | 1:1 |
| InputMinimalPerf.default | 709 | 709 | 1:1 |
| SplitButtonMinimalPerf.default | 2931 | 2920 | 1:1 |
| ButtonSlotsPerf.default | 393 | 397 | 0.99:1 |
| ImageMinimalPerf.default | 274 | 278 | 0.99:1 |
| PortalMinimalPerf.default | 118 | 119 | 0.99:1 |
| ProviderMergeThemesPerf.default | 877 | 882 | 0.99:1 |
| SegmentMinimalPerf.default | 239 | 242 | 0.99:1 |
| CustomToolbarPrototype.default | 1844 | 1869 | 0.99:1 |
| TooltipMinimalPerf.default | 1585 | 1600 | 0.99:1 |
| VideoMinimalPerf.default | 525 | 528 | 0.99:1 |
| CarouselMinimalPerf.default | 344 | 352 | 0.98:1 |
| CheckboxMinimalPerf.default | 1495 | 1526 | 0.98:1 |
| ListCommonPerf.default | 479 | 491 | 0.98:1 |
| ListWith60ListItems.default | 451 | 460 | 0.98:1 |
| RosterPerf.default | 1919 | 1953 | 0.98:1 |
| ReactionMinimalPerf.default | 256 | 261 | 0.98:1 |
| ToolbarMinimalPerf.default | 648 | 662 | 0.98:1 |
| FlexMinimalPerf.default | 192 | 200 | 0.96:1 |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 967 | 980 | 5000 | Possible regression |
| Breadcrumb | mount | 2342 | 2318 | 1000 | Possible regression |
| Checkbox | mount | 2239 | 2213 | 5000 | Possible regression |
| CheckboxBase | mount | 1993 | 1966 | 5000 | Possible regression |
| ChoiceGroup | mount | 3867 | 3871 | 5000 | Possible regression |
| ComboBox | mount | 1041 | 1045 | 1000 | Possible regression |
| CommandBar | mount | 8280 | 8296 | 1000 | Possible regression |
| ContextualMenu | mount | 17360 | 17191 | 1000 | Possible regression |
| DefaultButton | mount | 1141 | 1139 | 5000 | Possible regression |
| DetailsRow | mount | 3044 | 3040 | 5000 | Possible regression |
| DetailsRowFast | mount | 3086 | 3015 | 5000 | Possible regression |
| DetailsRowNoStyles | mount | 2810 | 2826 | 5000 | Possible regression |
| Dialog | mount | 3391 | 3403 | 1000 | Possible regression |
| DocumentCardTitle | mount | 432 | 443 | 1000 | Possible regression |
| Dropdown | mount | 2739 | 2710 | 5000 | Possible regression |
| FocusTrapZone | mount | 1650 | 1671 | 5000 | Possible regression |
| FocusZone | mount | 1556 | 1607 | 5000 | Possible regression |
| GroupedList | mount | 45756 | 58716 | 2 | Possible regression |
| GroupedList | virtual-rerender | 22322 | 24491 | 2 | Possible regression |
| GroupedList | virtual-rerender-with-unmount | 75808 | 75944 | 2 | Possible regression |
| GroupedListV2 | mount | 457 | 449 | 2 | Possible regression |
| GroupedListV2 | virtual-rerender | 420 | 427 | 2 | Possible regression |
| GroupedListV2 | virtual-rerender-with-unmount | 452 | 458 | 2 | Possible regression |
| IconButton | mount | 1580 | 1608 | 5000 | Possible regression |
| Label | mount | 589 | 574 | 5000 | Possible regression |
| Layer | mount | 3707 | 3760 | 5000 | Possible regression |
| Link | mount | 654 | 644 | 5000 | Possible regression |
| MenuButton | mount | 1382 | 1419 | 5000 | Possible regression |
| Nav | mount | 2685 | 2665 | 1000 | Possible regression |
| OverflowSet | mount | 1116 | 1144 | 5000 | Possible regression |
| Panel | mount | 2108 | 2125 | 1000 | Possible regression |
| Persona | mount | 1089 | 1081 | 1000 | Possible regression |
| Pivot | mount | 1334 | 1316 | 1000 | Possible regression |
| PrimaryButton | mount | 1256 | 1251 | 5000 | Possible regression |
| Rating | mount | 5765 | 5781 | 5000 | Possible regression |
| SearchBox | mount | 1264 | 1258 | 5000 | Possible regression |
| Shimmer | mount | 2451 | 2432 | 5000 | Possible regression |
| Slider | mount | 1807 | 1798 | 5000 | Possible regression |
| SpinButton | mount | 3921 | 3938 | 5000 | Possible regression |
| Spinner | mount | 651 | 636 | 5000 | Possible regression |
| SplitButton | mount | 2664 | 2659 | 5000 | Possible regression |
| Stack | mount | 649 | 675 | 5000 | Possible regression |
| StackWithIntrinsicChildren | mount | 1257 | 1252 | 5000 | Possible regression |
| StackWithTextChildren | mount | 3371 | 3354 | 5000 | Possible regression |
| SwatchColorPicker | mount | 8301 | 8294 | 5000 | Possible regression |
| TagPicker | mount | 2164 | 2133 | 5000 | Possible regression |
| Text | mount | 635 | 624 | 5000 | Possible regression |
| TextField | mount | 1338 | 1293 | 5000 | Possible regression |
| ThemeProvider | mount | 1250 | 1253 | 5000 | Possible regression |
| ThemeProvider | virtual-rerender | 887 | 893 | 5000 | Possible regression |
| ThemeProvider | virtual-rerender-with-unmount | 1827 | 1811 | 5000 | Possible regression |
| Toggle | mount | 905 | 906 | 5000 | Possible regression |
| buttonNative | mount | 410 | 411 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 967 | 980 | 5000 | Possible regression |
| Breadcrumb | mount | 2342 | 2318 | 1000 | Possible regression |
| Checkbox | mount | 2239 | 2213 | 5000 | Possible regression |
| CheckboxBase | mount | 1993 | 1966 | 5000 | Possible regression |
| ChoiceGroup | mount | 3867 | 3871 | 5000 | Possible regression |
| ComboBox | mount | 1041 | 1045 | 1000 | Possible regression |
| CommandBar | mount | 8280 | 8296 | 1000 | Possible regression |
| ContextualMenu | mount | 17360 | 17191 | 1000 | Possible regression |
| DefaultButton | mount | 1141 | 1139 | 5000 | Possible regression |
| DetailsRow | mount | 3044 | 3040 | 5000 | Possible regression |
| DetailsRowFast | mount | 3086 | 3015 | 5000 | Possible regression |
| DetailsRowNoStyles | mount | 2810 | 2826 | 5000 | Possible regression |
| Dialog | mount | 3391 | 3403 | 1000 | Possible regression |
| DocumentCardTitle | mount | 432 | 443 | 1000 | Possible regression |
| Dropdown | mount | 2739 | 2710 | 5000 | Possible regression |
| FocusTrapZone | mount | 1650 | 1671 | 5000 | Possible regression |
| FocusZone | mount | 1556 | 1607 | 5000 | Possible regression |
| GroupedList | mount | 45756 | 58716 | 2 | Possible regression |
| GroupedList | virtual-rerender | 22322 | 24491 | 2 | Possible regression |
| GroupedList | virtual-rerender-with-unmount | 75808 | 75944 | 2 | Possible regression |
| GroupedListV2 | mount | 457 | 449 | 2 | Possible regression |
| GroupedListV2 | virtual-rerender | 420 | 427 | 2 | Possible regression |
| GroupedListV2 | virtual-rerender-with-unmount | 452 | 458 | 2 | Possible regression |
| IconButton | mount | 1580 | 1608 | 5000 | Possible regression |
| Label | mount | 589 | 574 | 5000 | Possible regression |
| Layer | mount | 3707 | 3760 | 5000 | Possible regression |
| Link | mount | 654 | 644 | 5000 | Possible regression |
| MenuButton | mount | 1382 | 1419 | 5000 | Possible regression |
| MessageBar | mount | 28133 | 28129 | 5000 | |
| Nav | mount | 2685 | 2665 | 1000 | Possible regression |
| OverflowSet | mount | 1116 | 1144 | 5000 | Possible regression |
| Panel | mount | 2108 | 2125 | 1000 | Possible regression |
| Persona | mount | 1089 | 1081 | 1000 | Possible regression |
| Pivot | mount | 1334 | 1316 | 1000 | Possible regression |
| PrimaryButton | mount | 1256 | 1251 | 5000 | Possible regression |
| Rating | mount | 5765 | 5781 | 5000 | Possible regression |
| SearchBox | mount | 1264 | 1258 | 5000 | Possible regression |
| Shimmer | mount | 2451 | 2432 | 5000 | Possible regression |
| Slider | mount | 1807 | 1798 | 5000 | Possible regression |
| SpinButton | mount | 3921 | 3938 | 5000 | Possible regression |
| Spinner | mount | 651 | 636 | 5000 | Possible regression |
| SplitButton | mount | 2664 | 2659 | 5000 | Possible regression |
| Stack | mount | 649 | 675 | 5000 | Possible regression |
| StackWithIntrinsicChildren | mount | 1257 | 1252 | 5000 | Possible regression |
| StackWithTextChildren | mount | 3371 | 3354 | 5000 | Possible regression |
| SwatchColorPicker | mount | 8301 | 8294 | 5000 | Possible regression |
| TagPicker | mount | 2164 | 2133 | 5000 | Possible regression |
| Text | mount | 635 | 624 | 5000 | Possible regression |
| TextField | mount | 1338 | 1293 | 5000 | Possible regression |
| ThemeProvider | mount | 1250 | 1253 | 5000 | Possible regression |
| ThemeProvider | virtual-rerender | 887 | 893 | 5000 | Possible regression |
| ThemeProvider | virtual-rerender-with-unmount | 1827 | 1811 | 5000 | Possible regression |
| Toggle | mount | 905 | 906 | 5000 | Possible regression |
| buttonNative | mount | 410 | 411 | 5000 | Possible regression |
126315b to
1b24428
Compare
Hotell
commented
Feb 23, 2023
3b50772 to
a89f961
Compare
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
Collaborator
🕵 FluentUI-v0 No visual regressions between this PR and main |
… eslint export * rule unwrap autofix
…ic for perf tests in separate package
…nv variables and config patterns from scripts-task
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 915 | 890 | 5000 | Possible regression |
| Button | mount | 601 | 596 | 5000 | Possible regression |
| Field | mount | 1513 | 1555 | 5000 | Possible regression |
| FluentProvider | mount | 1094 | 1085 | 5000 | Possible regression |
| FluentProviderWithTheme | mount | 288 | 301 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender | 273 | 277 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 287 | 282 | 10 | Possible regression |
| InfoButton | mount | 203 | 200 | 5000 | Possible regression |
| MakeStyles | mount | 1388 | 1378 | 50000 | Possible regression |
| Persona | mount | 2107 | 2060 | 5000 | Possible regression |
| SpinButton | mount | 1838 | 1795 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 915 | 890 | 5000 | Possible regression |
| Button | mount | 601 | 596 | 5000 | Possible regression |
| Field | mount | 1513 | 1555 | 5000 | Possible regression |
| FluentProvider | mount | 1094 | 1085 | 5000 | Possible regression |
| FluentProviderWithTheme | mount | 288 | 301 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender | 273 | 277 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 287 | 282 | 10 | Possible regression |
| InfoButton | mount | 203 | 200 | 5000 | Possible regression |
| MakeStyles | mount | 1388 | 1378 | 50000 | Possible regression |
| Persona | mount | 2107 | 2060 | 5000 | Possible regression |
| SpinButton | mount | 1838 | 1795 | 5000 | Possible regression |
9373ac5 to
57c3d2a
Compare
…t and update public API
Collaborator
🕵 fluentuiv8 No visual regressions between this PR and main |
Hotell
commented
Mar 30, 2023
Hotell
commented
Mar 30, 2023
spmonahan
approved these changes
Mar 30, 2023
TristanWatanabe
approved these changes
Mar 30, 2023
JustSlone
approved these changes
Mar 31, 2023
ling1726
approved these changes
Apr 3, 2023
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Apr 4, 2023
* master: (39 commits) Added merge tests for custom styles (microsoft#27086) fix: make Option's checkIcon slot render conditionally (microsoft#27409) docs: add subcomponents to Combobox and Dropdown docs (microsoft#27410) Breadcrumb spec (microsoft#26742) bugfix(react-utilities): increments SlotRenderFunction signature to include children (microsoft#27377) fix: Menu should not steal focus on close (microsoft#27414) Fixed Overflow component when there's more then one children element (microsoft#27402) feat(scripts-executors): support custom base and printing all affected packages for checkIfPackagesAffected (microsoft#27364) applying package updates feat(scripts-tasks): make perf test setup generic (microsoft#26920) fix: ColorPicker preview color updated to ignore forced colors (microsoft#27394) fix: Fix babel build error on windows (microsoft#27406) chore(react-datepicker-compat): Add vr-tests and bundle-size fixtures for DatePicker (microsoft#27351) fix(react-dialog): DialogContent scrollbar always visible (microsoft#27367) docs: Add tokens search (microsoft#27265) chore(scripts-tasks): remove not needed api-extractor task logs (microsoft#27094) chore(react-tree): adds e2e flat tree tests (microsoft#27318) applying package updates Accessibility fix for empty vertical bar chart (microsoft#26254) fix(react-datepicker-compat): Fix theming issues with all themes and WHCM (microsoft#27361) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Build System
Area: Performance
CI
Fluent UI react (v8)
Issues about @fluentui/react (v8)
Fluent UI react-components (v9)
Fluent UI react-northstar (v0)
Work related to Fluent UI V0
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.
Previous Behavior
Duplicate perf-test setup/logic/init that lives in
apps/perf-testandapps/perf-test-react-componentsandpackages/fluentui/perf-test-northstarNew Behavior
config/perf-testinstead being part of application source code ( anti-pattern )@fluentui/scripts-tasks@fluentui/scripts-perf-test-flamegrillRelated Issue(s)