-
Notifications
You must be signed in to change notification settings - Fork 23
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
Parsing large files is too slow #3
Comments
Hi @martinflorek, please try version |
I am not able to properly measure the parsing time only, because I process several source code repositories at once and I am looking for specific files only before parsing them. But the new version runs a bit faster. All my processing went from ~33 seconds to ~32 seconds. Version with Kastree runs in 1.7 seconds. |
I refactored But sadly, it seems that |
@ShikaSD pointed me to antlr-optimized, so I implemented support for this antlr fork in |
build time for commit 95db180 is 44s, so we can assume that testing the previusly excluded files takes around 1 minute 45s.
|
Can you have a look at my comment in #50 ? Why is a large garbage-string faster than a large string containing json? |
These files are currently not included in
SelfTest.kt
because the processing does not finish within a reasonable time:The text was updated successfully, but these errors were encountered: