nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
713 stars 119 forks source link

Speed up Test.QuickCheck.Text.putTemp #357

Closed Bodigrim closed 1 year ago

Bodigrim commented 1 year ago

Test.QuickCheck.Text.putTemp is used a tight loop, updating progress after each test iteration. For a cheap property putTemp itself can contribute significantly to the execution time. The new implementation emits roughly twice less characters and thus makes this overhead slightly less pronounced.

@nick8325 it would be great if this can fit into the next release.

nick8325 commented 1 year ago

Thanks!