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

chore: revert globals changes #31470

Merged
merged 4 commits into from
May 23, 2024

Conversation

spmonahan
Copy link
Contributor

A follow up to #30967 (forgot to commit some PR feedback changes).

@spmonahan spmonahan requested a review from a team as a code owner May 23, 2024 19:52
@github-actions github-actions bot added this to the April Project Cycle Q1 2024 milestone May 23, 2024
@fabricteam
Copy link
Collaborator

fabricteam commented May 23, 2024

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 36 39 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 69 72 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 662 613 5000
Button mount 308 308 5000
Field mount 1129 1114 5000
FluentProvider mount 704 700 5000
FluentProviderWithTheme mount 83 94 10
FluentProviderWithTheme virtual-rerender 36 39 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 69 72 10 Possible regression
MakeStyles mount 882 874 50000
Persona mount 1744 1720 5000
SpinButton mount 1389 1428 5000
SwatchPicker mount 1530 1538 5000

Copy link

codesandbox-ci bot commented May 23, 2024

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.

@fabricteam
Copy link
Collaborator

fabricteam commented May 23, 2024

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-combobox
Combobox (including child components)
100.456 kB
33.163 kB
100.496 kB
33.156 kB
40 B
-7 B
react-combobox
Dropdown (including child components)
101.089 kB
33.112 kB
101.129 kB
33.096 kB
40 B
-16 B
react-components
react-components: entire library
1.092 MB
269.741 kB
1.092 MB
269.733 kB
39 B
-8 B
react-tag-picker
@fluentui/react-tag-picker - package
181.024 kB
54.556 kB
181.063 kB
54.547 kB
39 B
-9 B
react-timepicker-compat
TimePicker
103.248 kB
34.54 kB
103.294 kB
34.527 kB
46 B
-13 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-accordion
Accordion (including children components)
100.003 kB
30.524 kB
react-alert
Alert
78.817 kB
22.543 kB
react-avatar
Avatar
49.299 kB
15.837 kB
react-avatar
AvatarGroup
20.107 kB
7.973 kB
react-avatar
AvatarGroupItem
63.316 kB
20.017 kB
react-breadcrumb
@fluentui/react-breadcrumb - package
114.486 kB
31.821 kB
react-button
Button
37.103 kB
10.784 kB
react-button
CompoundButton
43.514 kB
12.074 kB
react-button
MenuButton
41.884 kB
12.132 kB
react-button
SplitButton
49.896 kB
13.724 kB
react-button
ToggleButton
53.03 kB
12.543 kB
react-card
Card - All
101.184 kB
29.049 kB
react-card
Card
94.218 kB
27.333 kB
react-card
CardFooter
14.354 kB
5.795 kB
react-card
CardHeader
16.618 kB
6.555 kB
react-card
CardPreview
14.418 kB
5.931 kB
react-components
react-components: Button, FluentProvider & webLightTheme
69.141 kB
20.157 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
212.631 kB
61.228 kB
react-components
react-components: FluentProvider & webLightTheme
44.442 kB
14.607 kB
react-datepicker-compat
DatePicker Compat
220.038 kB
62.373 kB
react-dialog
Dialog (including children components)
98.817 kB
29.825 kB
react-menu
Menu (including children components)
152.023 kB
45.98 kB
react-menu
Menu (including selectable components)
154.709 kB
46.477 kB
react-message-bar
MessageBar (all components)
24.411 kB
9.114 kB
react-persona
Persona
56.19 kB
17.726 kB
react-popover
Popover
127.766 kB
40.096 kB
react-portal-compat
PortalCompatProvider
8.39 kB
2.64 kB
react-table
DataGrid
162.843 kB
46.317 kB
react-table
Table (Primitives only)
42.48 kB
13.866 kB
react-table
Table as DataGrid
131.934 kB
36.682 kB
react-table
Table (Selection only)
70.334 kB
20.026 kB
react-table
Table (Sort only)
68.977 kB
19.63 kB
react-tags
InteractionTag
15.165 kB
6.134 kB
react-tags
Tag
28.994 kB
9.518 kB
react-tags
TagGroup
82.911 kB
24.642 kB
react-toast
Toast (including Toaster)
99.625 kB
30.033 kB
🤖 This report was generated against db8e9c52f0cab4e3bf2018dfca3c356a64444c9e

@spmonahan spmonahan enabled auto-merge (squash) May 23, 2024 22:38
@spmonahan spmonahan merged commit babf7b4 into microsoft:master May 23, 2024
18 of 20 checks passed
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request May 28, 2024
* master: (49 commits)
  Update focus order in sankey chart for vertical navigation (microsoft#31469)
  chore: use new performant 'type-check' for v9 libaries (microsoft#31454)
  applying package updates
  fix(Timepicker-compat): clearIcon not working in freeform (microsoft#31324)
  chore: re-enable lint rule (microsoft#31459)
  feat(react-tag-picker): adds text property to TagPickerOption (microsoft#31474)
  feat(recipes): create package with initial implementation (moved from /apps) (microsoft#31386)
  applying package updates
  applying package updates
  chore: revert globals changes (microsoft#31470)
  (web-components) Use `ElementInternals` for TextInput elements (microsoft#31201)
  chore:(docs) Update and migrate component implementation guide (microsoft#31398)
  disallow all globals in Fluent v9 (microsoft#30967)
  chore:(react-nav-preview) Recomposing more components and some pixel pushing (microsoft#31387)
  fix(pr-deploy-site): explicitly set types to not include whole @types/* globals which are causing issues with addition of @types/web (microsoft#31465)
  fix(recipes-react-components): explicitly set types to not include whole @types/* globals which are cauising issues with addition of @types/web (microsoft#31463)
  applying package updates
  applying package updates
  applying package updates
  Update IconDirectionContextProvider import to import from specific path (microsoft#31006)
  ...
miroslavstastny pushed a commit to miroslavstastny/fluentui that referenced this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants