-
Notifications
You must be signed in to change notification settings - Fork 323
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
Benchmark lazy infinite sieve of Eratosthenes #11351
Conversation
c1f7d1c
to
2afcfa5
Compare
// | ||
// This GraalVM script waits for the end execution of `compute_and_print_nth` function | ||
// to store value of its `p` local variable (containing linked list of prime numbers) | ||
// into `/tmp/sieve.hprof` - a GraalVM serialization for Truffle languages! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jaroslav Tulach reports a new STANDUP for yesterday (2024-10-17): Progress: .
|
Benchmarks do run. Surprisingly the "lazy sieve" is faster than classical one. 323ms vs. 426ms. |
Jaroslav Tulach reports a new STANDUP for yesterday (2024-10-18): Progress: .
|
Jaroslav Tulach reports a new STANDUP for yesterday (2024-10-20): Progress: .
|
Pull Request Description
Benchmark using lazy atom field to compute sieve of Eratosthnes. Demo of heapdumping with Enso and Insight.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR: