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

test: add prime sum bench mark #59

Merged
merged 1 commit into from
Feb 18, 2024
Merged

test: add prime sum bench mark #59

merged 1 commit into from
Feb 18, 2024

Conversation

danvk
Copy link
Owner

@danvk danvk commented Feb 18, 2024

Another performance test that's not so stack intensive as Fibonacci (#37).

Counting the primes less than 10,000:

  • gravlax: 36.7s
  • jlox: 11s
  • clox: 3.6s

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference

In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. We are closing this pull request for now but you can update the pull request description and reopen the pull request.
The check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

@danvk danvk changed the title chore: add prime sum bench mark test: add prime sum bench mark Feb 18, 2024
@danvk danvk merged commit 2823c25 into main Feb 18, 2024
14 checks passed
@danvk danvk deleted the prime-bench branch February 18, 2024 13:35
@danvk
Copy link
Owner Author

danvk commented Feb 18, 2024

@all-contributors please add @danvk for test.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙

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

Successfully merging this pull request may close these issues.

1 participant