-
Notifications
You must be signed in to change notification settings - Fork 157
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
Shrinking is Insanely Slow for write_read
#596
Comments
I imagine at the very least we don't want to shrink first three arguments of propTest :: TextEncoding -> Gen IO.BufferMode -> IO.NewlineMode -> c -> Property |
The encoding is not shrunk. I have wrapped the other two with |
2007 shrinks is a high number, but on the other hand why did they take 1448 seconds? That's 0.7 seconds per test, which sounds a lot, given that the test data does not seem to be that huge. |
I think many more tests are run than 2007. If you look at numShrinkTries, so I think 2007 represents |
I imagine there are so many shrinks tried because there are many variables to shrink
I think if the character variable is removed this would perform much better. Either, do not modify the characters or set them all to 'a'. |
Dunno, maybe lumping |
I just added |
Just one test took ~25 minutes due to shrinking. https://github.com/haskell/text/actions/runs/9201285542/job/25309228763?pr=590#step:6:1224
Should
noShrinking
be added?The text was updated successfully, but these errors were encountered: