Skip to content

Conversation

@harkal
Copy link
Collaborator

@harkal harkal commented Oct 1, 2025

What I did

This PR adds new style optimisation level selection parameters and fine grained venom passes selection. Together, these changes give advanced users fine‑grained control over the Venom optimizer from both the CLI and JSON interfaces while preserving backward‑compatible behaviour for existing --optimize flags.

How I did it

How to verify it

Commit message

adds new style optimisation level selection parameters and fine grained 
venom passes selection. Together, these changes give advanced users 
fine‑grained control over the Venom optimizer from both the CLI and 
JSON interfaces while preserving backward‑compatible behaviour for 
existing `--optimize` flags.

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@harkal harkal changed the title feat[venom]: venom command line parameters feat[venom]: venom command line optimisation and passes parameters Oct 29, 2025
@harkal harkal changed the title feat[venom]: venom command line optimisation and passes parameters feat[venom]: support opt-level & fine grained venom pass disabling flags Oct 29, 2025
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

❌ Patch coverage is 82.87037% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.20%. Comparing base (ae020c0) to head (9354bc4).

Files with missing lines Patch % Lines
vyper/cli/vyper_json.py 26.31% 11 Missing and 3 partials ⚠️
vyper/cli/vyper_compile.py 55.55% 9 Missing and 3 partials ⚠️
vyper/compiler/settings.py 95.69% 1 Missing and 3 partials ⚠️
vyper/cli/venom_main.py 0.00% 3 Missing ⚠️
vyper/venom/__init__.py 92.30% 1 Missing and 2 partials ⚠️
vyper/venom/ir_node_to_venom.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4757      +/-   ##
==========================================
- Coverage   93.29%   93.20%   -0.09%     
==========================================
  Files         140      145       +5     
  Lines       20277    20384     +107     
  Branches     3554     3585      +31     
==========================================
+ Hits        18917    18999      +82     
- Misses        912      929      +17     
- Partials      448      456       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@harkal harkal marked this pull request as ready for review November 27, 2025 12:09
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