Skip to content

Conversation

@danrubel
Copy link
Contributor

flutter analyze --flutter-repo --watch now checks for package conflicts similar to flutter analyze --flutter-repo. The long term goal is to merge analyze_once.dart with analyze_continuously.dart so that all analysis goes through analysis server.

  • move PackageDependency and PackageDependencyTracker from analyze_once.dart into analyze_base.dart
  • merge getRepoAnalysisEntryPoints into getRepoPackages

@danrubel danrubel changed the title Flutter analyze flutter analyze --watch --flutter-repo check for package conflicts Jun 12, 2017
@danrubel danrubel changed the title flutter analyze --watch --flutter-repo check for package conflicts flutter analyze --watch --flutter-repo check package conflicts Jun 12, 2017
@Hixie
Copy link
Contributor

Hixie commented Jun 12, 2017

@yjbanov @danrubel I thought we had a benchmark that checked the time it takes to run the analyzer, but I don't see one any more. Before we check this in, can we make sure we have a cocoon benchmark that runs the following combinations and logs the times for each one?

  • analyze --flutter-repo --benchmark
  • analyze --flutter-repo --watch --benchmark
  • analyze --benchmark for the gallery (or the mega gallery)
  • analyze --watch --benchmark for the gallery (or the mega gallery)

(make sure to run rm ~/.dartServer before each of these so they don't interfere with each other)

I want to make sure we track the times for running analyses so that we don't regress them while unifying all our behaviours.

@Hixie
Copy link
Contributor

Hixie commented Jun 12, 2017

The patch itself looks great. LGTM.

@danrubel
Copy link
Contributor Author

@Hixie Adding cocoon tests makes good sense. Unfortunately I don't have the cycles at this point to do so.

@Hixie
Copy link
Contributor

Hixie commented Jun 12, 2017

Shouldn't be too hard, let me see what I can do.

@Hixie
Copy link
Contributor

Hixie commented Jun 13, 2017

Didn't get to it today, we had some fires to fight. But will look at it tomorrow between meetings. I'm pretty sure we have some already, just need to figure out why they're not running.

@devoncarew
Copy link
Contributor

I believe the flutter analyze benchmarks were retired (at least the graphs were); @yjbanov to confirm.

@yjbanov
Copy link
Contributor

yjbanov commented Jun 13, 2017

I resurrected them a minute ago.

@danrubel
Copy link
Contributor Author

Now that Yegor has resurrected the necessary tests (thank you!), I'll wait until flutter-build is green, then commit. PLMK if that is not the appropriate course of action.

@Hixie
Copy link
Contributor

Hixie commented Jun 13, 2017

Sounds good, thanks! And thanks @yjbanov!

@yjbanov
Copy link
Contributor

yjbanov commented Jun 13, 2017

There's some redness now, but my commit was all green. https://flutter-dashboard.appspot.com/api/public/build-status (as of this typing) says you're good to go.

@danrubel danrubel merged commit befe019 into flutter:master Jun 14, 2017
@danrubel danrubel deleted the flutter-analyze branch June 14, 2017 00:51
@yjbanov
Copy link
Contributor

yjbanov commented Jun 14, 2017

No significant movement in the benchmarks after this change:

analyzer_benchmark

@yjbanov
Copy link
Contributor

yjbanov commented Jun 14, 2017

That was just FYI. No action requested.

@danrubel danrubel mentioned this pull request Jun 15, 2017
5 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants