Skip to content

For all gulp build:docs tasks that have a src->cache->dest, use cwd/base#12060

Merged
msft-github-bot merged 4 commits intomicrosoft:masterfrom
kenotron:fix-cache
Feb 25, 2020
Merged

For all gulp build:docs tasks that have a src->cache->dest, use cwd/base#12060
msft-github-bot merged 4 commits intomicrosoft:masterfrom
kenotron:fix-cache

Conversation

@kenotron
Copy link
Contributor

@kenotron kenotron commented Feb 25, 2020

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ yarn change

Description of changes

We need to specify the cwd and base in these tasks because of the move away from a centralized gulp build call (it now can be that the cwd is different than paths.base). So for caching scenarios, we need to make sure the src, cache and dest use the correct base / cwd values.

Focus areas to test

(optional)

Microsoft Reviewers: Open in CodeFlow

@size-auditor
Copy link

size-auditor bot commented Feb 25, 2020

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 4460bc39dcc5d6f4c7221aa84bed2311aa65ffe0 (build)

@msft-github-bot
Copy link
Contributor

Perf Analysis

No significant results to display.

All results

Scenario Master Ticks PR Ticks Status
BaseButton 676 657
BaseButton (experiments) 891 893
DefaultButton 909 915
DefaultButton (experiments) 1786 1742
DetailsRow 3138 3209
DetailsRow (fast icons) 3099 3165
DetailsRow without styles 2977 2988
DocumentCardTitle with truncation 1591 1629
MenuButton 1211 1259
MenuButton (experiments) 3247 3284
PrimaryButton 1072 1122
PrimaryButton (experiments) 1765 1868
SplitButton 2680 2658
SplitButton (experiments) 6522 6643
Stack 409 423
Stack with Intrinsic children 1031 1015
Stack with Text children 3777 3741
Text 343 336
Toggle 793 766
Toggle (experiments) 2081 2105
button 60 59

Perf Analysis (Fluent)

Perf comparison
Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🔧 Avatar.Fluent 0.62 0.48 1.29:1 2000 1249
🎯 Button.Fluent 0.16 0.22 0.73:1 1000 156
🔧 Checkbox.Fluent 0.95 0.4 2.37:1 1000 948
🔧 Dialog.Fluent 0.41 0.21 1.95:1 5000 2061
🔧 Dropdown.Fluent 4.17 0.48 8.69:1 1000 4168
🔧 Icon.Fluent 0.15 0.05 3:1 5000 758
🦄 Image.Fluent 0.06 0.09 0.67:1 5000 296
🔧 Slider.Fluent 1.76 0.38 4.63:1 1000 1761
🔧 Text.Fluent 0.07 0.02 3.5:1 5000 335
🦄 Tooltip.Fluent 0.12 15.97 0.01:1 5000 578

🔧 Needs work     🎯 On target     🦄 Amazing

