Skip to content

perf: Redo benchmarks #4654

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

Merged
merged 4 commits into from
Jun 23, 2024
Merged

perf: Redo benchmarks #4654

merged 4 commits into from
Jun 23, 2024

Conversation

max-sixty
Copy link
Member

Haven't touched these in years and wanted to check that the parser changes don't have any perf impact.

Running something like cargo bench --bench=bench -- prql_to_pl --quick will quickly time how long it takes to parse each of our canonical queries.

One tradeoff is that changing our canonical queries means that the benchmarks don't compare through time. So possibly we should have a couple we try and almost never change...

max-sixty and others added 3 commits June 23, 2024 13:20
Haven't touched these in years and wanted to check that the parser changes don't have any perf impact.

Running something like `cargo bench --bench=bench -- prql_to_pl --quick` will quickly time how long it takes to parse each of our canonical queries.

One tradeoff is that _changing_ our canonical queries means that the benchmarks don't compare through time. So possibly we should have a couple we try and almost never change...
@max-sixty max-sixty enabled auto-merge (squash) June 23, 2024 20:29
@max-sixty max-sixty merged commit a58163f into PRQL:main Jun 23, 2024
83 checks passed
@max-sixty max-sixty deleted the bench branch June 23, 2024 20:51
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