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

Improve performance of documenting by 10%. #2260

Merged
merged 3 commits into from
Jul 13, 2020

Conversation

srawlins
Copy link
Member

This change reduces the time to document the camera Flutter plugin from 51 seconds to 46 seconds.

This is mostly accomplished by not analyzing libraries for hints.

In addition, a few other tweaks are made:

  • Less nesting.
  • Using sets instead of lists where contains is the primary use.

This is mostly accomplished by _not_ analyzing libraries for hints.

In addition, a few other tweaks are made:

* Less nesting.
* Using sets instead of lists where `contains` is the primary use.
@srawlins srawlins requested a review from scheglov July 10, 2020 21:16
@googlebot googlebot added the cla: yes Google CLA check succeeded. label Jul 10, 2020
@srawlins srawlins merged commit 3de1728 into dart-lang:master Jul 13, 2020
@srawlins srawlins deleted the perf-firstwhere branch July 13, 2020 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants