Closed BebeSparkelSparkel closed 4 years ago
I wouldn't say it's fmap
which slow, but that generated data simply quite big. My initial guess is that Fun [[Int]] Int
is quite big structure, when applied to [[Int]]
which is quadratic in size
(~100 lists of ~100 element lists).
Would you consider 100^2 large?
Seems like 10,000 or even 100,000 should be a reasonable amount of data to test with.
well, 10000 elements * 100 tests (which I suspect is default) can make test run for a half a second, which isn't long time.
I suspect that doubling maxSize
(from default 100 to 200) would make test run take roughly 4 times the time.
Ok, I'll cut down the test sizes except for pushes. Thanks
The following has very poor performance
parse-it-test.prof.txt