-
Notifications
You must be signed in to change notification settings - Fork 28
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
nitropy slow on Librem5 #463
Comments
Could you please try to just run
I suspect that the reason for this behavior is that we have all imports on the top level. This means that in order to load the command definitions, Python needs to resolve all imports for all commands. I think we could improve this by moving the imports into the commands, but that would require a major refactoring. |
Looked up how to profile a python script and found …
…hope it helps - output is attached. |
Thank you! The delay could be caused by this issue: Nitrokey/nethsm-sdk-py#67 I will let you know once there is an updated pynitrokey version for you to test. |
I'd say this looks a lot better 👍 ! |
Nice! Still slow though. We could probably make similar optimizations in pynitrokey, but that would take much more effort. By the way, you can use the |
The Librem5 is a linux mobile phone based on NXP® i.MX 8M Quad core Cortex A53, 64bit ARM @max 1.5GHz .
nitropy
works fine on the phone running PureOS Byzantium (Debian Bullseye derivate), but it is slow:8 seconds to show help?
The text was updated successfully, but these errors were encountered: