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

Improve performance #12

Closed
ymdryo opened this issue Sep 8, 2024 · 3 comments
Closed

Improve performance #12

ymdryo opened this issue Sep 8, 2024 · 3 comments

Comments

@ymdryo
Copy link
Member

ymdryo commented Sep 8, 2024

#1 (comment)

https://www.reddit.com/r/haskell/comments/1fbvmo8/comment/lm5m98m/
haskell-effectful/effectful#241

The results are quite poor.
Originally, this library started as a test to see if the ideas related to semantics could be implemented, so I think performance wasn't considered much.
Since I'm not very knowledgeable about performance optimization in Haskell, I might have unknowingly written slow code.

Theoretically, I believe it should perform similarly to freer-simple. It seems that improvement is needed.

@ymdryo
Copy link
Member Author

ymdryo commented Sep 19, 2024

I’ve moved my monologues here: https://mastodon.social/@ymdfield/113162861185756407

@ymdryo
Copy link
Member Author

ymdryo commented Sep 24, 2024

Performance research on various optimization techniques (Generalized Evidence Passing, FTCQueue in freer-simple) is completed. I'll begin implementing the next version of Heftia (v0.4), incorporating all performance improvements to the best of my knowledge. Please stay tuned! Contributions are still welcome!

@ymdryo
Copy link
Member Author

ymdryo commented Oct 10, 2024

I've released Heftia v0.4. The performance is now on par with freer-simple.
https://github.com/sayo-hs/heftia/blob/v0.4.0/benchmark/performance.md

@ymdryo ymdryo closed this as completed Oct 10, 2024
@ymdryo ymdryo mentioned this issue Oct 10, 2024
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