-
-
Notifications
You must be signed in to change notification settings - Fork 327
Description
Hi,
I have been using an older version of the minifier from Mid 2016 - most likely v1.3.36 (couldn't find a version no. in the sources). Since the js-minifier produced faulty code in a specific situation I had to update to a newer version - expecting better compatibility w/ newer php versions, too.
My product is a web-based smarthome visualization framework which often runs on Rapberry Pi. Testing in this environment first broke my pages completely. PHP timed out during CSS-minify so I had to increase max_execution_time to 45 seconds. Investigating the effects more closely I found that script execution time increases massively from 6.2 to 36.5 seconds working on 11 files with approx 250kB in total size. PHP version on the Raspi is v7.3. On a modern PC w/ PHP v8.0 the performance loss was still around 30%.
On the contrary, performance of js-minify has slightly improved with the new version.
I can send the CSS-files for testing, if needed.
Best regards
Wolfram