Open
Description
After PR #44, performance has degraded for large files with lots of violations.
Reproducer:
runhaskell test/GenerateViolations.hs 200000
FW=$(cabal list-bin fix-whitespace)
time $FW --check 200000-violations.txt 2> /dev/null
Takes 30sec on my machine. The released (0.0.11) finishes in a fraction of a second.
Proposed procedure:
- Try to fix the performance problem
- Guard error reporting under
--verbose
flag.