Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#121] Improve sourceMap performance #137

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

BrentDouglas
Copy link
Contributor

Writes the files directly to a source map generator removing a bunch of intermediate steps performed when converting between nodes to a generator.

On my laptop this brings the concat step of my build down from ~6m to under 10s.

The current implementation does not seem to add mappings before filler lines (banner, separator and footer) in a consistent manner so this never adds a mapping for the filler text.

Writes the files directly to a source map generator removing a bunch of
intermediate steps performed when converting between nodes to a
generator.

On my laptop this brings the concat step of my build down from ~6m to
under 10s.

The current implementation does not seem to add mappings before filler
lines (banner, separator and footer) in a consistent manner so this
never adds a mapping for the filler text.
@danhooper
Copy link

This fix made a big performance improvement for me. +1

@dey-dey
Copy link

dey-dey commented Nov 30, 2015

@BrentDouglas nice work, tried it locally and it sped things up quite a bit. 👍

@dey-dey
Copy link

dey-dey commented Dec 4, 2015

@XhmikosR any ideas on when this can be merged? really speeds things up

@kld87
Copy link

kld87 commented Feb 11, 2016

+1 I'd also like to see this merged and a new release

vladikoff added a commit that referenced this pull request Feb 11, 2016
@vladikoff vladikoff merged commit b675d1c into gruntjs:master Feb 11, 2016
@vladikoff
Copy link
Member

👍

@BrentDouglas
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants