5 ms·
I took your case, I got way better perf just generating a list of numbers and then reshaping it into a dataframe. But! Even though it doesn't even get that muc
by rtpg 2y ago
I took your case, I got way better perf just generating a list of numbers and then reshaping it into a dataframe.
But! Even though it doesn't even get that much slower at a certain number of rows it just starts hanging! Like at 49 rows everything is still fine and at 50 it no longer wants to work. It's very bizarre and I'll see if I can debug it. But I think your test case isn't indicative of some fundamental issue with Hypothesis rather than some sort of bug.
- tybug 2y agoThat kind of behavior can happen at the threshold of Hypothesis' internal limit on entropy - though if you're not hitting HealthCheck.data_too_large then this seems unlikely. Let me know if you have a reproducer, I'd be curious to take a look.
- deleted 2y ago[deleted]
- epgui 2y ago> Even though it doesn't even get that much slower at a certain number of rows it just starts hanging Yes, this brings back memories. I've definitely seen this kind of behaviour as well, in many different, not-particularly-exotic, situations. I am absolutely convinced the issue I raised on the github project was a bug or a defect, despite the maintainers not taking it seriously. I find QuickCheck and Clojure spec/test.check much more straightforward to use. I just never ran into this sort of thing with these other tools.