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

Move Actor mailbox loop to Truffle #250

Merged
merged 8 commits into from
May 16, 2018
Merged

Move Actor mailbox loop to Truffle #250

merged 8 commits into from
May 16, 2018

Conversation

smarr
Copy link
Owner

@smarr smarr commented May 13, 2018

This PR moves the loop that iterates over the messages in a mailbox into Truffle.
This is technically not an optimization in itself, but enables future optimization, because it gives more control over for instance tracing operations.

The PR contains also a number of smaller cleanups.

For reference, I included the code that adds caching for the methods of messages.
However, there are even for simple programs too many messages, so this is not useful, and therefore reverted.

smarr added 8 commits May 7, 2018 08:34
- this does not seem to be beneficial (not extensively benchmarked though)
- problem is that we get too many different call targets
- so, looking through list of cached items becomes expensive

Signed-off-by: Stefan Marr <[email protected]>
Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr added the enhancement Improves the implementation with something noteworthy label May 13, 2018
@smarr smarr added this to the v0.7.0 milestone May 13, 2018
@smarr
Copy link
Owner Author

smarr commented May 13, 2018

@daumayr, I started moving some of the things we did for the paper into the main branch.
Would be great if you could have a look, and review the changes.

@daumayr
Copy link
Contributor

daumayr commented May 16, 2018

@smarr, I had a look on the changes, they look good to me.

@smarr smarr merged commit 0ee5495 into dev May 16, 2018
@smarr
Copy link
Owner Author

smarr commented May 16, 2018

Thank you. It's merged.

@smarr smarr deleted the actor-optimizations branch May 16, 2018 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the implementation with something noteworthy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants