Skip to content

chore: add a bundle size fixture (Button, Provider & theme)#25113

Merged
layershifter merged 1 commit intomicrosoft:masterfrom
layershifter:chore/add-min-fixture
Oct 6, 2022
Merged

chore: add a bundle size fixture (Button, Provider & theme)#25113
layershifter merged 1 commit intomicrosoft:masterfrom
layershifter:chore/add-min-fixture

Conversation

@layershifter
Copy link
Member

New Behavior

We use Button, FluentProvider & webLightTheme is a minimal set to show bundle size improvements. I had this fixture locally, but time to time there are requests for these numbers, so it's better to have it in master.

@layershifter layershifter marked this pull request as ready for review October 6, 2022 13:30
@layershifter layershifter requested a review from a team as a code owner October 6, 2022 13:30
@github-actions github-actions bot added this to the October Project Cycle Q4 2022 milestone Oct 6, 2022
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 6, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: Button, FluentProvider & webLightTheme
0 B
0 B
62.369 kB
17.382 kB
🆕 New entry
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
188.815 kB
52.287 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 64fb6212cd2f12d40f10f16d0154b5786c3534c6

@size-auditor
Copy link

size-auditor bot commented Oct 6, 2022

Asset size changes

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

Baseline commit: 64fb6212cd2f12d40f10f16d0154b5786c3534c6 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 6, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1320 1307 5000
Button mount 951 888 5000
FluentProvider mount 1564 1601 5000
FluentProviderWithTheme mount 635 559 10
FluentProviderWithTheme virtual-rerender 584 591 10
FluentProviderWithTheme virtual-rerender-with-unmount 627 634 10
MakeStyles mount 1865 1884 50000
SpinButton mount 2559 2442 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 6, 2022

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

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@layershifter layershifter force-pushed the chore/add-min-fixture branch from 5cb1183 to d8b7e21 Compare October 6, 2022 13:43
@layershifter layershifter reopened this Oct 6, 2022
@layershifter layershifter merged commit 324fe63 into microsoft:master Oct 6, 2022
@layershifter layershifter deleted the chore/add-min-fixture branch October 6, 2022 17:58
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 10, 2022
* master: (23 commits)
  Revert "chore: screener-run workflow should report to PR (microsoft#25144)" (microsoft#25145)
  chore: screener-run workflow should report to PR (microsoft#25144)
  applying package updates
  fix: The Tooltip should not hide if it gets keyboard focus (microsoft#25138)
  fix: Tooltip should not hide if an element inside it gets focused (microsoft#25140)
  Create react-migration-v8-v9 with shims and stories (microsoft#25121)
  fix: CheckboxField to set a generated ID on the input, to match the label's htmlFor (microsoft#25079)
  feat: Overflow menu should be registered in overflowManager (microsoft#25091)
  fix: version-bump generator removes beachball disallowedChangeType config (microsoft#25130)
  fix: new overflow items should only be enqueued while observing (microsoft#25122)
  fix(script): allow runPublished call from CLI (microsoft#25127)
  feat: add vertical variation for toolbar (microsoft#24940)
  ProgressField implementation and stories (microsoft#25103)
  fix: Dropdown icon layout with no placeholder/value (microsoft#25049)
  chore: add a bundle size fixture (Button, Provider & theme) (microsoft#25113)
  feat: Adding subtle transition between states on Button components (microsoft#25106)
  Revert "chore: screener-run workflow should report to PR (microsoft#25096)" (microsoft#25115)
  chore: screener-run workflow should report to PR (microsoft#25096)
  fix(react-dialog): aria-* properties should be reassignable (microsoft#25092)
  fix(scripts): don't run publish if web-components are affected (microsoft#25095)
  ...
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
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.

6 participants