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

Create VM benchmarking suite #38

Open
apetkov-so opened this issue Jan 7, 2025 · 0 comments · May be fixed by #42
Open

Create VM benchmarking suite #38

apetkov-so opened this issue Jan 7, 2025 · 0 comments · May be fixed by #42
Assignees
Labels
vm Aranya policy lang VM

Comments

@apetkov-so
Copy link
Contributor

apetkov-so commented Jan 7, 2025

As we improve the compiler, we need a way to measure the improvement. Built a set of common cases and benchmark them, so that we can know whether our changes help or hurt performance.

Things that might be nice to see:

  • Running an average open block
  • Matching on an enum
  • Matching on a string
  • creating and deleting many facts
  • fact queries, and associated built-ins like exists, at_least, etc.
  • map iteration
  • Using global let values
  • Deep function call trees

More suggestions welcome. :)

@apetkov-so apetkov-so self-assigned this Jan 7, 2025
apetkov-so added a commit that referenced this issue Jan 7, 2025
@apetkov-so apetkov-so linked a pull request Jan 7, 2025 that will close this issue
@chip-so chip-so added the vm Aranya policy lang VM label Jan 10, 2025
apetkov-so added a commit that referenced this issue Jan 22, 2025
apetkov-so added a commit that referenced this issue Feb 3, 2025
apetkov-so added a commit that referenced this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vm Aranya policy lang VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants