afnanenayet / diffsitter

A tree-sitter based AST difftool to get meaningful semantic diffs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate parsing documents concurrently

afnanenayet opened this issue · comments

Is your feature request related to a problem? Please describe.
Right now documents are parsed serially, though they are not dependent on each other and could be parsed in parallel.

Describe the solution you'd like
Investigate whether parsing documents in parallel yields a noticeable performance gain.

Describe alternatives you've considered
We could parsing serial as-is because it's been extremely fast in my experience, and the overhead of sending data back and forth between threads might negate the speed gains from parsing both documents in parallel.

Additional context
N/A