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

Build times (initial and subsequent) 2x-4x slower after 0.1.5 upgrade #2856

Closed
beerlington opened this issue Dec 30, 2014 · 103 comments
Closed
Assignees
Milestone

Comments

@beerlington
Copy link

I upgraded from 0.1.2 to 0.1.5 and am seeing a 2x initial build time slowdown and a 4x subsequent rebuild time slowdown. The initial build time is tolerable because it only happens once, but having to wait > 4x longer when saving changes is a bit tedious during development. I initially upgraded on a MacBook Air and thought it was a fluke, but I've since done is on a fairly beefy iMac and am seeing the same results.

I created a gist showing a comparison of 0.1.2 vs 0.1.5 build times, but here's a short summary of what I'm seeing:

0.1.2 rebuild

Build successful - 675ms.

Slowest Trees                  | Total          
-------------------------------+----------------
LessCompiler                   | 148ms          
ES6Concatenator                | 84ms           
ES3SafeFilter                  | 70ms           
JSHint - App                   | 65ms           
JSHint - Tests                 | 49ms           
TemplateCompiler               | 36ms 

0.1.5 rebuild

Build successful - 2951ms.

Slowest Trees                  | Total          
-------------------------------+----------------
LessCompiler                   | 1045ms         
Class                          | 333ms          
Class                          | 241ms          
Class                          | 205ms          
Funnel                         | 202ms 

I searched through the open and closed issues from the last month or so and don't see anything similar to what I'm seeing. I'm also using Ember 1.9 (not 1.8.1 which is what ember init suggests I use), so perhaps that version is not yet supported?

@rwjblue
Copy link
Member

rwjblue commented Dec 30, 2014

Can you share:

  • package.json (just deps and devDeps really)
  • bower.json (just deps and devDeps really)
  • Brocfile.js
  • Count & Size of JS files in app/
  • Count & Size of bower_components/
  • Any other random things that you think might be helpful...

@stefanpenner
Copy link
Contributor

Or even better make a OSS repo that demonstrates this

@beerlington
Copy link
Author

I'll see if I can create an open source project based on the one I'm referencing later today, but for now here's the info requested:

app/: 356 files, 1.5MB total
bower_components/: 2,453 files, 25MB total
public/: 62 files, 1.9MB

I can't think of anything else that might be related, but maybe something will come up if I can recreate it in an OSS project as @stefanpenner suggested.

package.json

  "devDependencies": {
    "broccoli-asset-rev": "^2.0.0",
    "ember-autoresize": "^0.2.5",
    "ember-cli": "^0.1.5",
    "ember-cli-async-button": "^0.3.0",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-esnext": "0.1.1",
    "ember-cli-google-analytics": "~1.1.0",
    "ember-cli-htmlbars": "^0.6.0",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-less": "^1.0.4",
    "ember-cli-moment": "0.0.1",
    "ember-cli-qunit": "0.1.2",
    "ember-cli-simple-auth": "^0.6.7",
    "ember-cli-simple-auth-oauth2": "^0.6.7",
    "ember-data": "^1.0.0-beta.11",
    "ember-data-route": "0.0.3",
    "ember-export-application-global": "^1.0.0",
    "ember-pikaday": "^0.1.0",
    "ember-validations": "^2.0.0-alpha.1",
    "express": "^4.8.5",
    "glob": "^4.0.5"
  },
  "dependencies": {
    "ember-responsive": "^1.0.0",
    "ember-velocity-mixin": "^0.2.0"
  }

bower.json

{
  "name": "myapp",
  "dependencies": {
    "handlebars": "2.0.0",
    "jquery": "^1.11.1",
    "ember": "~1.9.0",
    "ember-data": "1.0.0-beta.11",
    "ember-resolver": "~0.1.11",
    "loader.js": "stefanpenner/loader.js#1.0.1",
    "ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
    "ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2",
    "bootstrap": "~3.2.0",
    "video.js": "~4.8.5",
    "ember-simple-auth": "0.6.7",
    "ember-qunit": "0.1.8",
    "ember-qunit-notifications": "0.0.4",
    "qunit": "~1.15.0",
    "exifreader": "*",
    "pikaday": "~1.2.0",
    "momentjs": "~2.8.3",
    "emojione": "~1.2.4",
    "dom-ruler": "0.1.3",
    "jQuery-linkify": "~1.1.7",
    "FitText.js": "~1.2.0",
    "hammerjs": "~2.0.4",
    "hint.css": "~1.3.3",
    "jquery.inputmask": "~3.1.47",
    "masonry": "~3.2.1",
    "imagesloaded": "~3.1.8",
    "css-element-queries": "~0.0.2"
  },
  "resolutions": {
    "handlebars": "2.0.0"
  }
}

Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  lessOptions: {
    paths: [
      'bower_components/bootstrap/less',
      'bower_components/video.js/dist/video-js'
    ]
  },
  fingerprint: {
    exclude: ['images/avatars', '/images/logo-for-stripe.jpg'],
  }
});

// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

app.import('bower_components/bootstrap/dist/js/bootstrap.js');
app.import('bower_components/video.js/dist/video-js/video.js');
app.import('bower_components/exifreader/js/ExifReader.js');
app.import('bower_components/emojione/lib/js/emojione.js');
app.import('bower_components/jQuery-linkify/src/linkified.js');
app.import('bower_components/FitText.js/jquery.fittext.js');
app.import('bower_components/hammerjs/hammer.js');
app.import('bower_components/jquery.inputmask/dist/jquery.inputmask.bundle.js');
app.import('bower_components/masonry/dist/masonry.pkgd.js');
app.import('bower_components/imagesloaded/imagesloaded.js');
app.import('bower_components/css-element-queries/src/ResizeSensor.js');
app.import('bower_components/css-element-queries/src/ElementQueries.js');

app.import('bower_components/hint.css/hint.css');

module.exports = app.toTree();

@btecu
Copy link
Contributor

btecu commented Dec 30, 2014

Same thing happened to me, except I updated from 0.1.4. For some reason I thought maps would actually improve on built time.

@rwjblue
Copy link
Member

rwjblue commented Dec 30, 2014

@beerlington - Can you disable sourcemaps (add sourcemaps: { enabled: false } to the EmberApp instantiation in your Brocfile.js) and compare times?

@rwjblue
Copy link
Member

rwjblue commented Dec 30, 2014

@beerlington
Copy link
Author

@rwjblue disabling source maps doesn't seem to have any effect on the build time assuming I'm doing it right:

var app = new EmberApp({
  lessOptions: {
    paths: [
      'bower_components/bootstrap/less',
      'bower_components/video.js/dist/video-js'
    ]
  },
  fingerprint: {
    exclude: ['images/avatars', '/images/logo-for-stripe.jpg'],
  },
  sourcemaps: { enabled: false }
});

If I can find some time during lunch today, I'll post a project that demonstrates the issue. Thanks!

@stefanpenner
Copy link
Contributor

@ef4 you may have some insight

@beerlington
Copy link
Author

I created a test app that demonstrates what I'm seeing. All I did was pull over package.json, bower.json, and the Brocfile from my production app. Other than that it's just the default ember init with a new "hello" route.

I also added a branch with v0.1.2 that I used to verify the issue is something between those versions. On my MB Air I'm seeing close to a 8x-10x slowdown with this project (both initial and rebuilds).

@rwjblue
Copy link
Member

rwjblue commented Dec 30, 2014

@beerlington - Thanks for the repro app, I'll try to pull it down and take a look tomorrow.

@marcemira
Copy link

The same happened to me after upgrading from 0.1.4 to 0.1.5, rebuild times went from ~500ms to ~7s.. I was on a deadline so didn't had the time to report or check what was going on :/.

@stefanpenner
Copy link
Contributor

I'm pretty sure I know what's the problem. Need to do some exploration to confirm though.

@Restuta
Copy link

Restuta commented Jan 6, 2015

Same here, with 0.1.4 initial start (ember serve):

Build successful - 1053ms.

Slowest Trees                  | Total
-------------------------------+----------------
EsnextFilter                   | 203ms
SassCompiler                   | 153ms
EsnextFilter                   | 95ms
ES6Concatenator                | 83ms
JSHint - App                   | 69ms
ES3SafeFilter                  | 58ms
Concat                         | 58ms

and new line added to index.html

file changed index.html

Build successful - 237ms.

Slowest Trees                  | Total
-------------------------------+----------------
Concat                         | 18ms
JSHint - Tests                 | 16ms
SassCompiler                   | 15ms
SassCompiler                   | 15ms
TreeMerger (allTrees)          | 12ms

