Skip to content

Very slow processing for minified files #321

@puzrin

Description

@puzrin

Sometime it's difficut to guarantee, that uglifier will not receive minified file on input. The difference is huge, 40x times. Is it possibe to speedup processing of minified files?

Here is exampe with tinymce source (900k full, 280k minified):

$ time uglifyjs tinymce.js -c -m > full.js
WARN: Dropping unused function defined [tinymce.js:48,10]

real    0m6.881s
user    0m6.784s
sys 0m0.116s

$ time uglifyjs tinymce.min.js -c -m > minified.js 
WARN: Dropping unused function i [tinymce.min.js:2,508]

real    4m25.134s
user    4m26.461s
sys 0m0.740s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions