Skip to content

Remove LALRPOP based parser#10998

Merged
dhruvmanila merged 1 commit intodhruv/parserfrom
dhruv/farewell-lalrpop
Apr 17, 2024
Merged

Remove LALRPOP based parser#10998
dhruvmanila merged 1 commit intodhruv/parserfrom
dhruv/farewell-lalrpop

Conversation

@dhruvmanila
Copy link
Member

No description provided.

@dhruvmanila dhruvmanila added the parser Related to the parser label Apr 17, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 17, 2024

CodSpeed Performance Report

Merging #10998 will degrade performances by 4.92%

Comparing dhruv/farewell-lalrpop (6868313) with dhruv/parser (c30057a)

Summary

⚡ 2 improvements
❌ 1 regressions
✅ 27 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark dhruv/parser dhruv/farewell-lalrpop Change
parser[large/dataset.py] 28.9 ms 27.1 ms +6.59%
parser[pydantic/types.py] 11.8 ms 10.9 ms +8.84%
parser[unicode/pypinyin.py] 1.6 ms 1.7 ms -4.92%

@dhruvmanila dhruvmanila force-pushed the dhruv/preserve-comma-with-pep-646 branch from 7ec230a to a2e71a8 Compare April 17, 2024 11:59
@dhruvmanila dhruvmanila force-pushed the dhruv/farewell-lalrpop branch from d50ae76 to 0e2cf2d Compare April 17, 2024 12:00
Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

🥳

@dhruvmanila dhruvmanila force-pushed the dhruv/farewell-lalrpop branch from 0e2cf2d to b87e363 Compare April 17, 2024 12:25
@dhruvmanila dhruvmanila force-pushed the dhruv/preserve-comma-with-pep-646 branch from 4beb382 to 4a382e5 Compare April 17, 2024 12:47
Base automatically changed from dhruv/preserve-comma-with-pep-646 to dhruv/parser April 17, 2024 12:48
@dhruvmanila dhruvmanila force-pushed the dhruv/farewell-lalrpop branch from b87e363 to 6868313 Compare April 17, 2024 12:48
@dhruvmanila
Copy link
Member Author

I'm going to make sure the ecosystem checks are all good and then merge even though I've ran them locally

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+1 -1 violations, +0 -0 fixes in 1 projects; 43 projects unchanged)

demisto/content (+1 -1 violations, +0 -0 fixes)

+ Packs/ThreatQ/Integrations/ThreatQ/ThreatQ.py:106:12: E999 SyntaxError: Multiple exception types must be parenthesized
- Packs/ThreatQ/Integrations/ThreatQ/ThreatQ.py:106:21: E999 SyntaxError: Unexpected token ,

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
E999 2 1 1 0 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+1 -1 violations, +0 -0 fixes in 1 projects; 43 projects unchanged)

demisto/content (+1 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview

+ Packs/ThreatQ/Integrations/ThreatQ/ThreatQ.py:106:12: E999 SyntaxError: Multiple exception types must be parenthesized
- Packs/ThreatQ/Integrations/ThreatQ/ThreatQ.py:106:21: E999 SyntaxError: Unexpected token ,

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
E999 2 1 1 0 0

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@dhruvmanila
Copy link
Member Author

dhruvmanila commented Apr 17, 2024

The ecosystem changes are as expected, updating the syntax error message.

@dhruvmanila dhruvmanila merged commit b381ec6 into dhruv/parser Apr 17, 2024
@dhruvmanila dhruvmanila deleted the dhruv/farewell-lalrpop branch April 17, 2024 13:20
dhruvmanila added a commit that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parser Related to the parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants