ssm-lang / Scoria

This is an embedding of the Sparse Synchronous Model, in Haskell!
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Test with different queue sizes #13

Closed j-hui closed 3 years ago

j-hui commented 3 years ago

Having a size of 8192 means that we necessarily have at least 8192 repeated entries in the log before we encountere a contqueue full error. Can we consider dropping the queue size down to 128 or something so that the event trace is somewhat more easily auditable?

Rewbert commented 3 years ago

We can, I increased it to be able to run some specific tests quite a while back. I don't know what the optimal size is though, if there is any.

j-hui commented 3 years ago

If there are reasons for setting the size larger, it sounds like this is something that we might even want to vary for the purposes of testing.

j-hui commented 3 years ago

A nice-to-have feature that should be fairly straightforward to support is to run each test multiple times, with different queue sizes.

Rewbert commented 3 years ago

Modified the interpreter on branch #interpretable to be parameterised over the queue sizes. Should solve half of that feature ;-)

j-hui commented 3 years ago

Closed by #42