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

feat: optimize paint and add profile records. #547

Merged
merged 29 commits into from Mar 27, 2024
Merged

Conversation

andycall
Copy link
Member

@andycall andycall commented Jan 18, 2024

Support tracking performance profile data for WebF.

  1. Support screenshots recorded in Flutter Frame profile:
image
  1. Record performance data from Dart to JS and JS to Dart
image

Usage

enable profile tracking

void main() {
  enableWebFProfileTracking = true;
  runApp(MyApp());
}

Collect profile data

Map data = WebFProfiler.instance.report();

@andycall andycall force-pushed the feat/paint_optimize branch 7 times, most recently from d90b7fb to 54093da Compare February 28, 2024 13:09
@andycall andycall force-pushed the feat/paint_optimize branch 2 times, most recently from 2abd3de to 0e57d57 Compare March 10, 2024 12:40
@andycall andycall changed the title [WIP] feat: optimize paint and add profile records. feat: optimize paint and add profile records. Mar 10, 2024
webf/lib/src/launcher/controller.dart Outdated Show resolved Hide resolved
webf/lib/src/foundation/queue.dart Outdated Show resolved Hide resolved
webf/lib/src/bridge/to_native.dart Outdated Show resolved Hide resolved
integration_tests/lib/webf_tester.dart Outdated Show resolved Hide resolved
@andycall andycall added this pull request to the merge queue Mar 27, 2024
Merged via the queue into main with commit f42e476 Mar 27, 2024
27 checks passed
@andycall andycall deleted the feat/paint_optimize branch March 27, 2024 07:44
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