Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Slow performance on Android #206

Open
yhc44 opened this issue Oct 23, 2019 · 3 comments
Open

Slow performance on Android #206

yhc44 opened this issue Oct 23, 2019 · 3 comments

Comments

@yhc44
Copy link

yhc44 commented Oct 23, 2019

Hello,

im thankfully using this lib for decrypting files that are encrypted with AES CTR. (chunk wise)

I made a speedtest, where the decryption of a file with 10 MB took

~2s on iPhone 8 Plus
~15s on Xiaomi Redmi Note 4.
~20s on Sony Xperia Z2

Why is there such a significant performance difference on iOS vs Android?

Thank you :)

@wstrange
Copy link

Have you compiled Android in release mode? Apple has a very fast SoC - and those may be older Android models - some of the difference may be expected.

@yhc44
Copy link
Author

yhc44 commented Oct 23, 2019

Thank you for your fast response.

We compiled it in release mode, but it takes about 15-20 seconds to decrypt.

The Xiaomi Redmi Note 4 has the following specs:

  • 2.0GHz Octa-Core-Prozessor, Snapdragon 625, 4GB RAM.

I cant imagine, that the phone is that much slower to an iPhone?

@buitrungkhang
Copy link

I have same issue with generating RSA key pair on Android device, it takes 6-20s for other devices. Hope you can attend this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@wstrange @buitrungkhang @yhc44 and others