Skip to content
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

Upload demo images to CDN #15097

Merged
merged 2 commits into from
Sep 17, 2020
Merged

Conversation

ecraig12345
Copy link
Member

@ecraig12345 ecraig12345 commented Sep 17, 2020

Upload images used in screener and other places to our CDN that we use for the website (http://fabricweb.azureedge.net/fabric-website/*). This will make them load faster than if we uploaded them to normal blob storages, which can be important for getting correct results in screener tests.

For testing purposes I have the images uploading as part of the PR build, but before check-in I plan to change it so the images upload only on master builds (mainly to avoid accidental changes). This means that if you want to use a new image, you'll have to check it in separately first, but that shouldn't be a big issue since it won't happen very often.

Also update other upload tasks to use the new AzureUpload task which gzips things. This should make the PR deploy site load faster.

Copy link
Contributor

@behowell behowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ecraig12345
Copy link
Member Author

@msft-github-bot
Copy link
Contributor

Hello @ecraig12345!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 8 hours, a condition that will be fulfilled in about 7 hours 6 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msft-github-bot) and give me an instruction to get started! Learn more here.

@ecraig12345
Copy link
Member Author

@msft-github-bot merge this in 1 minute

@msft-github-bot
Copy link
Contributor

Hello @ecraig12345!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Thu, 17 Sep 2020 18:35:41 GMT, which is in 1 minute

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@codesandbox-ci
Copy link

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 647db99:

Sandbox Source
Fluent UI Button Configuration
microsoft/fluentui: codesandbox-react-template Configuration
microsoft/fluentui: codesandbox-react-next-template Configuration

@codesandbox-ci
Copy link

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 a2ca1b9:

Sandbox Source
Fluent UI Button Configuration
microsoft/fluentui: codesandbox-react-template Configuration
microsoft/fluentui: codesandbox-react-next-template Configuration
microsoft/fluentui: codesandbox-react-northstar-template Configuration

@msft-github-bot msft-github-bot merged commit 0b435f9 into microsoft:master Sep 17, 2020
@ecraig12345 ecraig12345 deleted the cdn-assets branch September 17, 2020 19:16
@msft-github-bot
Copy link
Contributor

Perf Analysis

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 908 908 5000
Breadcrumb mount 39503 39549 5000
BreadcrumbNext mount 152378 151227 5000
ButtonNext mount 606 597 5000
Checkbox mount 1569 1620 5000
CheckboxBase mount 1347 1346 5000
CheckboxNext mount 1557 1523 5000
ChoiceGroup mount 5026 5021 5000
ChoiceGroupNext mount 5118 5133 5000
ComboBox mount 917 920 1000
CommandBar mount 7404 7344 1000
ContextualMenu mount 12485 12277 1000
DefaultButton mount 1123 1137 5000
DetailsRow mount 3561 3530 5000
DetailsRowFast mount 3556 3585 5000
DetailsRowNoStyles mount 3361 3439 5000
Dialog mount 1459 1475 1000
DocumentCardTitle mount 1759 1736 1000
Dropdown mount 2622 2637 5000
FocusZone mount 1761 1771 5000
IconButton mount 1776 1769 5000
Label mount 343 339 5000
Link mount 454 446 5000
LinkNext mount 484 455 5000
MenuButton mount 1499 1485 5000
MessageBar mount 2017 2027 5000
MessageBarNext mount 1988 1991 5000
Nav mount 3236 3259 1000
OverflowSet mount 1414 1373 5000
OverflowSetNext mount 1067 1048 5000
Panel mount 1449 1479 1000
Persona mount 821 831 1000
Pivot mount 1427 1432 1000
PivotNext mount 1396 1395 1000
PrimaryButton mount 1287 1299 5000
Rating mount 7820 7860 5000
RatingNext mount 7822 7787 5000
SearchBox mount 1350 1327 5000
SearchBoxNext mount 1390 1384 5000
Shimmer mount 2648 2674 5000
ShimmerNext mount 2642 2604 5000
Slider mount 1487 1555 5000
SliderNext mount 1939 1933 5000
SpinButton mount 4982 5021 5000
SpinButtonNext mount 5078 5097 5000
Spinner mount 414 412 5000
SplitButton mount 3181 3169 5000
Stack mount 538 541 5000
StackWithIntrinsicChildren mount 2031 2037 5000
StackWithTextChildren mount 5163 5176 5000
SwatchColorPicker mount 10315 10218 5000
SwatchColorPickerNext mount 10160 10158 5000
TagPicker mount 2711 2722 5000
TeachingBubble mount 48328 48162 5000
TeachingBubbleNext mount 48225 47982 5000
Text mount 444 451 5000
TextField mount 1382 1405 5000
ThemeProvider mount 4739 4797 5000
ThemeProvider virtual-rerender 590 582 5000
Toggle mount 831 849 5000
ToggleNext mount 831 837 5000
button mount 115 118 5000

Perf Analysis (Fluent)

⚠️ 4 potential perf regressions detected

Potential regressions comparing to master

