Conversation
472cb55 to
0b526bc
Compare
bin/uglifyjs
Outdated
| beautify : BEAUTIFY ? true : false, | ||
| max_line_len : 32000, | ||
| preamble : ARGS.preamble || null, | ||
| quote_style : ARGS.quotes != null ? ARGS.quotes : 0 |
- never exceed specified limit - otherwise warning is shown - enabled only for final output
28b178b to
3ec5dac
Compare
|
Tested this PR on top of #1485 with There was one crash with |
|
Edit: #1485 (391a25a) on Mac with with: Why do you suppose it takes longer to run with those flags? Wouldn't the time be dominated by the benchmarks running rather than uglify? |
- never exceed specified limit - otherwise warning is shown - enabled only for final output closes mishoo#1496
This and a few other corner cases are worth investigating through some form of profiling. I did something along those lines by modifying |
|
With my setup, even with |
What sort of timings do you get with the AST_Sequence PR? |
|
Much faster: |
|
master |
- never exceed specified limit - otherwise warning is shown - enabled only for final output closes mishoo#1496
Fixes #1494 (comment)
With the new warning message upon failure to trim lines properly, we should be able to detect any existing/future corner cases in the wild more easily from now on.
TODO: add tests for output and warning message