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

fix(android): prevent high cpu usage in Android Studio #11571

Merged
merged 5 commits into from Apr 15, 2020

Conversation

garymathews
Copy link
Contributor

  • Disable specific Inspections causing high CPU utilization

JIRA Ticket

@build
Copy link
Contributor

build commented Mar 25, 2020

Messages
📖

💾 Here's the generated SDK zipfile.

📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.
📖

✅ All tests are passing
Nice one! All 6659 tests are passing.
(There are 698 skipped tests not included in that total)

Generated by 🚫 dangerJS against eb91483

@jquick-axway
Copy link
Contributor

@garymathews, Android Studio still slams my CPU for about 15-20 minutes with this change.

I sent you an updated inspections XML which makes it super fast for me. Turns out the most expensive inspections were under the "Probably bugs" section. I disabled most of those.

@sgtcoolguy
Copy link
Contributor

Given this is an internal dev thing, can we merge it in? Does this work well for both @jquick-axway and @garymathews ?

@jquick-axway
Copy link
Contributor

@garymathews, we should add the following to our "titanium_mobile/android/.gitignore" file so that we can easily commit changes to this XML file in the future.

!/.idea/inspectionProfiles/

- Fixed gitignore setting for "inspectionProfiles". Wasn't working in previous commit.
@jquick-axway jquick-axway merged commit 11dff9d into tidev:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants