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

initial build (due to babel / jshint /HTMLBars) is slow #4645

Closed
stefanpenner opened this Issue Aug 10, 2015 · 8 comments

Comments

Projects
None yet
3 participants
@stefanpenner
Contributor

stefanpenner commented Aug 10, 2015

the focus has been large re-build time, as such the caches are lost between rebuilds.

To mitigate this I created https://github.com/stefanpenner/broccoli-persistent-filter work works quite well, but still needs windows support fixed.

In one of our large ember apps, this took the babel time down from (initial build) 60s -> 2-3s.

–––

Once we can persist this caches, we will likely make babel non-optional (yes with opt-out support for our CoffeeScript fans)

@stefanpenner

This comment has been minimized.

Show comment
Hide comment
@rwjblue

This comment has been minimized.

Show comment
Hide comment
@rwjblue

rwjblue Aug 24, 2015

Contributor

Submitted #4742 to update ember-cli-htmlbars@1.0.0.

Contributor

rwjblue commented Aug 24, 2015

Submitted #4742 to update ember-cli-htmlbars@1.0.0.

@rwjblue

This comment has been minimized.

Show comment
Hide comment
@rwjblue

rwjblue Aug 24, 2015

Contributor

broccoli-jshint and ember-cli-htmlbars sections of the above list are completed.

Contributor

rwjblue commented Aug 24, 2015

broccoli-jshint and ember-cli-htmlbars sections of the above list are completed.

@stefanpenner

This comment has been minimized.

Show comment
Hide comment
@stefanpenner

stefanpenner Aug 24, 2015

Contributor

I'll cut babel when I'm back to my desk :)

Contributor

stefanpenner commented Aug 24, 2015

I'll cut babel when I'm back to my desk :)

@stefanpenner

This comment has been minimized.

Show comment
Hide comment
@stefanpenner

stefanpenner Aug 24, 2015

Contributor

[initial warm] Build successful - 15090ms.
[rebuild] Build successful - 6830ms.

Turns out it helps quite a bit. 36,000ms -> 15,000ms on warm boots. On some apps, this can save minutes. on ember itself it went from 50,000ms -> 15,000ms.

Contributor

stefanpenner commented Aug 24, 2015

[initial warm] Build successful - 15090ms.
[rebuild] Build successful - 6830ms.

Turns out it helps quite a bit. 36,000ms -> 15,000ms on warm boots. On some apps, this can save minutes. on ember itself it went from 50,000ms -> 15,000ms.

@stefanpenner

This comment has been minimized.

Show comment
Hide comment
@stefanpenner

stefanpenner Aug 24, 2015

Contributor

This is available to all by ember-cli-htmlbars ember-cli-babel and ember-qunit.

Please note, the first build (cold build) will be as slow (slightly slower) then before. but resulting warm builds should be faster.

Contributor

stefanpenner commented Aug 24, 2015

This is available to all by ember-cli-htmlbars ember-cli-babel and ember-qunit.

Please note, the first build (cold build) will be as slow (slightly slower) then before. but resulting warm builds should be faster.

@kellyselden

This comment has been minimized.

Show comment
Hide comment
Member

kellyselden commented Aug 24, 2015

Awesome work @stefanpenner and @rwjblue

@stefanpenner

This comment has been minimized.

Show comment
Hide comment
@stefanpenner

stefanpenner Aug 24, 2015

Contributor

thanks @kellyselden for helping with the windows stuff!

Contributor

stefanpenner commented Aug 24, 2015

thanks @kellyselden for helping with the windows stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment