Reduce seemingly inactive / dead time #104
Labels
checker
generic checker topics
display 💻
Influencing how the output is rendered
heavy-duty 🚜
Big features not easy to implement
Milestone
Is your feature request related to a use-case? Please describe.
Currently for larger repositories, the program blocks for quite a bit (~10s of seconds) and ultimately spits out all the output.
This sometimes poses the question if the program does anything at all and surely caused a few CTRL+C actions, when it actually was running just fine.
Describe the solution you'd like
Currently one giant documentation object is created and then displayed, but it would be much more flexible if we would work on a per document basis.
With that said, a worker pool could be utilized to do the actual checking and the output could be an async core just processing an
mpsc
channel.Describe alternatives you've considered
So both alternatives are kind of 🍌
Relevant files:
documentation.rs
check.rs
main.rs
The text was updated successfully, but these errors were encountered: