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

Add some other fields to Benchmarks, Add Multi Dialect support to a benchmark, Improve Benchmark Output & simplify filtering benchmarks by tags #1425

Merged
merged 16 commits into from
Aug 14, 2024

Conversation

sudo-jarvis
Copy link
Contributor

@sudo-jarvis sudo-jarvis commented Aug 8, 2024

  1. Add some other fields to benchmarks
  • varying_parameter: Helps group the benchmark_results.
  • benchmark_type: Acts as a tag for filtering benchmarks.
  • dialects_supported: Store the dialects that a benchmark supports to be run on.
  1. Add multi dialect support to a benchmark.

  2. Improve Benchmark Output for pretty and markdown output by grouping according to varying_parameter if possible.

  3. Simplify filtering benchmarks according to benchmark_type.


📚 Documentation preview 📚: https://bowtie-json-schema--1425.org.readthedocs.build/en/1425/

@sudo-jarvis
Copy link
Contributor Author

@Julian, the tests wont pass in the benchmarks PR if I included it separately so I included their changes as well in this PR. If its too much then I can put it in a separate one and then that one could be merged later then the tests would pass. Do let me know if you want that.

bowtie/_cli.py Outdated Show resolved Hide resolved
exit_code=0,
)

expected_data1 = """
Copy link
Member

Choose a reason for hiding this comment

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

Can you use textwrap.dedent to make these a bit less "ugly" indented in a follow-up PR? Will merge for now.

@Julian Julian merged commit ed04f44 into bowtie-json-schema:main Aug 14, 2024
25 checks passed
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