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

tracking: Performance #22

Open
nazo6 opened this issue Nov 9, 2024 · 1 comment
Open

tracking: Performance #22

nazo6 opened this issue Nov 9, 2024 · 1 comment

Comments

@nazo6
Copy link
Owner

nazo6 commented Nov 9, 2024

Binary size

As of now (11/9), the generated UF2 file with full functionality enabled in the min-size profile is about 250kb. I want to maintain this binary size as much as possible.

Performance

There don't appear to be any significant performance issues at present.

Memory size

This needs to be improved. A panic occurred with 128kb of memory.
I think rktk-keymanager is using too much memory.

@nazo6 nazo6 changed the title tracking: Performance, binary size and etc tracking: Performance Dec 21, 2024
@nazo6
Copy link
Owner Author

nazo6 commented Mar 17, 2025

The increase in stack size was caused by the nature of the arguments being stored in future. By using pass-by-reference as much as possible, the stack size was greatly improved. (commit dcf2c8a)
rust-lang/rust#62958 This issue may be related, but I'm not sure if this problem can be solved by optimization.

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

No branches or pull requests

1 participant