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

Optimization for nano computers #1

Open
ygravrand opened this issue Dec 15, 2016 · 0 comments
Open

Optimization for nano computers #1

ygravrand opened this issue Dec 15, 2016 · 0 comments

Comments

@ygravrand
Copy link
Owner

I tested steppy on a Raspberry Pi (model A) and on a C.H.I.P ($9).

It launches! But when reacting to midi messages, for example when turning knobs on the Launch Control, the tempo can drift.
The current gevent architecture is based on the assumption that message handling is fast.

We can:

  • Try with a multi core computer (e.g. RPi 3): heavy display operations, which already are in a separate process, will execute in a separate core, as intended
    • move all print operations to this separate process, for the same purpose
    • use queues and delegate rules evaluation to another process

Or, if we really want to be able to run it on a C.H.I.P:

  • try to optimize things in rules evaluation
  • rewrite Steppy in Go :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant