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

perf benchmarking suite #808

Closed
4 tasks
OmarTawfik opened this issue Feb 13, 2024 · 0 comments · Fixed by #1043
Closed
4 tasks

perf benchmarking suite #808

OmarTawfik opened this issue Feb 13, 2024 · 0 comments · Fixed by #1043
Assignees

Comments

@OmarTawfik
Copy link
Contributor

OmarTawfik commented Feb 13, 2024

Frameworks

Todo

  • Implement a few core user cases (examples below).
  • Implement a script to run these tests locally and collect results across different commits: infra measure test_name --ref $HASH1 --ref $HASH2 --ref $HASH3.
  • Measure CPU load, memory usage, and resulting binary/package size.
  • Can we run in CI? report via mermaid graphs?

Scenarios

  1. Parsing files: small vs large contracts.
  2. Parsing files: flat types vs nested expressions.
  3. Using cursors to select specific kinds.
  4. Using cursors to navigate up/down/around the tree.
  5. Running queries E2E with/without captures.
  6. Inspecting every node in the tree, which is critical for things like formatters, which will eventually need to access all of them.
@OmarTawfik OmarTawfik converted this from a draft issue Feb 13, 2024
@OmarTawfik OmarTawfik changed the title performance measurements perf benchmarking suite Feb 14, 2024
@OmarTawfik OmarTawfik changed the title perf benchmarking suite cargo perf benchmarking Feb 14, 2024
@OmarTawfik OmarTawfik changed the title cargo perf benchmarking perf benchmarking suite Feb 14, 2024
@OmarTawfik OmarTawfik self-assigned this Feb 14, 2024
@OmarTawfik OmarTawfik removed their assignment Feb 15, 2024
@OmarTawfik OmarTawfik self-assigned this Feb 15, 2024
@OmarTawfik OmarTawfik linked a pull request Jul 26, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from ⏳ Todo to ✅ Done in Slang - 2024 H2 Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant