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

Print output earlier #635

Merged
merged 2 commits into from
Dec 27, 2020
Merged

Conversation

regehr
Copy link
Contributor

@regehr regehr commented Dec 26, 2020

buffered output from all children and then dumped it all at once at
the end. this hurt when using alivecc on huge files like sqlite3.c.

this patch dumps output as it goes along. the only tricky thing was
dealing with the fact that children complete out of order.

this also does just a tiny bit of cleanup on the parallel manager.

tested by running alivecc in serial and parallel modes and making sure they print mostly the same thing

buffered output from all children and then dumped it all at once at
the end. this hurt when using alivecc on huge files like sqlite3.c.

this patch dumps output as it goes along. the only tricky thing was
dealing with the fact that children complete out of order.

this also does just a tiny bit of cleanup on the parallel manager.
@regehr
Copy link
Contributor Author

regehr commented Dec 27, 2020

this is nice: I can do TV for sqlite3.c in about 6 hours on my huge machine once this patch is applied

@nunoplopes nunoplopes merged commit 22d6c45 into AliveToolkit:master Dec 27, 2020
@regehr regehr deleted the print-output-earlier branch August 20, 2022 22:05
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

Successfully merging this pull request may close these issues.

2 participants