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

Tick DSPtach #16

Closed
eliodilar opened this issue Jun 27, 2019 · 2 comments
Closed

Tick DSPtach #16

eliodilar opened this issue Jun 27, 2019 · 2 comments
Labels

Comments

@eliodilar
Copy link

Hello,

i haven't find forum so i post my question here.
just to be sure

  1. We can choose for component all component declaration, 2 tick modes:
    Series: unthreading, sequential.
    Parallel: Threading, parallelise

Isn't it?

Cordially

@MarcusTomlinson
Copy link
Member

MarcusTomlinson commented Jun 27, 2019

Right, what this is referring to is the tick mode. That is, how do you want the tick to be performed across the circuit.

  • Series mode will tell the circuit to process components one-by-one in a single thread.
    • This mode will improve performance if your circuit has no parallel branches.
  • Parallel mode will spawn a thread per component in the circuit.
    • This mode will improve performance if your circuit has parallel branches.

Note that there is another threading model at play in DSPatch too: buffering. Setting the buffer count on your circuit higher than 1 can improve its performance when processing streams of data. Buffering can be used regardless of the tick mode selected.

@eliodilar
Copy link
Author

Hard core thinking, nice frameworks, simple code, very good job :-)

tenor

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

No branches or pull requests

2 participants