Skip to content

Conversation

@eliasyishak
Copy link
Contributor

Related to tracker issue:

This migrates the CodeSizeEvent event, which is defined here and below

/// An event that reports when the code size measurement is run via `--analyze-size`.
class CodeSizeEvent extends UsageEvent {
  CodeSizeEvent(String platform, {
    required Usage flutterUsage,
  }) : super(
    'code-size-analysis',
    platform,
    flutterUsage: flutterUsage
  );
}

There is only one reference of this class getting called within the flutter tool code base and it is within flutter_tools/lib/src/base/analyze_size.dart


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@github-actions
Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:unified_analytics 5.4.0 ready to publish unified_analytics-v5.4.0
package:graphs 2.3.2-wip WIP (no publish necessary)
package:cli_config 0.1.2 already published at pub.dev
package:extension_discovery 2.0.1-wip WIP (no publish necessary)

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM

@eliasyishak eliasyishak merged commit 68b4e6b into dart-lang:main Nov 13, 2023
@eliasyishak eliasyishak deleted the add-code-size-event branch November 13, 2023 15:45
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.

3 participants