All perf tests
Scenario Current PR Ticks Baseline Ticks Ratio
DropdownManyItemsPerf.default 526 355 1.48:1
Button.Fluent 156 136 1.15:1
BoxMinimalPerf.default 295 268 1.1:1
IconMinimalPerf.default 381 351 1.09:1
ButtonSlotsPerf.default 743 695 1.07:1
DividerMinimalPerf.default 1171 1097 1.07:1
InputMinimalPerf.default 1163 1098 1.06:1
ListNestedPerf.default 901 853 1.06:1
TableMinimalPerf.default 770 725 1.06:1
AvatarMinimalPerf.default 650 620 1.05:1
ImageMinimalPerf.default 301 287 1.05:1
LabelMinimalPerf.default 1056 1009 1.05:1
RadioGroupMinimalPerf.default 532 513 1.04:1
RefMinimalPerf.default 195 188 1.04:1
ToolbarMinimalPerf.default 1095 1055 1.04:1
ListMinimalPerf.default 403 390 1.03:1
PopupMinimalPerf.default 400 389 1.03:1
PortalMinimalPerf.default 283 276 1.03:1
ProviderMinimalPerf.default 668 650 1.03:1
TextMinimalPerf.default 340 331 1.03:1
TreeWith60ListItems.default 278 270 1.03:1
Text.Fluent 335 324 1.03:1
AttachmentMinimalPerf.default 1097 1076 1.02:1
ChatWithPopoverPerf.default 626 612 1.02:1
TreeMinimalPerf.default 1105 1083 1.02:1
Dialog.Fluent 2061 2013 1.02:1
ChatMinimalPerf.default 519 515 1.01:1
CheckboxMinimalPerf.default 4436 4388 1.01:1
FlexMinimalPerf.default 454 448 1.01:1
ListWith60ListItems.default 185 184 1.01:1
MenuMinimalPerf.default 2379 2358 1.01:1
MenuButtonMinimalPerf.default 1869 1851 1.01:1
Avatar.Fluent 1249 1233 1.01:1
Dropdown.Fluent 4168 4132 1.01:1
Tooltip.Fluent 578 575 1.01:1
AttachmentSlotsPerf.default 3937 3950 1:1
DropdownMinimalPerf.default 4154 4169 1:1
FormMinimalPerf.default 921 919 1:1
GridMinimalPerf.default 1003 1007 1:1
SegmentMinimalPerf.default 1512 1505 1:1
SliderMinimalPerf.default 1747 1748 1:1
SplitButtonMinimalPerf.default 14112 14108 1:1
CustomToolbarPrototype.default 4147 4134 1:1
VideoMinimalPerf.default 880 876 1:1
Slider.Fluent 1761 1760 1:1
AnimationMinimalPerf.default 603 610 0.99:1
DialogMinimalPerf.default 1999 2017 0.99:1
EmbedMinimalPerf.default 7458 7517 0.99:1
ItemLayoutMinimalPerf.default 2061 2075 0.99:1
LayoutMinimalPerf.default 643 648 0.99:1
ProviderMergeThemesPerf.default 1314 1323 0.99:1
ReactionMinimalPerf.default 3008 3046 0.99:1
TextAreaMinimalPerf.default 3621 3671 0.99:1
AlertMinimalPerf.default 683 700 0.98:1
ButtonMinimalPerf.default 140 143 0.98:1
HeaderMinimalPerf.default 522 532 0.98:1
HeaderSlotsPerf.default 1607 1646 0.98:1
TooltipMinimalPerf.default 828 847 0.98:1
Icon.Fluent 758 773 0.98:1
Image.Fluent 296 302 0.98:1
CarouselMinimalPerf.default 2273 2336 0.97:1
HierarchicalTreeMinimalPerf.default 964 997 0.97:1
LoaderMinimalPerf.default 1078 1110 0.97:1
ListCommonPerf.default 933 970 0.96:1
Checkbox.Fluent 948 989 0.96:1
AccordionMinimalPerf.default 227 240 0.95:1
StatusMinimalPerf.default 292 311 0.94:1
ChatDuplicateMessagesPerf.default 387 419 0.92:1

@kenotron kenotron mentioned this pull request Feb 25, 2020
2 tasks
@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 29 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

@msft-github-bot merge this pr 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 Tue, 25 Feb 2020 23:20:11 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".

@msft-github-bot msft-github-bot merged commit 0903477 into microsoft:master Feb 25, 2020
@kenotron kenotron deleted the fix-cache branch February 26, 2020 00:27
@JasonGore
Copy link
Member

Great! I'm hoping this fixes the regular build errors I get on fluentui packages after git updates locally, too. (I've been having to do full repo cleans to resolve.. even yarn clean didn't help.)

@ecraig12345 ecraig12345 added the Fluent UI react-northstar (v0) Work related to Fluent UI V0 label Mar 6, 2020
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.

5 participants