kristian / minify-xml

Fast XML minifier / compressor / uglifier with a command-line
Other
17 stars 5 forks source link

Strangely slow performance on files with long strings #14

Closed Syampuuh closed 2 years ago

Syampuuh commented 2 years ago

Despite speedy performance on other much larger files, minify-xml has been completely halting its work when trying to process files that, as far as I can tell as their common distinguishing factor anyway, have long strings within tags. This file took about 15 minutes to process: https://pastebin.com/G4fGQ9DB

This file was sitting for something like 40 minutes before I noticed the halted progress and cancelled it: https://pastebin.com/3XMpZciC

kristian commented 2 years ago

I just released v3.4.0 with 8345fbc which should fix your issue. Thanks for reporting!