Scenario Current PR Ticks Baseline Ticks Ratio Regression Analysis
ButtonOverridesMissPerf.default 1670 42 39.76:1 analysis
ButtonUseCssNestingPerf.default 1092 43 25.4:1 analysis
ButtonUseCssPerf.default 843 46 18.33:1 analysis
ChatWithPopoverPerf.default 477 473 1.01:1 analysis
Perf comparison
Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🎯 Avatar.Fluent 0.46 0.48 0.96:1 2000 921
🦄 Button.Fluent 0.13 0.2 0.65:1 5000 626
🔧 Checkbox.Fluent 0.64 0.37 1.73:1 1000 641
🎯 Dialog.Fluent 0.16 0.22 0.73:1 5000 823
🔧 Dropdown.Fluent 2.85 0.48 5.94:1 1000 2849
🔧 Icon.Fluent 0.16 0.06 2.67:1 5000 790
🎯 Image.Fluent 0.09 0.12 0.75:1 5000 438
🔧 Slider.Fluent 1.54 0.36 4.28:1 1000 1536
🔧 Text.Fluent 0.08 0.03 2.67:1 5000 382
🦄 Tooltip.Fluent 0.11 14.84 0.01:1 5000 556

🔧 Needs work     🎯 On target     🦄 Amazing

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
PortalMinimalPerf.default 171 112 1.53:1
RefMinimalPerf.default 244 190 1.28:1
AttachmentMinimalPerf.default 184 147 1.25:1
FlexMinimalPerf.default 345 279 1.24:1
HeaderMinimalPerf.default 443 366 1.21:1
LayoutMinimalPerf.default 457 379 1.21:1
Image.Fluent 438 363 1.21:1
DividerMinimalPerf.default 414 348 1.19:1
FormMinimalPerf.default 482 405 1.19:1
AnimationMinimalPerf.default 438 372 1.18:1
ButtonMinimalPerf.default 200 170 1.18:1
RadioGroupMinimalPerf.default 496 421 1.18:1
TextMinimalPerf.default 399 339 1.18:1
Text.Fluent 382 326 1.17:1
ImageMinimalPerf.default 427 368 1.16:1
SegmentMinimalPerf.default 401 348 1.15:1
StatusMinimalPerf.default 806 699 1.15:1
Icon.Fluent 790 689 1.15:1
BoxMinimalPerf.default 391 342 1.14:1
GridMinimalPerf.default 373 328 1.14:1
LabelMinimalPerf.default 460 405 1.14:1
SkeletonMinimalPerf.default 460 404 1.14:1
Button.Fluent 626 551 1.14:1
ReactionMinimalPerf.default 452 399 1.13:1
PopupMinimalPerf.default 734 660 1.11:1
TableMinimalPerf.default 456 409 1.11:1
TooltipMinimalPerf.default 817 736 1.11:1
Tooltip.Fluent 556 499 1.11:1
CardMinimalPerf.default 618 562 1.1:1
TextAreaMinimalPerf.default 537 489 1.1:1
AccordionMinimalPerf.default 174 159 1.09:1
AlertMinimalPerf.default 326 298 1.09:1
CarouselMinimalPerf.default 490 450 1.09:1
ChatMinimalPerf.default 678 621 1.09:1
ToolbarMinimalPerf.default 1019 939 1.09:1
TreeMinimalPerf.default 936 857 1.09:1
VideoMinimalPerf.default 691 636 1.09:1
ButtonSlotsPerf.default 630 582 1.08:1
HeaderSlotsPerf.default 848 782 1.08:1
ListMinimalPerf.default 527 486 1.08:1
ProviderMergeThemesPerf.default 1907 1772 1.08:1
Dialog.Fluent 823 760 1.08:1
DialogMinimalPerf.default 816 761 1.07:1
MenuMinimalPerf.default 904 848 1.07:1
Checkbox.Fluent 641 600 1.07:1
AttachmentSlotsPerf.default 1204 1134 1.06:1
ChatDuplicateMessagesPerf.default 441 417 1.06:1
ProviderMinimalPerf.default 911 860 1.06:1
Avatar.Fluent 921 865 1.06:1
AvatarMinimalPerf.default 499 477 1.05:1
EmbedMinimalPerf.default 2009 1921 1.05:1
CustomToolbarPrototype.default 3685 3501 1.05:1
CheckboxMinimalPerf.default 2861 2761 1.04:1
ItemLayoutMinimalPerf.default 1321 1273 1.04:1
LoaderMinimalPerf.default 754 722 1.04:1
MenuButtonMinimalPerf.default 1657 1586 1.04:1
SliderMinimalPerf.default 1556 1509 1.03:1
SplitButtonMinimalPerf.default 3833 3739 1.03:1
IconMinimalPerf.default 720 698 1.03:1
TableManyItemsPerf.default 2308 2242 1.03:1
DropdownManyItemsPerf.default 772 766 1.01:1
InputMinimalPerf.default 1280 1263 1.01:1
Dropdown.Fluent 2849 2807 1.01:1
DropdownMinimalPerf.default 2797 2830 0.99:1
Slider.Fluent 1536 1565 0.98:1
TreeWith60ListItems.default 201 208 0.97:1
ListWith60ListItems.default 1005 1091 0.92:1
ListCommonPerf.default 717 955 0.75:1
ListNestedPerf.default 609 890 0.68:1

@size-auditor
Copy link

size-auditor bot commented Sep 17, 2020

Asset size changes

⚠️ Insufficient baseline data to detect size changes

Unable to find bundle size details for Baseline commit: 3d11ce7

Possible causes

  • The baseline build 3d11ce7 is broken
  • The Size Auditor run for the baseline build 3d11ce7 was not triggered

Recommendations

  • Please merge your branch for this Pull request with the latest master build and commit your changes once again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants