Skip to content
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

Improve the performance of kompile #4668

Open
Stevengre opened this issue Oct 18, 2024 · 2 comments
Open

Improve the performance of kompile #4668

Stevengre opened this issue Oct 18, 2024 · 2 comments

Comments

@Stevengre
Copy link
Contributor

kompile is quite slow, and it doesn’t seem to speed up even increased memory using -Xmx. And I found no way for concurrent kompilation. This has made debugging a bug very time-consuming.

@ehildenb
Copy link
Member

@Stevengre do you have examples it's slow on? We've made a lot of performance improvements in Kompile, and it also is able to do parallel compilations of parts of the pipeline, but without an example we can't optimize your specific use case. If it's a private codebase, maybe we could get access out of band and see what is making it slow with a profiler.

@Stevengre
Copy link
Contributor Author

It's currently a private repo, but it will be open-sourced in the future. I'm in the process of refactoring right now, and it seems like Kompile is running much faster. I suspect there might have been issues with the previous syntax definitions and rule implementations. If the problem persists after the refactor, we can explore further optimizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants