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

Printing is slow! #352

Open
Rewbert opened this issue Mar 30, 2023 · 3 comments
Open

Printing is slow! #352

Rewbert opened this issue Mar 30, 2023 · 3 comments
Assignees
Milestone

Comments

@Rewbert
Copy link
Collaborator

Rewbert commented Mar 30, 2023

Printing is super expensive; I just ran a property where each test case takes very little time. 200 000 tests took 14 seconds, but 200 000 tests with chatty = False took 4 seconds. Such a huge penalty for just printing!

chatty = False is not always ideal, as I am interested in the current progress of my property. There should be some half-way option where I can ask for output, but less. I am just not interested in unperceived updates :) I have a patch ready to go for this, but I document this here so that this is not forgotten.

@nick8325
Copy link
Owner

We need an FPS limiter! :D

@Rewbert
Copy link
Collaborator Author

Rewbert commented Mar 30, 2023

For slow tests the current implementation is fine (execution time is not dominated by printing), but for fast ones we need an FPS limiter! :)

@Rewbert
Copy link
Collaborator Author

Rewbert commented Apr 25, 2024

In the parallel fork of QC, this is not a problem. The final design might change, but something will be done about this in 2.16.

@Rewbert Rewbert mentioned this issue Jun 18, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants