Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@matanlurey
Copy link
Contributor

Example usage:

$ dart tools/clang_tidy/bin/main.dart --lint-all --enable-check-profile

I plan to use this to help triage why clang_tidy takes so long, and if particular rules are contributing to most of the cost.

@matanlurey matanlurey requested a review from zanderso August 16, 2023 18:40
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

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

Good idea.

@matanlurey matanlurey merged commit eba3548 into flutter:main Aug 16, 2023
@matanlurey matanlurey deleted the add-check-profile-clang-tidy branch August 16, 2023 20:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 17, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 17, 2023
…132717)

flutter/engine@dbfe71c...5336702

2023-08-16 [email protected] Roll Skia from 233c4f26427a to 11cb8cdd37c1 (1 revision) (flutter/engine#44786)
2023-08-16 [email protected] Revert "Conditionally enable HardwareBuffer backed platform views (#44744)" (flutter/engine#44785)
2023-08-16 [email protected] [Impeller] Update docstring on layer.presentsWithTransaction (flutter/engine#44782)
2023-08-16 [email protected] Switch some ERROR logs to WARNING logs (flutter/engine#44784)
2023-08-16 [email protected] Roll Skia from 02870a1df818 to 233c4f26427a (1 revision) (flutter/engine#44780)
2023-08-16 [email protected] Roll Dart SDK from cc5eeac65f89 to d6e1fca5dbdf (1 revision) (flutter/engine#44770)
2023-08-16 [email protected] Roll Skia from e65aabc26c86 to 02870a1df818 (7 revisions) (flutter/engine#44778)
2023-08-16 [email protected] Add an optional '--enable-check-profile' to 'tools/clang_tidy'. (flutter/engine#44773)
2023-08-16 [email protected] Roll Fuchsia Mac SDK from Zp9or9YwxZHHPeQbA... to VW7WAVPT3Cj5erlae... (flutter/engine#44777)
2023-08-16 [email protected] Fix search web test (flutter/engine#44704)
2023-08-16 [email protected] Roll Fuchsia Linux SDK from GpKKtPGPMiRcY0kcz... to cPncZK6z8HmuOmQr_... (flutter/engine#44769)
2023-08-16 [email protected] Remove duplicated v1 builds. (flutter/engine#44767)
2023-08-16 [email protected] Roll Skia from d029f149a806 to e65aabc26c86 (4 revisions) (flutter/engine#44768)
2023-08-16 [email protected] Split lint.sh into separate scripts for clang-tidy and pylint (flutter/engine#44763)
2023-08-16 [email protected] Conditionally enable HardwareBuffer backed platform views (flutter/engine#44744)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from GpKKtPGPMiRc to cPncZK6z8Hmu
  fuchsia/sdk/core/mac-amd64 from Zp9or9YwxZHH to VW7WAVPT3Cj5

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
…ter#44773)

Example usage:

```shell
$ dart tools/clang_tidy/bin/main.dart --lint-all --enable-check-profile
```

I plan to use this to help triage why clang_tidy takes so long, and if
particular rules are contributing to most of the cost.
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.

2 participants