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

Performance improvements #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SamiPatanen
Copy link

Hello!
I ran into some performance problems in your otherwise fantastic library, and decided to look into them.

Here's an image of a method trace of the standard 1.8 version of your library, running on a Nexus 5X device, with nv-bluetooth highlighted with blue. Around 99% of the CPU time for the library is used for UUIDCreator's use of String.parse.
first

Here's an image after the changes.
fourth

Other changes include minor semantic changes suggested by Android Studio Lint.

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