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

Understanding and reducing compilation overheads #733

Open
angelhof opened this issue Nov 18, 2024 · 0 comments
Open

Understanding and reducing compilation overheads #733

angelhof opened this issue Nov 18, 2024 · 0 comments

Comments

@angelhof
Copy link
Member

The compiler seems to have non negligible overhead when dealing with large graphs (for very large widths, e.g., 200). It would be good to understand these overheads and determine if they can be reduced.

I would try to compile the nfa-regex script (https://github.com/binpash/pash/blob/main/evaluation/benchmarks/oneliners/nfa-regex.sh) with increasing widths to estimate overheads. The --dry_run_compiler flag could be used to not execute the compiled script but still compile it (it is pretty old so I am not sure if it still works).

The first step would be to understand which method calls of the compiler contribute mostly to the compilation overhead. The next step would be to reimplement some of them to minimize such overheads.

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

No branches or pull requests

1 participant