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

Address build_runner performance issues #1094

Merged
merged 9 commits into from
Oct 17, 2024
Merged

Conversation

veloce
Copy link
Contributor

@veloce veloce commented Oct 16, 2024

BEFORE:
dart run build_runner build

[INFO] Running build completed, took 41.3s
[INFO] Caching finalized dependency graph completed, took 252ms
[INFO] Succeeded after 41.6s with 477 outputs (2326 actions)

dart run build_runner watch with a change in src/view/settings/toggle_sound_button.dart:

[INFO] Running build completed, took 8.7s
[INFO] Caching finalized dependency graph completed, took 207ms
[INFO] Succeeded after 8.9s with 205 outputs (473 actions)

AFTER:

dart run build_runner build

[INFO] Running build completed, took 26.5s
[INFO] Caching finalized dependency graph completed, took 247ms
[INFO] Succeeded after 26.7s with 443 outputs (1407 actions)

dart run build_runner watch with a change in src/view/settings/toggle_sound_button.dart:

[INFO] Running build completed, took 1.1s
[INFO] Caching finalized dependency graph completed, took 95ms
[INFO] Succeeded after 1.2s with 18 outputs (30 actions)

@veloce veloce marked this pull request as ready for review October 17, 2024 13:11
@veloce veloce merged commit 66564f7 into main Oct 17, 2024
1 check passed
@veloce veloce deleted the build_runner_performance branch October 17, 2024 13:25
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.

1 participant