same with 0.1.5


Build successful - 3016ms.

Slowest Trees                  | Total
-------------------------------+----------------
Class                          | 1795ms
EsnextFilter                   | 282ms
SassCompiler                   | 157ms

and

Build successful - 467ms.

Slowest Trees                  | Total
-------------------------------+----------------
Class                          | 120ms
EsnextFilter                   | 33ms
Class                          | 25ms
Funnel                         | 25ms

Almost 100% perf penalty

@j15e
Copy link

j15e commented Jan 8, 2015

Same here, the first build time is not much worse, but each subsequent build is 3x slower than with previous version (0.1.2 for us).

@salzhrani
Copy link

same here :(

@stefanpenner
Copy link
Contributor

@ef4 got some time?

@e00dan
Copy link

e00dan commented Jan 13, 2015

Ember-cli@0.1.2 ~36000ms
Ember-cli@0.1.7 165370ms

@stefanpenner
Copy link
Contributor

@kuzirashi that is pretty useless feedback, please provide actionable information.

I suspect your app is quite large, and removing ember-cli-6to5 from package.json and disabling es3 safe will help your build.

We have plans to add more advanced caching to 6to5, as they hope to also improve its performance.

@stefanpenner
Copy link
Contributor

@ef4 I noticed that it seems more files in bower_components/vendor are being processed then expected.

@e00dan
Copy link

e00dan commented Jan 13, 2015

@stefanpenner
I removed "broccoli-sass": "^0.3.3" from devDependencies in package.json, installed "ember-cli-sass": "3.0.3" and now build time decreased from 165370ms to just 11800ms:

$ ember serve
version: 0.1.7
Livereload server on port 35729
Serving on http://0.0.0.0:4200/

Build successful - 12694ms.

Slowest Trees                  | Total          
-------------------------------+----------------
CoffeeScriptFilter             | 4652ms         
Concat: Vendor                 | 2772ms         
ES6Modules                     | 2427ms         

^C
$ ember serve
version: 0.1.7
Livereload server on port 35729
Serving on http://0.0.0.0:4200/

Build successful - 11800ms.

Slowest Trees                  | Total          
-------------------------------+----------------
CoffeeScriptFilter             | 4425ms         
Concat: Vendor                 | 2558ms         
ES6Modules                     | 2064ms

It's even faster than in ember-cli@0.1.2(~30k ms).

@stefanpenner
Copy link
Contributor

@kuzirashi whats your file count, and what is the time for incremental?

@e00dan
Copy link

e00dan commented Jan 13, 2015

@stefanpenner

$ git ls-files | wc -l
663

Application directory:

84757 files
size: 564,0 MB

I don't understand what time for incremental means.

@j15e
Copy link

j15e commented Jan 13, 2015

@kuzirashi incremental is when the app recompile partially after a file change (the subsequent builds after the first).

ember-cli-sass depends on brocolli-sass so I doubt this would change anything (I do not see any difference here)

@e00dan
Copy link

e00dan commented Jan 13, 2015

file changed controllers/application.coffee

Build successful - 2651ms.

Slowest Trees                  | Total          
-------------------------------+----------------
ES6Modules                     | 375ms          
Concat: Vendor                 | 349ms          
SassCompiler                   | 340ms          
Concat: App                    | 336ms          
Funnel: App JS Files           | 145ms          
SourcemapConcat                | 133ms

Ok, my app compiles now faster than ever before so I'm happy.

@stefanpenner
Copy link
Contributor

@kazirashi thanks, that looks reasonable. We did regress some performance when adding source-map support. We will hopefully sort that out soon.

@j15e
Copy link

j15e commented Jan 13, 2015

I have disabled source-map generation, but it does have any large impact performance, it is only shaving like 100ms over 1600ms during sequential builds (aka the major issue does not seems to be with the new source map default). A sequential build would take 500-600ms before with ember-cli 1.2.

https://gist.github.com/j15e/83275f0e91c24bf3f711

@stefanpenner
Copy link
Contributor

Instead of posting lots amount of code in this comment thread, please create a demo app demonstrating your stuff. As it is merely noisy and distracting from conversation.

@abobwhite
Copy link

@msalahz @stefanpenner I have some good news. I am now seeing initial builds around 15 seconds and rebuild via --watch taking about 10 seconds. Much improved! I did not see much of the "Common Issues" section before. Thank you both for pointing out what I should have been able to find myself. I did not have my source code directory under Indexing so that wasn't a problem. I use Avast (not Windows defender) so I added the /tmp file to its exclude list. I also am now running my command prompt as administrator.

While 10 seconds is still fairly long, it's something I can work with for now. I'm excited to hear about other performance improvements currently in the pipeline.

Here are my latest build stats for a nearly empty app with a handful of vendor files:

Build successful - 9571ms.

Slowest Trees                  | Total
-------------------------------+----------------
Funnel: App JS Files           | 1224ms
Concat: Vendor                 | 1022ms
Funnel: index.html             | 633ms
TreeMerger (appAndDependencies) | 607ms
TreeMerger (vendor)            | 586ms
ES6Modules                     | 554ms

@msalahz
Copy link

msalahz commented Feb 11, 2015

Hello @abobwhite , I'm glad to be able to help. I would like to also point you out to webstorm section in ember website in case you didn't notice it. I also added other paths to my windows defender exclude list as shown below
ashampoo_snap_2015 02 11_10h03m33s_002_settings panel

Here is my initial build with ember serve

Build successful - 6149ms.

Slowest Trees                  | Total
-------------------------------+----------------
Funnel: App JS Files           | 666ms
Concat: Vendor                 | 578ms
SixToFive                      | 503ms
ES3SafeFilter                  | 451ms
Concat: Test Support JS        | 426ms
SourcemapConcat                | 425ms
SourcemapConcat                | 412ms
JSHint app- QUnit              | 346ms
ES6Modules                     | 308ms

and incremental build

Build successful - 5169ms.

Slowest Trees                  | Total
-------------------------------+----------------
Concat: Vendor                 | 621ms
Funnel: App JS Files           | 581ms
SourcemapConcat                | 436ms
Concat: Test Support JS        | 432ms
SourcemapConcat                | 420ms
ES6Modules                     | 333ms
TreeMerger (vendor)            | 314ms

@stefanpenner, @raytiley , I look forward to enhance my build time and I would love to have suggestions if there are any ?

@stefanpenner
Copy link
Contributor

@msalahz I am unsure if their is something you can do today, other then attempting to boot tmp in a ramdisk. That being said, 0.1.13 should help again, how much i am not quite sure, but it should be in proportion to the number of add-ons you have.

stuff that is on-going (or hopefully soon to be on-going) right now.

  • broccoli refactor that does more static analysis on the build-pipeline, and thus can mitigate many internal steps based on some obvious but not yet utilized heuristics
  • broccoli refactor that will move the tmp dir to the system tmp dir.
  • ember-cli pipeline refactor, to reduce the internal steps we take to build your app.
  • future: broccoli fast-boot
  • future: utilize hardlinks on windows (requires broccoli re-adjustment)

@rwjblue do you have more to share?

@msalahz
Copy link

msalahz commented Feb 11, 2015

Thank you @stefanpenner, I will update to 0.1.13 and post the result here and I hope I can provide good news.

@stefanpenner
Copy link
Contributor

Please keep this on topic. The last to comments are really not.

@msalahz
Copy link

msalahz commented Feb 11, 2015

I moved my instillation problem details to issue#3266

@msalahz
Copy link

msalahz commented Feb 12, 2015

Hello @stefanpenner , @abobwhite , Today I managed to get ember-cli v0.1.15 installed and after updating my project I notice better build times (especially in incremental build) comparing to my previous build times and as following is my current build time :

Here is my initial build with ember serve (previous build time was 6149ms)

Build successful - 5798ms.

Slowest Trees                  | Total
-------------------------------+----------------
Funnel: App JS Files           | 751ms
SixToFive                      | 586ms
Concat: Vendor                 | 535ms
ES3SafeFilter                  | 513ms
Concat: Test Support JS        | 442ms
SourcemapConcat                | 408ms
SourcemapConcat                | 391ms
JSHint app- QUnit              | 338ms

and incremental build

Build successful - 4349ms. (previous build time was 5169ms)

Slowest Trees                  | Total
-------------------------------+----------------
Funnel: App JS Files           | 659ms
Concat: Vendor                 | 480ms
Concat: Test Support JS        | 403ms
SourcemapConcat                | 395ms
SourcemapConcat                | 390ms

Thank you and look forward to more enhancements in future releases.

@abobwhite
Copy link

@msalahz Thanks. I've upgraded as well but I'm not seeing much of a difference at all in builds times.

@msalahz
Copy link

msalahz commented Feb 14, 2015

Yes @abobwhite , I also didn't have much of a difference in builds times on my office laptop(Note: The build times i shared was from my personal laptop), and this was very weird because i tried with the same project and the exact same code, and I also have the same development environment and the only defiance was that my personal laptop processor is Core i7 and my office laptop is Core i5.
Look forward to the stuff that is on-going mentioned by @stefanpenner and after all there are always hope.

@msalahz
Copy link

msalahz commented Feb 17, 2015

Hey Guys, I upgraded to ember-cli v0.2.0-beta.1 and my build times are very close to v0.1.15 with around 200 ms faster build times.

@stefanpenner
Copy link
Contributor

Im currently investigating this, I have found several things. The most prominent is addon.css is invalidating, causing the less compiler to rebuild.

I'll keep you all posted as I have time and make progress.

@msalahz
Copy link

msalahz commented Feb 21, 2015

Thank you @stefanpenner , Yesterday I found out an issue on my project structure which I think it was the main reason behind my bad build times. I found the issue when I needed a jQuery plugin which doesn't have bower package or wrapped in an ember-cli addon so as usual I downloading the repo from Github and add it in vendor folder and after that I found my incremental build time increasing to around 17 seconds so I did the following :
1- I cleared all unused files in the new rebo I added.
2- I had another repo under vendor so I did the same and kept only what I'm using from it.
3- I went through all my bower packages and cleared them.

and now my build times are as following :
Here is my initial build with ember serve (previous build time was 5798ms)

Build successful - 5126ms.

Slowest Trees                  | Total
-------------------------------+----------------
SixToFive                      | 734ms
ES3SafeFilter                  | 733ms
JSHint app- QUnit              | 527ms
ES6: App Tree                  | 387ms
Funnel: App JS Files           | 333ms
Concat: Vendor                 | 281ms

and incremental build (previous build time was 4349ms)

Build successful - 3229ms.

Slowest Trees                  | Total
-------------------------------+----------------
TreeMerger (appAndDependencies) | 383ms
Funnel: App JS Files           | 365ms
TreeMerger (vendor)            | 301ms
ES6: App Tree                  | 273ms
Concat: Vendor                 | 187ms

@abobwhite , I hope this help you.
@stefanpenner , Please let me know if there are any best practices we can follow with adding third-party libraries to our ember-cli projects ?

@bakura10
Copy link

Hi,

I can confirm too that my build time is eaten at 90% by the "Concat: Vendor". Interestingly, I also have a third-party dependency that is not available through Bower (and copied directly into the vendor directory). Furthermore, there must be a memory leak somewhere, because the longer I use it, the longer build times take (taking 1s for the first few incremental build - which is already very long compared to what I have before -), to up to 10s for the same project after a few dozen of minutes of use.

If I remove my vendor dependency, build times are basically divided by 5 or 6.

@stefanpenner
Copy link
Contributor

@bakura10 ya, I isolated a big issue related to this late last week. Hoping to fix early this week.

@msalahz
Copy link

msalahz commented Mar 11, 2015

Great news Windows users : The Microsoft DX Open Source team built a small tool that makes the configuration of Windows for Ember Cli projects a lot easier.
PR: #3507
Repo: https://github.com/felixrieseberg/ember-cli-windows
Post: http://www.felixrieseberg.com/improved-ember-cli-performance-with-windows/

@simonihmig
Copy link
Contributor

Did my own tests for optimizing build times, that I want to share here...

My setup:
Quite large app, I unfortunately cannot share.
OSX 10.10
ember-cli 0.2.3
Vagrant box, sharing whole project folder via NFS (ember-cli is still running on the host machine!)

I played around, disabling this and that, and my findings are:

  • normal incremental build times were around 5.5s
  • shutting down the vagrant box build times to 4s - 5.5s
  • disabling babel improved build times to ~4.3s
  • adding ember-cli-ramdisk improved build times to ~3,5s
  • combining all the above did not have any substantial additional effects, build times still ~3.5s
  • adding ember-cli-ramdisk has the pleasant side effect, that a running vagrant box sharing the project folder does not seem to impose a performance penalty anymore, as the symlinked tmp folder is not accessible anymore from within the VM, probably reducing the syncing overhead
  • still on every build a less compiler run was present. This is probably related to Unnecessary reprocessing of styles #3903. Disabling ember-cli-less reduced build times substantially to ~2.5s. But this is obviously no option...

@stefanpenner
Copy link
Contributor

There is an invalidation during the Concat phase that causes stuff like less to rerun. I've been swamped but I hope to kill that invalidation soon.

@lnmunhoz
Copy link

I tried to create a simple machine in this repository. It is using ember 0.2.0 because when I tried to use the lastest version, the process was killed (I don't know why). But the build times are 2.5s more slowers than when running on host machine.
Maybe this can help us to create a standard machine to work with ember-cli projects.

@brandonweiss
Copy link

I just wanted to add on—I work at Intercom and we have a rather large Ember app. We're still stuck on 0.1.2 because of this issue. Our builds are already incredibly slow. Initial builds take ~40s and rebuilds take ~4s. That's with Babel removed. Every time a new version comes out we try it, but build times went off a cliff after 0.1.2, so we can't upgrade.

Files

app/: 1,860 files, 8.5MB total
bower_components/: 1,060 files, 21MB total
node_modules/: 32,474 files, 313MB total

Initial build

Build successful - 42627ms.

Slowest Trees                  | Total          
-------------------------------+----------------
ES6Concatenator                | 22529ms        
JSHint - App                   | 9713ms         
JSHint - Tests                 | 3730ms         
TemplateCompiler               | 2579ms         

Rebuild

Build successful - 4050ms.

Slowest Trees                  | Total          
-------------------------------+----------------
ES6Concatenator                | 903ms          
JSHint - App                   | 689ms          
TemplateCompiler               | 403ms          
Concat                         | 342ms          
Funnel                         | 271ms          
TreeMerger (appAndDependencies) | 240ms          

@stefanpenner
Copy link
Contributor

I believe the performance is on the way to being able to its original speediness.

#4460 (comment) outlines some recent improvements that will come out with the next release.

If someone can provide

I created a test app that demonstrates what I'm seeing. All I did was pull over package.json, bower.json, and the Brocfile from my production app. Other than that it's just the default ember init with a new "hello" route.

I also added a branch with v0.1.2 that I used to verify the issue is something between those versions. On my MB Air I'm seeing close to a 8x-10x slowdown with this project (both initial and rebuilds).

Next release of ember-cli should feel a lot better. read this for more context

Although not where I want it yet, we are getting much closer. Expect these numbers to continue to improve over the next little bit.

incremental build post those changes on @beerlington's example app.

Build successful - 536ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
Concat: Vendor                                | 82ms
LessCompiler                                  | 47ms
Babel                                         | 31ms
TreeMerger (vendor)                           | 29ms
TreeMerger (vendor & appJS)                   | 29ms
TreeMerger (appAndDependencies)               | 29ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
Concat: Vendor (1)                            | 82ms
BroccoliMergeTrees (134)                      | 54ms (0 ms)
LessCompiler (1)                              | 47ms
Babel (4)                                     | 46ms (11 ms)
Funnel (47)                                   | 44ms (0 ms)
TreeMerger (vendor) (1)                       | 29ms
TreeMerger (vendor & appJS) (1)               | 29ms
TreeMerger (appAndDependencies) (1)           | 29ms

@stefanpenner
Copy link
Contributor

@wayne-o your app doesn't appear public anymore, i would love to take the example for a spin and see what other scenarios I need to append to my performance attack plan. Let me know if that is still an option.

@stefanpenner
Copy link
Contributor

Please note: some common compilers, like ember-cli-sass, less and likely others haven't yet been fixed. I'll slowly attempting to improve them over the next little bit.

@stefanpenner stefanpenner added verified and removed bug labels Aug 8, 2015
@stefanpenner stefanpenner added this to the v1.13.8 milestone Aug 8, 2015
@stefanpenner stefanpenner assigned stefanpenner and unassigned rwjblue Aug 8, 2015
@stefanpenner
Copy link
Contributor

v1.13.8 now includes the fixes that bring @beerlington's example app back up to reasonable speed.

There is more performance work outstanding, but the issue the original reporter described here should be addressed.

some more focused perf related tracking issues i have opened:

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

No branches or pull requests