grunt-contrib-concat icon indicating copy to clipboard operation
grunt-contrib-concat copied to clipboard

Sourcemap generation is slow

Open schmod opened this issue 10 years ago • 2 comments

Ever since #103 was merged, source map generation is extremely slow (from ~2sec to 30+sec).

While I mostly understand the rationale behind #103, the current solution creates a fairly extreme performance bottleneck, especially when considering that Uglify can process the concatenated file (with sourcemaps enabled) in a fraction of the time.

Does mozilla/source-map really not a have a preferred/optimized way to do a simple concatenation?

There's a fast-sourcemap-concat module, although it seems to do a line-by-line concatenation, which might not address the issues that were fixed in #103.

schmod avatar Mar 16 '15 18:03 schmod

Got it too :(

gonzoyumo avatar Mar 30 '15 16:03 gonzoyumo

Wow, since yesterday's release (1.0.0) the sourcemap generation is going a lot quicker. Thanks for your work on this!

bob-v-t avatar Feb 22 '16 13:02 bob-v-t