https://github.com/jsqlparser/javacc-perf-diag
https://github.com/jsqlparser/javacc-perf-diag
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsqlparser/javacc-perf-diag
- Owner: JSQLParser
- Created: 2016-05-01T20:45:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T21:32:36.000Z (over 3 years ago)
- Last Synced: 2025-03-31T10:04:44.961Z (3 months ago)
- Language: Java
- Size: 29.3 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javacc-perf-diag
JavaCC is a very good parser generator. But it contains tools used at the wrong places results in very inperformant parsers. This project aims to deliver some statistic identifiying those hotspots of a parser.
The tool uses *AspectJ* to link into an existing parser. The logging possibilities of JavaCC are not used.
Some statistics were delivered combining some values of a real parsing process. Mainly you are able to identify the productions with the most complex lookahead. *Excessive lookaheads are one of the main reasons to produce poor parser performance.*
## Example JSqlParser
The motivation developing this project were some very inperformant parsing processes of JSqlParser.