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 benchmarks and Improve benchmark README.md #1627

Merged
merged 4 commits into from
Jan 1, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Dec 28, 2024

If we want people to be able to optimize the parser, they need to

  1. know how to run the benchmarks and profiling
  2. Have a benchmark that is not broken (e.g. Fix sqlparser_bench benchmark compilation #1625)

Let's document this and add a CI check

You can see the rendered docs here: https://github.com/alamb/sqlparser-rs/tree/alamb/benchmark_docs/sqlparser_bench

Note the CI check is going to fail until we merge #1625

Here is an example failure:
https://github.com/apache/datafusion-sqlparser-rs/actions/runs/12527324324/job/34940794352?pr=1627

@alamb alamb marked this pull request as ready for review December 29, 2024 15:04
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM!

@iffyio iffyio merged commit 3bad04e into apache:main Jan 1, 2025
9 checks passed
@alamb alamb deleted the alamb/benchmark_docs branch January 5, 2025 18:29
hansott added a commit to hansott/datafusion-sqlparser-rs that referenced this pull request Jan 7, 2025
…o patch-carriage-return

* 'main' of github.com:hansott/datafusion-sqlparser-rs:
  Add support for MySQL's INSERT INTO ... SET syntax (apache#1641)
  Add support for Snowflake LIST and REMOVE (apache#1639)
  Add support for the SQL OVERLAPS predicate (apache#1638)
  Add support for various Snowflake grantees (apache#1640)
  Add support for USE SECONDARY ROLE (vs. ROLES) (apache#1637)
  Correctly tokenize nested comments (apache#1629)
  Add support for MYSQL's `RENAME TABLE` (apache#1616)
  Test benchmarks and Improve benchmark README.md (apache#1627)
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.

2 participants