Skip to content

[Pratt Parser] Add BUILD target that excludes the ANTLR4 implementation - #2211

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_953003752
Open

[Pratt Parser] Add BUILD target that excludes the ANTLR4 implementation#2211
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_953003752

Conversation

@copybara-service

Copy link
Copy Markdown

[Pratt Parser] Add BUILD target that excludes the ANTLR4 implementation

Binary size comparison (--config=release):

  • Shared library (libpratt_parser.so vs libparser.so): 94.8 KB vs 454.6 KB (~360 KB / 79.15% reduction)
  • Static library (libpratt_parser.a vs libparser.a): 1.40 MB vs 4.34 MB (~2.94 MB / 67.73% reduction)
  • Static library, stripped: 127 KB vs 590.3 KB (~460 KB / 78.5% reduction)
  • .text section (executable code): 37 KB vs 212 KB (~175 KB / 82.57% reduction)

Binary size comparison (`--config=release`):
- Shared library (`libpratt_parser.so` vs `libparser.so`): 94.8 KB vs 454.6 KB (~360 KB / 79.15% reduction)
- Static library (`libpratt_parser.a` vs `libparser.a`): 1.40 MB vs 4.34 MB (~2.94 MB / 67.73% reduction)
- Static library, stripped: 127 KB vs 590.3 KB (~460 KB / 78.5% reduction)
- `.text` section (executable code): 37 KB vs 212 KB (~175 KB / 82.57% reduction)

PiperOrigin-RevId: 953003752
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