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

Performance analysis #436

Open
2 tasks
pitag-ha opened this issue Jun 26, 2023 · 0 comments
Open
2 tasks

Performance analysis #436

pitag-ha opened this issue Jun 26, 2023 · 0 comments

Comments

@pitag-ha
Copy link
Member

There are two (probably) unrelated things in the driver's performance that I'd like to understand:

  • Why do very simple AST passes take so long? E.g., for drivers containing derivers, why do the AST passes turning off the warnings w32 and w60 take so long?
          - [ ] Look for a non-IP sensitive example where those passes take long.
          - [ ] Rewrite them using compiler-lib's AST traverse workflow via records.
          - [ ] Compare the two timing results: standard Ppxlib traverse workflow via classes vs compiler-lib's records workflow. Is there a significant difference?
  • In some very dubious cases of PPXs, the number of AST passes varies strongly depending on which syntax is used in the AST the PPX is run on. How can that happen?
          - [ ] Reproduce this.
          - [ ] Find an explanation to find out whether that's dubious PPX behavior or a Ppxlib performance bug.
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