akanix42 / meteor-css-modules

MIT License
92 stars 19 forks source link

Slow rebuild times #53

Closed priezz closed 7 years ago

priezz commented 8 years ago

Hi there!

I have package version 2.1.0 together with Meteor 1.4-beta.7. Even when having no preprocessor nor plugins used, the rebuild times varies in the range 25-40 seconds when changing client side files. The package.json:

  ...

  "cssModules": {
    "enableSassCompilation": false,
    "enableStylusCompilation": false,
    "extensions": [
      "sss"
    ],
    "ignorePaths": [ "node_modules" ],
    "postcssPlugins": {
    }
  }

The Meteor profiler output:

...
|    │     │  ├─ plugin nathantreid:css-modules                40,466 ms (1)
...

I have just 9 *.sss files within the project - all with fully commented code:

/*
  styles definitions
*/

So there is really nothing to be processed at every rebuild.

When removing the package form the project with meteor remove nathantreid:css-modules, the rebuild time is reduced to 6-9 seconds.

akanix42 commented 8 years ago

Yikes, that's a long time! I'm not sure if that's my plugin or something with the beta, but I'll take a look.

davidwoody commented 8 years ago

@priezz @nathantreid We're seeing similarly slow build times being reported by the Meteor profiler on one of our projects as well.

vinnyjth commented 8 years ago

@priezz What are the rough specs of the computer you are using? I'm not having major issues with a project that utilizes this package (I'm using a newer Macbook Pro with 16GB RAM), but one of my co-workers is using an older MacBook Air with 4GB of RAM and has pretty significant slowdowns when building the same project.

I'm trying to find some sort of pattern or additional info to narrow down what the problem is.

priezz commented 8 years ago

MacBook Air mid 2012 core i7 2.0GHz, 8Gb RAM, SSD

20 июля 2016 г. 21:39 пользователь Vincent Wilson notifications@github.com написал:

@priezz What are the rough specs of the computer you are using? I'm not having major issues with a project that utilizes this package (I'm using a newer Macbook Pro with 16GB RAM), but one of my co-workers is using an older MacBook Air with 4GB of RAM and has pretty significant slowdowns when building the same project.

I'm trying to find some sort of pattern or additional info to narrow down what the problem is.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

clayne11 commented 8 years ago

There's a problem in Meteor 1.4 with PostCSS.

Tracking in https://github.com/meteor/meteor/issues/7493 and https://github.com/juliancwirko/meteor-postcss/issues/22.

For now you basically have to use Meteor 1.3 until this gets ironed out.

akanix42 commented 8 years ago

From reading this issue and meteor/meteor#7493 I think there may be multiple issues going on.

I'm using a test version of my React Toolbox example and not noticing any problems with 1.4 (I use this one since it has to compile all of the React Toolbox sass, which is 67 files). The css modules build portion takes about 24 seconds on the first build after making an update to the plugin code and 6.5 seconds on subsequent builds (stop and relaunch meteor). This is on my Windows PC, i7 2.3GHZ, 24GB RAM, SSD. I'll test it out on a Mac tomorrow.

|    │     │  └─ plugin nathantreid:css-modules                23,846 ms (1)
...
|    │     │  └─ plugin nathantreid:css-modules                 6,519 ms (1)

If you could checkout and run the test branch, that would give us a starting comparison. This branch is using nathantreid:css-modules@2.2.1-issue53.1, which has some additional profiling enabled. If you want enable profiling for you own app, update your package.json::

"cssModules": {
  "enableProfiling": true
}

This will output additional timing details:

   Processing files with ecmascript (for...  /
prep complete in 2ms
scss compilation complete in 818ms
stylus compilation complete in 2ms
passthrough processing complete in 2ms
css modules compilation complete in 5772ms.  \
compilation complete in 6599ms

Can you also post your package.json including dependencies / devDependencies? Perhaps a lot of time is being spent on checking npm packages.

On a side note, one thing that will definitely eventually improve the performance, at least for changes, is caching. Unfortunately I currently have caching disabled as it didn't work right (#15) when I implemented it and I haven't gone back to it fix yet. Hopefully I'll get to that soon.

vinnyjth commented 8 years ago

package.json contents.

"dependencies": {
    "alt": "0.17.3",
    "meteor-node-stubs": "0.2.3",
    "moment": "2.14.1",
    "mssql": "3.3.0",
    "normalize.css": "4.2.0",
    "react": "15.2.1",
    "react-addons-css-transition-group": "15.2.1",
    "react-addons-pure-render-mixin": "15.2.1",
    "react-color": "2.2.0",
    "react-dnd": "2.1.4",
    "react-dnd-html5-backend": "2.1.0",
    "react-dom": "15.2.1",
    "react-flexgrid": "0.7.0",
    "react-quill": "0.4.1",
    "react-redux": "4.4.5",
    "react-router": "2.5.2",
    "react-router-redux": "4.0.5",
    "react-router-scroll": "0.2.0",
    "react-toolbox": "1.0.2",
    "redux": "3.5.2",
    "redux-thunk": "2.1.0",
    "uuid": "2.0.2"
  },
  "devDependencies": {
    "babel-plugin-transform-class-properties": "6.10.2",
    "babel-plugin-transform-decorators-legacy": "1.3.4",
    "node-sass": "3.8.0"
  },

meteor versions file.

accounts-base@1.2.9
accounts-password@1.2.12
alanning:roles@1.2.15
allow-deny@1.0.5
autoupdate@1.3.11
babel-compiler@6.9.0
babel-runtime@0.1.10
base64@1.0.9
binary-heap@1.0.9
blaze@2.1.8
blaze-html-templates@1.0.4
blaze-tools@1.0.9
boilerplate-generator@1.0.9
caching-compiler@1.1.6
caching-html-compiler@1.0.6
callback-hook@1.0.9
check@1.2.3
ddp@1.2.5
ddp-client@1.3.0
ddp-common@1.2.6
ddp-rate-limiter@1.0.5
ddp-server@1.3.9
deps@1.0.12
di@0.0.1
diff-sequence@1.0.6
ecmascript@0.5.7
ecmascript-runtime@0.3.12
ejson@1.0.12
email@1.1.16
fastclick@1.0.12
geojson-utils@1.0.9
hot-code-push@1.0.4
html-tools@1.0.10
htmljs@1.0.10
http@1.2.8
id-map@1.0.8
jagi:astronomy@1.2.11
jagi:astronomy-slug-behavior@1.3.1
jagi:astronomy-timestamp-behavior@1.1.0
jagi:astronomy-validators@1.1.2
jagi:reactive-map@2.0.0
jquery@1.11.9
launch-screen@1.0.12
livedata@1.0.18
localstorage@1.0.11
logging@1.1.14
meteor@1.2.16
meteor-base@1.0.4
meteorhacks:kadira@2.30.0
meteorhacks:meteorx@1.4.1
minifier-css@1.2.13
minifier-js@1.2.13
minimongo@1.0.17
mobile-experience@1.0.4
mobile-status-bar@1.0.12
modules@0.7.5
modules-runtime@0.7.5
mongo@1.1.10
mongo-id@1.0.5
mongo-livedata@1.0.12
nathantreid:css-modules@2.1.1
nathantreid:css-modules-import-path-helpers@0.1.3
npm-bcrypt@0.8.7
npm-mongo@1.5.45
observe-sequence@1.0.12
ordered-dict@1.0.8
percolate:migrations@0.9.8
promise@0.8.3
raix:eventemitter@0.1.3
raix:eventstate@0.0.4
raix:push@3.0.2
ramda:ramda@0.19.0
random@1.0.10
rate-limit@1.0.5
react-meteor-data@0.2.9
reactive-dict@1.1.8
reactive-var@1.0.10
reload@1.1.10
retry@1.0.8
routepolicy@1.0.11
service-configuration@1.0.10
session@1.1.6
sha@1.0.8
spacebars@1.0.12
spacebars-compiler@1.0.12
srp@1.0.9
standard-minifier-css@1.1.8
standard-minifier-js@1.1.8
standard-minifiers@1.0.6
templating@1.2.13
templating-tools@1.0.4
tmeasday:check-npm-versions@0.3.1
tmeasday:publish-counts@0.7.3
tracker@1.1.0
ui@1.0.11
underscore@1.0.9
url@1.0.10
webapp@1.3.10
webapp-hashing@1.0.9
wylio:mandrill@1.0.1
prep complete in 4ms
scss compilation complete in 1760ms
stylus compilation complete in 3ms
passthrough processing complete in 0ms
css modules compilation complete in 3419ms.  /
compilation complete in 5187ms

EDIT: Computer specs:

2015 Macbook Pro 15" 
Processor Name: Intel Core i7
Processor Speed:    2.2 GHz
Number of Processors:   1
Total Number of Cores:  4
Memory: 16 GB
Space: 250 GB SDD
davidwoody commented 8 years ago

I'm on a MacBook Pro (15-inch, Late 2013, 16GB).

Here's the meteor profiler output.

| (#2) Profiling: Build App
|  Building the application                  -
| bundler.readJsImage...........................................6,325 ms (6)
| ├─ files.readFile                                               732 ms (201)
| ├─ meteorNpm.rebuildIfNonPortable.............................5,476 ms (53)
| │  ├─ files.readdir                                              68 ms (70)
| │  ├─ files.lstat                                             1,319 ms (953)
| │  ├─ files.stat                                                 42 ms (775)
| │  ├─ files.readFile                                          3,444 ms (758)
| │  └─ other meteorNpm.rebuildIfNonPortable                      602 ms
| └─ other bundler.readJsImage                                    117 ms
| JsImage#load..................................................1,526 ms (1)
| ├─ runJavaScript packages/underscore.js                          33 ms (1)
| ├─ runJavaScript packages/meteor.js                              42 ms (1)
| ├─ runJavaScript packages/modules-runtime.js                     13 ms (1)
| ├─ runJavaScript packages/modules.js                             16 ms (1)
| ├─ runJavaScript packages/base64.js                               3 ms (1)
| ├─ runJavaScript packages/ejson.js                               11 ms (1)
| ├─ runJavaScript packages/check.js                               12 ms (1)
| ├─ runJavaScript packages/promise.js                             21 ms (1)
| ├─ runJavaScript packages/ecmascript-runtime.js                 297 ms (1)
| ├─ runJavaScript packages/babel-compiler.js                     931 ms (1)
| ├─ runJavaScript packages/ecmascript.js                           3 ms (1)
| ├─ runJavaScript packages/babel-runtime.js                       33 ms (1)
| ├─ runJavaScript packages/random.js                              33 ms (1)
| ├─ runJavaScript packages/tracker.js                             13 ms (1)
| ├─ runJavaScript packages/retry.js                                3 ms (1)
| ├─ runJavaScript packages/id-map.js                               2 ms (1)
| ├─ runJavaScript packages/ddp-common.js                           7 ms (1)
| ├─ runJavaScript packages/diff-sequence.js                        4 ms (1)
| ├─ runJavaScript packages/mongo-id.js                             3 ms (1)
| ├─ runJavaScript packages/ddp-client.js                          46 ms (1)
| └─ other JsImage#load                                             1 ms
| files.stat                                                        0 ms (3)
| files.readFile                                                  118 ms (19)
| files.readdir                                                 3,369 ms (2766)
| files.lstat                                                  37,495 ms (29876)
| files.chmod                                                  33,147 ms (26807)
| files.rename                                                      4 ms (10)
| files.rmdir                                                       7 ms (5)
| files.realpath                                                   36 ms (5)
| Isopack.readMetadataFromDirectory................................23 ms (5)
| └─ files.readFile                                                22 ms (5)
| Isopack#architectures                                             8 ms (5)
| files.open                                                        5 ms (6)
| files.read                                                        4 ms (6)
| files.close                                                       5 ms (6)
| Isopack#saveToPath..........................................154,373 ms (5)
| ├─ files.rm_recursive                                             7 ms (5)
| ├─ files.stat                                                     1 ms (15)
| ├─ files.mkdir                                                   24 ms (25)
| ├─ Builder#write.................................................36 ms (11)
| │  ├─ files.writeFile                                            33 ms (11)
| │  ├─ files.rename                                                1 ms (11)
| │  └─ other Builder#write                                         2 ms
| ├─ files.writeFile                                               96 ms (36)
| ├─ files.rename                                                   4 ms (36)
| ├─ JsImage#write............................................154,155 ms (5)
| │  ├─ files.mkdir                                                 5 ms (5)
| │  ├─ Builder#write.............................................491 ms (159)
| │  │  ├─ Builder#_ensureDirectory                                 3 ms (159)
| │  │  ├─ sha1                                                    21 ms (159)
| │  │  ├─ files.writeFile                                        424 ms (159)
| │  │  ├─ files.rename                                            19 ms (159)
| │  │  └─ other Builder#write                                     24 ms
| │  ├─ files.lstat                                                47 ms (45)
| │  ├─ files.stat                                                  5 ms (45)
| │  ├─ files.readdir                                              74 ms (45)
| │  ├─ files.readFile                                          2,138 ms (632)
| │  ├─ Builder#copyDirectory.................................150,994 ms (45)
| │  │  ├─ Builder#_ensureDirectory.............................3,762 ms (2659)
| │  │  │  ├─ files.mkdir                                       3,330 ms (2719)
| │  │  │  └─ other Builder#_ensureDirectory                      432 ms
| │  │  ├─ files.readdir                                        3,546 ms (2659)
| │  │  ├─ files.copyFile.....................................101,178 ms (26807)
| │  │  │  ├─ files.stat                                          113 ms (2541)
| │  │  │  └─ other files.copyFile                            101,065 ms
| │  │  ├─ files.lstat                                         35,757 ms (28692)
| │  │  ├─ files.readlink                                          88 ms (69)
| │  │  ├─ files.symlink                                           80 ms (69)
| │  │  └─ other Builder#copyDirectory                          6,582 ms
| │  ├─ files.writeFile                                            19 ms (5)
| │  └─ other JsImage#write                                       382 ms
| ├─ Builder#complete...............................................2 ms (5)
| │  └─ files.renameDirAlmostAtomically                             1 ms (5)
| └─ other Isopack#saveToPath                                      47 ms
| files.symlink                                                     1 ms (5)
| files.rm_recursive                                           12,324 ms (5)
| files.writeFileAtomically....................................57,832 ms (93)
| ├─ files.writeFile                                           57,810 ms (93)
| ├─ files.rename                                                  12 ms (93)
| └─ other files.writeFileAtomically                               10 ms
| Build App...................................................358,120 ms (1)
| └─ files.withCache..........................................358,120 ms (1)
|    ├─ initFromAppDir                                              2 ms (1)
|    ├─ compiler.compile(the app).............................159,855 ms (1)
|    │  └─ files.withCache....................................159,854 ms (2)
|    │     └─ compileUnibuild (the app).......................159,854 ms (2)
|    │        ├─ Isopack#getUnibuildAtArch                          7 ms (126)
|    │        ├─ Isopack#ensurePluginsInitialized...............5,517 ms (32)
|    │        │  ├─ JsImage#load................................5,379 ms (6)
|    │        │  │  ├─ runJavaScript packages/underscore.js       205 ms (6)
|    │        │  │  ├─ runJavaScript packages/meteor.js...........270 ms (6)
|    │        │  │  │  ├─ files.stat                                3 ms (36)
|    │        │  │  │  └─ other runJavaScript packages/meteor.js  267 ms
|    │        │  │  ├─ runJavaScript packages/modules-runtime.js   29 ms (3)
|    │        │  │  ├─ runJavaScript packages/modules.js           50 ms (3)
|    │        │  │  ├─ runJavaScript packages/promise.js           63 ms (3)
|    │        │  │  ├─ runJavaScript packages/ecmascript-runtime.js 768 ms (3)
|    │        │  │  ├─ runJavaScript packages/babel-compiler.js 2,510 ms (3)
|    │        │  │  ├─ runJavaScript packages/compile-ecmascript_plugin.js 1 ms (1)
|    │        │  │  ├─ runJavaScript packages/base64.js             5 ms (1)
|    │        │  │  ├─ runJavaScript packages/ejson.js             22 ms (1)
|    │        │  │  ├─ runJavaScript packages/check.js             13 ms (1)
|    │        │  │  ├─ runJavaScript packages/configuration_plugin.js 10 ms (1)
|    │        │  │  ├─ runJavaScript packages/ecmascript.js         4 ms (2)
|    │        │  │  ├─ runJavaScript packages/babel-runtime.js     59 ms (2)
|    │        │  │  ├─ runJavaScript packages/random.js            39 ms (2)
|    │        │  │  ├─ runJavaScript packages/caching-compiler.js..97 ms (2)
|    │        │  │  │  ├─ files.stat                                1 ms (20)
|    │        │  │  │  └─ other runJavaScript packages/caching-compiler.js 96 ms
|    │        │  │  ├─ runJavaScript packages/nathantreid_css-modules-import-path-helpers.js 63 ms (1)
|    │        │  │  ├─ runJavaScript packages/ramda_ramda.js      177 ms (1)
|    │        │  │  ├─ runJavaScript packages/mss_plugin.js.......456 ms (1)
|    │        │  │  │  ├─ files.stat                                4 ms (35)
|    │        │  │  │  └─ other runJavaScript packages/mss_plugin.js 453 ms
|    │        │  │  ├─ runJavaScript packages/minifier-css.js      57 ms (1)
|    │        │  │  ├─ runJavaScript packages/minifyStdCSS_plugin.js 22 ms (1)
|    │        │  │  ├─ runJavaScript packages/minifier-js.js      236 ms (2)
|    │        │  │  ├─ runJavaScript packages/minifyStdJS_plugin.js 2 ms (1)
|    │        │  │  ├─ runJavaScript packages/tracker.js           13 ms (1)
|    │        │  │  ├─ runJavaScript packages/htmljs.js            24 ms (1)
|    │        │  │  ├─ runJavaScript packages/html-tools.js        95 ms (1)
|    │        │  │  ├─ runJavaScript packages/blaze-tools.js       11 ms (1)
|    │        │  │  ├─ runJavaScript packages/spacebars-compiler.js 28 ms (1)
|    │        │  │  ├─ runJavaScript packages/templating-tools.js  33 ms (1)
|    │        │  │  ├─ runJavaScript packages/caching-html-compiler.js 12 ms (1)
|    │        │  │  ├─ runJavaScript packages/compileTemplatesBatch_plugin.js 2 ms (1)
|    │        │  │  └─ other JsImage#load                           4 ms
|    │        │  └─ other Isopack#ensurePluginsInitialized        138 ms
|    │        ├─ files.withCache...............................16,753 ms (2)
|    │        │  ├─ files.realpath                              5,364 ms (3440)
|    │        │  ├─ files.readdir                               6,835 ms (6880)
|    │        │  ├─ files.stat                                    779 ms (16352)
|    │        │  └─ other files.withCache                       3,775 ms
|    │        ├─ files.readdir                                  2,152 ms (2159)
|    │        ├─ files.realpath                                     5 ms (7)
|    │        ├─ files.stat                                       457 ms (1967)
|    │        ├─ files.readFile                                 1,608 ms (1563)
|    │        ├─ sha1                                              25 ms (825)
|    │        ├─ files.lstat                                   29,953 ms (34579)
|    │        └─ other compileUnibuild (the app)              103,376 ms
|    ├─ compiler.lint(the app)......................................7 ms (1)
|    │  ├─ Isopack#getUnibuildAtArch                                3 ms (126)
|    │  └─ other compiler.lint(the app)                             3 ms
|    ├─ Isopack#getUnibuildAtArch                                   3 ms (126)
|    ├─ bundler.bundle..makeClientTarget......................116,586 ms (1)
|    │  └─ Target#make........................................116,586 ms (1)
|    │     ├─ Isopack#getUnibuildAtArch                            17 ms (843)
|    │     ├─ Target#_runCompilerPlugins.......................37,853 ms (1)
|    │     │  ├─ files.realpath                                   120 ms (78)
|    │     │  ├─ Isopack#ensurePluginsInitialized                   2 ms (175)
|    │     │  ├─ sha1                                               7 ms (225)
|    │     │  ├─ Isopack#getUnibuildAtArch                         15 ms (817)
|    │     │  ├─ plugin ecmascript.............................28,175 ms (1)
|    │     │  │  ├─ files.stat                                     77 ms (954)
|    │     │  │  ├─ Babel.compile                              24,720 ms (283)
|    │     │  │  ├─ sha1                                           10 ms (290)
|    │     │  │  ├─ files.readFile                                 35 ms (1)
|    │     │  │  ├─ Resolver#resolve..............................461 ms (1320)
|    │     │  │  │  ├─ Resolver#_resolveAbsolute                    1 ms (408)
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................353 ms (408)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................292 ms (2442)
|    │     │  │  │  │  │  ├─ files.stat                           190 ms (3084)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          103 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        61 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain................66 ms (272)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson....................33 ms (272)
|    │     │  │  │  │  │  ├─ files.readFile                        30 ms (4)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson            2 ms
|    │     │  │  │  │  ├─ Resolver#_joinAndStat                     5 ms (204)
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       28 ms
|    │     │  │  │  └─ other Resolver#resolve                      39 ms
|    │     │  │  └─ other plugin ecmascript                     2,872 ms
|    │     │  ├─ plugin templating................................121 ms (1)
|    │     │  │  ├─ wrapped.fs.readFileSync                        85 ms (151)
|    │     │  │  └─ other plugin templating                        36 ms
|    │     │  ├─ plugin nathantreid:css-modules.................9,332 ms (1)
|    │     │  │  ├─ sha1                                            6 ms (169)
|    │     │  │  └─ other plugin nathantreid:css-modules        9,326 ms
|    │     │  ├─ plugin meteor                                      5 ms (1)
|    │     │  └─ other Target#_runCompilerPlugins                  76 ms
|    │     ├─ Target#_emitResources............................72,601 ms (1)
|    │     │  ├─ PackageSourceBatch.computeJsOutputFilesMap....37,993 ms (1)
|    │     │  │  ├─ sha1                                            1 ms (171)
|    │     │  │  ├─ ImportScanner#_getInstallPath                 217 ms (2165)
|    │     │  │  ├─ ImportScanner#_findImportedModuleIdentifiers 12,729 ms (1769)
|    │     │  │  ├─ Resolver#resolve............................3,451 ms (5243)
|    │     │  │  │  ├─ Resolver#_resolveAbsolute...................39 ms (2814)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat....................31 ms (184)
|    │     │  │  │  │  │  ├─ files.stat                            19 ms (272)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           12 ms
|    │     │  │  │  │  └─ other Resolver#_resolveAbsolute           8 ms
|    │     │  │  │  ├─ Resolver#_resolveRelative..................497 ms (2630)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................483 ms (1627)
|    │     │  │  │  │  │  ├─ files.stat                           313 ms (1763)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          171 ms
|    │     │  │  │  │  └─ other Resolver#_resolveRelative          14 ms
|    │     │  │  │  ├─ Resolver#_resolveNodeModule..............2,323 ms (1003)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat.................2,107 ms (5664)
|    │     │  │  │  │  │  ├─ files.stat                         1,541 ms (13720)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          567 ms
|    │     │  │  │  │  ├─ Resolver#resolve.........................76 ms (15)
|    │     │  │  │  │  │  └─ Resolver#_resolveNodeModule...........75 ms (15)
|    │     │  │  │  │  │     ├─ Resolver#_joinAndStat..............72 ms (122)
|    │     │  │  │  │  │     │  ├─ files.stat                      60 ms (385)
|    │     │  │  │  │  │     │  └─ other Resolver#_joinAndStat     12 ms
|    │     │  │  │  │  │     └─ other Resolver#_resolveNodeModule   3 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule       140 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain...............355 ms (705)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson...................249 ms (705)
|    │     │  │  │  │  │  ├─ files.readFile                       203 ms (245)
|    │     │  │  │  │  │  ├─ sha1                                   4 ms (136)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson           42 ms
|    │     │  │  │  │  ├─ ImportScanner#_getInstallPath            15 ms (136)
|    │     │  │  │  │  ├─ sha1                                      2 ms (136)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat....................19 ms (361)
|    │     │  │  │  │  │  ├─ files.stat                             8 ms (90)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           11 ms
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       71 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat.......................31 ms (344)
|    │     │  │  │  │  ├─ files.stat                                2 ms (19)
|    │     │  │  │  │  └─ other Resolver#_joinAndStat              29 ms
|    │     │  │  │  └─ other Resolver#resolve                     205 ms
|    │     │  │  ├─ ImportScanner#_readFile....................21,137 ms (1412)
|    │     │  │  │  ├─ files.readFile                           1,150 ms (1412)
|    │     │  │  │  ├─ sha1                                        39 ms (1412)
|    │     │  │  │  └─ other ImportScanner#_readFile           19,948 ms
|    │     │  │  └─ other PackageSourceBatch.computeJsOutputFilesMap 457 ms
|    │     │  ├─ PackageSourceBatch#getResources...............34,592 ms (80)
|    │     │  │  ├─ PackageSourceBatch#_linkJS.................34,590 ms (80)
|    │     │  │  │  ├─ sha1                                         3 ms (80)
|    │     │  │  │  ├─ files.readFile                           1,103 ms (80)
|    │     │  │  │  ├─ linker.fullLink.........................32,813 ms (3)
|    │     │  │  │  │  ├─ linker Module#getPrelinkedFiles.......9,964 ms (3)
|    │     │  │  │  │  │  ├─ linker File#getPrelinkedOutput     2,742 ms (1763)
|    │     │  │  │  │  │  ├─ getPrelinkedFiles toStringWithSourceMap 7,104 ms (3)
|    │     │  │  │  │  │  └─ other linker Module#getPrelinkedFiles 117 ms
|    │     │  │  │  │  ├─ linker Module#computeAssignedVariables.13,731 ms (2)
|    │     │  │  │  │  │  ├─ linker File#computeAssignedVariables 13,689 ms (1515)
|    │     │  │  │  │  │  └─ other linker Module#computeAssignedVariables 41 ms
|    │     │  │  │  │  └─ other linker.fullLink                 9,118 ms
|    │     │  │  │  └─ other PackageSourceBatch#_linkJS           671 ms
|    │     │  │  └─ other PackageSourceBatch#getResources           2 ms
|    │     │  └─ other Target#_emitResources                       16 ms
|    │     ├─ Target#minifyJs                                      13 ms (1)
|    │     ├─ ClientTarget#minifyCss............................6,019 ms (1)
|    │     │  ├─ mergeCss.......................................6,012 ms (1)
|    │     │  │  ├─ CssTools.parseCss                           5,434 ms (67)
|    │     │  │  ├─ CssTools.mergeCssAsts..........................32 ms (1)
|    │     │  │  │  ├─ CssTools.rewriteCssUrls                     26 ms (67)
|    │     │  │  │  └─ other CssTools.mergeCssAsts                  5 ms
|    │     │  │  ├─ CssTools.stringifyCss                         141 ms (1)
|    │     │  │  ├─ composing source maps                         384 ms (1)
|    │     │  │  └─ other mergeCss                                 21 ms
|    │     │  └─ other ClientTarget#minifyCss                       6 ms
|    │     ├─ Target#rewriteSourceMaps                              1 ms (1)
|    │     ├─ sha1                                                 61 ms (82)
|    │     └─ other Target#make                                    21 ms
|    ├─ bundler.bundle..makeServerTarget.......................70,541 ms (1)
|    │  └─ Target#make.........................................70,540 ms (1)
|    │     ├─ Isopack#getUnibuildAtArch                             9 ms (961)
|    │     ├─ Target#_runCompilerPlugins.......................34,299 ms (1)
|    │     │  ├─ files.realpath                                   106 ms (88)
|    │     │  ├─ sha1                                               5 ms (267)
|    │     │  ├─ Isopack#getUnibuildAtArch                         14 ms (954)
|    │     │  ├─ plugin ecmascript.............................34,123 ms (1)
|    │     │  │  ├─ files.stat                                    287 ms (1027)
|    │     │  │  ├─ Babel.compile                              33,006 ms (306)
|    │     │  │  ├─ sha1                                           10 ms (313)
|    │     │  │  ├─ files.readFile                                 37 ms (1)
|    │     │  │  ├─ Resolver#resolve..............................314 ms (1416)
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................254 ms (420)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................210 ms (2514)
|    │     │  │  │  │  │  ├─ files.stat                           123 ms (1833)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           87 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        44 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain................19 ms (280)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson.....................8 ms (280)
|    │     │  │  │  │  │  ├─ files.readFile                         6 ms (4)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson            2 ms
|    │     │  │  │  │  ├─ Resolver#_joinAndStat                     3 ms (210)
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain        8 ms
|    │     │  │  │  └─ other Resolver#resolve                      38 ms
|    │     │  │  └─ other plugin ecmascript                       469 ms
|    │     │  └─ other Target#_runCompilerPlugins                  51 ms
|    │     ├─ Target#_emitResources............................36,220 ms (1)
|    │     │  ├─ PackageSourceBatch.computeJsOutputFilesMap....13,527 ms (1)
|    │     │  │  ├─ ImportScanner#_getInstallPath                  87 ms (1037)
|    │     │  │  ├─ ImportScanner#_findImportedModuleIdentifiers 3,781 ms (797)
|    │     │  │  ├─ Resolver#resolve............................1,011 ms (2112)
|    │     │  │  │  ├─ Resolver#_resolveAbsolute....................7 ms (1199)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat.....................4 ms (32)
|    │     │  │  │  │  │  ├─ files.stat                             2 ms (30)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat            2 ms
|    │     │  │  │  │  └─ other Resolver#_resolveAbsolute           2 ms
|    │     │  │  │  ├─ Resolver#_resolveRelative..................119 ms (1167)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................114 ms (633)
|    │     │  │  │  │  │  ├─ files.stat                            68 ms (486)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           45 ms
|    │     │  │  │  │  └─ other Resolver#_resolveRelative           5 ms
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................608 ms (534)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................543 ms (1741)
|    │     │  │  │  │  │  ├─ files.stat                           380 ms (3764)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          163 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        65 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain...............186 ms (265)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson...................141 ms (265)
|    │     │  │  │  │  │  ├─ files.readFile                       119 ms (174)
|    │     │  │  │  │  │  ├─ sha1                                   4 ms (153)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson           18 ms
|    │     │  │  │  │  ├─ ImportScanner#_getInstallPath             8 ms (153)
|    │     │  │  │  │  ├─ sha1                                      2 ms (153)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat.....................8 ms (159)
|    │     │  │  │  │  │  ├─ files.stat                             2 ms (21)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat            6 ms
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       26 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat                        3 ms (106)
|    │     │  │  │  └─ other Resolver#resolve                      88 ms
|    │     │  │  ├─ ImportScanner#_readFile.....................8,415 ms (702)
|    │     │  │  │  ├─ files.readFile                             482 ms (702)
|    │     │  │  │  ├─ sha1                                        19 ms (702)
|    │     │  │  │  └─ other ImportScanner#_readFile            7,914 ms
|    │     │  │  └─ other PackageSourceBatch.computeJsOutputFilesMap 234 ms
|    │     │  ├─ PackageSourceBatch#getResources...............22,682 ms (90)
|    │     │  │  ├─ PackageSourceBatch#_linkJS.................22,679 ms (90)
|    │     │  │  │  ├─ sha1                                         3 ms (90)
|    │     │  │  │  ├─ files.readFile                             182 ms (90)
|    │     │  │  │  ├─ linker.fullLink.........................22,103 ms (90)
|    │     │  │  │  │  ├─ linker Module#getPrelinkedFiles.......4,763 ms (90)
|    │     │  │  │  │  │  ├─ linker File#getPrelinkedOutput     2,166 ms (1194)
|    │     │  │  │  │  │  ├─ getPrelinkedFiles toStringWithSourceMap 2,516 ms (90)
|    │     │  │  │  │  │  └─ other linker Module#getPrelinkedFiles 82 ms
|    │     │  │  │  │  ├─ linker Module#computeAssignedVariables.10,069 ms (89)
|    │     │  │  │  │  │  ├─ linker File#computeAssignedVariables 10,049 ms (1149)
|    │     │  │  │  │  │  └─ other linker Module#computeAssignedVariables 20 ms
|    │     │  │  │  │  └─ other linker.fullLink                 7,271 ms
|    │     │  │  │  └─ other PackageSourceBatch#_linkJS           390 ms
|    │     │  │  └─ other PackageSourceBatch#getResources           3 ms
|    │     │  └─ other Target#_emitResources                       11 ms
|    │     └─ other Target#make                                    11 ms
|    ├─ bundler writeSiteArchive...............................11,103 ms (1)
|    │  ├─ files.rm_recursive                                       4 ms (1)
|    │  ├─ Builder#write............................................6 ms (4)
|    │  │  ├─ files.readFile                                        2 ms (2)
|    │  │  └─ files.writeFile                                       2 ms (4)
|    │  ├─ bundler writeTargetToPath...........................10,545 ms (2)
|    │  │  ├─ files.rm_recursive                                    1 ms (2)
|    │  │  ├─ ClientTarget#write..................................541 ms (1)
|    │  │  │  ├─ Builder#write.....................................89 ms (64)
|    │  │  │  │  ├─ sha1                                           21 ms (64)
|    │  │  │  │  ├─ files.writeFile                                52 ms (64)
|    │  │  │  │  ├─ files.rename                                    8 ms (64)
|    │  │  │  │  └─ other Builder#write                             8 ms
|    │  │  │  ├─ bundler writeFile................................231 ms (94)
|    │  │  │  │  ├─ Builder#write.................................220 ms (94)
|    │  │  │  │  │  ├─ Builder#_ensureDirectory                     1 ms (94)
|    │  │  │  │  │  ├─ files.writeFile                            197 ms (94)
|    │  │  │  │  │  ├─ files.rename                                11 ms (94)
|    │  │  │  │  │  └─ other Builder#write                         10 ms
|    │  │  │  │  └─ other bundler writeFile                        12 ms
|    │  │  │  └─ other ClientTarget#write                         219 ms
|    │  │  ├─ ServerTarget#write...............................10,000 ms (1)
|    │  │  │  ├─ files.readFile                                     1 ms (1)
|    │  │  │  ├─ Builder#write.....................................77 ms (11)
|    │  │  │  │  ├─ sha1                                            1 ms (28)
|    │  │  │  │  ├─ files.writeFile                                48 ms (10)
|    │  │  │  │  ├─ files.rename                                    1 ms (10)
|    │  │  │  │  ├─ files.readFile                                 22 ms (18)
|    │  │  │  │  └─ other Builder#write                             4 ms
|    │  │  │  ├─ JsImage#write..................................9,880 ms (1)
|    │  │  │  │  ├─ files.mkdir                                     3 ms (9)
|    │  │  │  │  ├─ Builder#write.................................215 ms (173)
|    │  │  │  │  │  ├─ Builder#_ensureDirectory                     2 ms (173)
|    │  │  │  │  │  ├─ sha1                                        37 ms (173)
|    │  │  │  │  │  ├─ files.writeFile                            133 ms (173)
|    │  │  │  │  │  ├─ files.rename                                21 ms (173)
|    │  │  │  │  │  └─ other Builder#write                         21 ms
|    │  │  │  │  ├─ files.lstat                                   112 ms (381)
|    │  │  │  │  ├─ files.stat                                     23 ms (382)
|    │  │  │  │  ├─ files.readdir                                   8 ms (21)
|    │  │  │  │  ├─ files.readFile                                499 ms (656)
|    │  │  │  │  ├─ Builder#copyDirectory.......................8,721 ms (21)
|    │  │  │  │  │  ├─ Builder#_ensureDirectory....................15 ms (260)
|    │  │  │  │  │  │  ├─ files.mkdir                               6 ms (23)
|    │  │  │  │  │  │  └─ other Builder#_ensureDirectory            9 ms
|    │  │  │  │  │  ├─ files.symlink                              143 ms (259)
|    │  │  │  │  │  ├─ files.readdir                                1 ms (1)
|    │  │  │  │  │  ├─ files.lstat                                 83 ms (159)
|    │  │  │  │  │  ├─ meteorNpm.runNpmCommand                  8,373 ms (1)
|    │  │  │  │  │  └─ other Builder#copyDirectory                107 ms
|    │  │  │  │  ├─ files.writeFile                                 2 ms (1)
|    │  │  │  │  └─ other JsImage#write                           297 ms
|    │  │  │  └─ other ServerTarget#write                          40 ms
|    │  │  └─ other bundler writeTargetToPath                       1 ms
|    │  ├─ files.writeFile                                          1 ms (1)
|    │  ├─ Builder#complete.......................................541 ms (1)
|    │  │  └─ files.renameDirAlmostAtomically.....................541 ms (1)
|    │  │     └─ files.rm_recursive                               540 ms (1)
|    │  └─ other bundler writeSiteArchive                           6 ms
|    └─ other files.withCache                                      22 ms
| 
| Top leaves:
| files.lstat............................................104,767 ms (94685)
| other compileUnibuild (the app)........................103,376 ms (2)
| other files.copyFile...................................101,065 ms (26807)
| files.writeFile.........................................58,818 ms (653)
| Babel.compile...........................................57,726 ms (589)
| files.chmod.............................................33,147 ms (26807)
| other ImportScanner#_readFile...........................27,862 ms (2114)
| linker File#computeAssignedVariables....................23,739 ms (2664)
| ImportScanner#_findImportedModuleIdentifiers............16,510 ms (2566)
| other linker.fullLink...................................16,388 ms (93)
| files.readdir...........................................16,052 ms (14601)
| files.rm_recursive......................................12,875 ms (14)
| files.readFile..........................................11,935 ms (6568)
| getPrelinkedFiles toStringWithSourceMap..................9,620 ms (93)
| other plugin nathantreid:css-modules.....................9,326 ms (1)
| meteorNpm.runNpmCommand..................................8,373 ms (1)
| other Builder#copyDirectory..............................6,689 ms (66)
| files.realpath...........................................5,630 ms (3618)
| CssTools.parseCss........................................5,434 ms (67)
| linker File#getPrelinkedOutput...........................4,908 ms (2957)
| files.stat...............................................4,506 ms (49699)
| other files.withCache....................................3,797 ms (5)
| files.mkdir..............................................3,370 ms (2789)
| other plugin ecmascript..................................3,340 ms (2)
| other Resolver#_joinAndStat..............................1,208 ms (15823)
| other PackageSourceBatch#_linkJS.........................1,062 ms (170)
| other PackageSourceBatch.computeJsOutputFilesMap...........691 ms (2)
| other JsImage#write........................................679 ms (6)
| other meteorNpm.rebuildIfNonPortable.......................602 ms (53)
| other runJavaScript packages/mss_plugin.js.................453 ms (1)
| other Builder#_ensureDirectory.............................441 ms (2919)
| composing source maps......................................384 ms (1)
| other Resolver#resolve.....................................371 ms (10106)
| ImportScanner#_getInstallPath..............................328 ms (3491)
| other Resolver#_resolveNodeModule..........................312 ms (2380)
| sha1.......................................................283 ms (5686)
| other runJavaScript packages/meteor.js.....................267 ms (6)
| runJavaScript packages/underscore.js.......................238 ms (7)
| files.symlink..............................................224 ms (334)
| other ClientTarget#write...................................219 ms (1)
| other linker Module#getPrelinkedFiles......................199 ms (93)
| runJavaScript packages/ramda_ramda.js......................177 ms (1)
| CssTools.stringifyCss......................................141 ms (1)
| other Isopack#ensurePluginsInitialized.....................138 ms (32)
| other Resolver#_resolvePkgJsonMain.........................133 ms (1522)
| other Target#_runCompilerPlugins...........................127 ms (2)
| other bundler.readJsImage..................................117 ms (6)
| 
| (#2) Total: 664,722 ms (Build App)

And for Rebuild:

| (#4) Profiling: Rebuild App
|  Building the application                  |
| files.stat                                                        0 ms (3)
| files.readFile                                                    6 ms (4)
| Rebuild App..................................................55,719 ms (1)
| └─ files.withCache...........................................55,719 ms (1)
|    ├─ compiler.compile(the app)...............................2,564 ms (1)
|    │  ├─ files.withCache......................................2,563 ms (2)
|    │  │  └─ compileUnibuild (the app).........................2,562 ms (2)
|    │  │     ├─ Isopack#getUnibuildAtArch                          3 ms (126)
|    │  │     ├─ files.withCache..................................509 ms (2)
|    │  │     │  ├─ files.realpath                                209 ms (157)
|    │  │     │  ├─ files.readdir                                 153 ms (314)
|    │  │     │  ├─ files.stat                                     14 ms (379)
|    │  │     │  └─ other files.withCache                         133 ms
|    │  │     ├─ files.readdir                                      8 ms (11)
|    │  │     ├─ files.realpath                                     6 ms (7)
|    │  │     ├─ files.stat                                        17 ms (325)
|    │  │     ├─ files.readFile                                 1,339 ms (1415)
|    │  │     ├─ sha1                                              27 ms (825)
|    │  │     ├─ files.lstat                                      131 ms (296)
|    │  │     └─ other compileUnibuild (the app)                  521 ms
|    │  └─ other compiler.compile(the app)                          1 ms
|    ├─ compiler.lint(the app)......................................5 ms (1)
|    │  ├─ Isopack#getUnibuildAtArch                                2 ms (126)
|    │  └─ other compiler.lint(the app)                             3 ms
|    ├─ Isopack#getUnibuildAtArch                                   2 ms (126)
|    ├─ bundler.bundle..makeClientTarget.......................34,240 ms (1)
|    │  └─ Target#make.........................................34,240 ms (1)
|    │     ├─ Isopack#getUnibuildAtArch                             9 ms (843)
|    │     ├─ Target#_runCompilerPlugins........................9,737 ms (1)
|    │     │  ├─ files.realpath                                   125 ms (78)
|    │     │  ├─ sha1                                               8 ms (225)
|    │     │  ├─ Isopack#getUnibuildAtArch                         17 ms (817)
|    │     │  ├─ plugin ecmascript..............................1,165 ms (1)
|    │     │  │  ├─ files.stat                                     74 ms (954)
|    │     │  │  ├─ Babel.compile                                 172 ms (283)
|    │     │  │  ├─ sha1                                            8 ms (290)
|    │     │  │  ├─ files.readFile                                  1 ms (1)
|    │     │  │  ├─ Resolver#resolve..............................489 ms (1320)
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................413 ms (408)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................357 ms (2442)
|    │     │  │  │  │  │  ├─ files.stat                           235 ms (3087)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          122 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        56 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain................28 ms (272)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson.....................5 ms (272)
|    │     │  │  │  │  │  ├─ files.readFile                         2 ms (4)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson            2 ms
|    │     │  │  │  │  ├─ Resolver#_joinAndStat                     5 ms (204)
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       19 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat                        1 ms (68)
|    │     │  │  │  └─ other Resolver#resolve                      46 ms
|    │     │  │  └─ other plugin ecmascript                       421 ms
|    │     │  ├─ plugin templating.................................88 ms (1)
|    │     │  │  ├─ wrapped.fs.readFileSync                        45 ms (149)
|    │     │  │  └─ other plugin templating                        43 ms
|    │     │  ├─ plugin nathantreid:css-modules.................8,259 ms (1)
|    │     │  │  ├─ sha1                                            7 ms (169)
|    │     │  │  └─ other plugin nathantreid:css-modules        8,252 ms
|    │     │  ├─ plugin meteor                                      6 ms (1)
|    │     │  └─ other Target#_runCompilerPlugins                  67 ms
|    │     ├─ Target#_emitResources............................15,640 ms (1)
|    │     │  ├─ PackageSourceBatch.computeJsOutputFilesMap....15,586 ms (1)
|    │     │  │  ├─ sha1                                            2 ms (171)
|    │     │  │  ├─ ImportScanner#_getInstallPath                 252 ms (2165)
|    │     │  │  ├─ ImportScanner#_findImportedModuleIdentifiers   32 ms (1769)
|    │     │  │  ├─ Resolver#resolve............................3,732 ms (5251)
|    │     │  │  │  ├─ Resolver#_resolveAbsolute...................50 ms (2815)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat....................42 ms (184)
|    │     │  │  │  │  │  ├─ files.stat                            26 ms (272)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           16 ms
|    │     │  │  │  │  └─ other Resolver#_resolveAbsolute           8 ms
|    │     │  │  │  ├─ Resolver#_resolveRelative..................484 ms (2631)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................466 ms (1627)
|    │     │  │  │  │  │  ├─ files.stat                           259 ms (2519)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          207 ms
|    │     │  │  │  │  └─ other Resolver#_resolveRelative          18 ms
|    │     │  │  │  ├─ Resolver#_resolveNodeModule..............2,524 ms (1004)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat.................2,199 ms (5671)
|    │     │  │  │  │  │  ├─ files.stat                         1,474 ms (13902)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          724 ms
|    │     │  │  │  │  ├─ Resolver#resolve.........................87 ms (15)
|    │     │  │  │  │  │  ├─ Resolver#_resolveNodeModule...........86 ms (15)
|    │     │  │  │  │  │  │  ├─ Resolver#_joinAndStat..............81 ms (122)
|    │     │  │  │  │  │  │  │  ├─ files.stat                      62 ms (392)
|    │     │  │  │  │  │  │  │  └─ other Resolver#_joinAndStat     20 ms
|    │     │  │  │  │  │  │  └─ other Resolver#_resolveNodeModule   5 ms
|    │     │  │  │  │  │  └─ other Resolver#resolve                 1 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule       238 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain...............353 ms (705)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson...................226 ms (705)
|    │     │  │  │  │  │  ├─ files.readFile                       190 ms (245)
|    │     │  │  │  │  │  ├─ sha1                                   5 ms (136)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson           31 ms
|    │     │  │  │  │  ├─ ImportScanner#_getInstallPath            20 ms (136)
|    │     │  │  │  │  ├─ sha1                                      3 ms (136)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat....................45 ms (361)
|    │     │  │  │  │  │  ├─ files.stat                            22 ms (125)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           23 ms
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       59 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat.......................20 ms (344)
|    │     │  │  │  │  ├─ files.stat                                5 ms (86)
|    │     │  │  │  │  └─ other Resolver#_joinAndStat              15 ms
|    │     │  │  │  └─ other Resolver#resolve                     300 ms
|    │     │  │  ├─ ImportScanner#_readFile....................11,065 ms (1412)
|    │     │  │  │  ├─ files.readFile                           1,110 ms (1412)
|    │     │  │  │  ├─ sha1                                        53 ms (1412)
|    │     │  │  │  └─ other ImportScanner#_readFile            9,902 ms
|    │     │  │  └─ other PackageSourceBatch.computeJsOutputFilesMap 503 ms
|    │     │  ├─ PackageSourceBatch#getResources...................44 ms (80)
|    │     │  │  ├─ PackageSourceBatch#_linkJS.....................42 ms (80)
|    │     │  │  │  ├─ sha1                                         3 ms (80)
|    │     │  │  │  └─ other PackageSourceBatch#_linkJS            39 ms
|    │     │  │  └─ other PackageSourceBatch#getResources           2 ms
|    │     │  └─ other Target#_emitResources                       10 ms
|    │     ├─ Target#minifyJs                                      35 ms (1)
|    │     ├─ ClientTarget#minifyCss............................8,719 ms (1)
|    │     │  ├─ mergeCss.......................................8,708 ms (1)
|    │     │  │  ├─ CssTools.parseCss                           8,043 ms (67)
|    │     │  │  ├─ CssTools.mergeCssAsts..........................37 ms (1)
|    │     │  │  │  ├─ CssTools.rewriteCssUrls                     32 ms (67)
|    │     │  │  │  └─ other CssTools.mergeCssAsts                  5 ms
|    │     │  │  ├─ CssTools.stringifyCss                         108 ms (1)
|    │     │  │  ├─ composing source maps                         506 ms (1)
|    │     │  │  └─ other mergeCss                                 14 ms
|    │     │  └─ other ClientTarget#minifyCss                      11 ms
|    │     ├─ Target#rewriteSourceMaps                              2 ms (1)
|    │     ├─ sha1                                                 83 ms (82)
|    │     └─ other Target#make                                    14 ms
|    ├─ bundler.bundle..makeServerTarget........................9,009 ms (1)
|    │  └─ Target#make..........................................9,009 ms (1)
|    │     ├─ Isopack#getUnibuildAtArch                            18 ms (961)
|    │     ├─ Target#_runCompilerPlugins........................1,108 ms (1)
|    │     │  ├─ files.realpath                                   121 ms (88)
|    │     │  ├─ sha1                                               8 ms (267)
|    │     │  ├─ Isopack#getUnibuildAtArch                         17 ms (954)
|    │     │  ├─ plugin ecmascript................................891 ms (1)
|    │     │  │  ├─ files.stat                                     68 ms (1027)
|    │     │  │  ├─ Babel.compile                                 142 ms (306)
|    │     │  │  ├─ sha1                                            7 ms (313)
|    │     │  │  ├─ Resolver#resolve..............................360 ms (1416)
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................295 ms (420)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................232 ms (2514)
|    │     │  │  │  │  │  ├─ files.stat                           140 ms (1833)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           91 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        64 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain................17 ms (280)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson.....................4 ms (280)
|    │     │  │  │  │  │  ├─ files.readFile                         2 ms (4)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson            2 ms
|    │     │  │  │  │  ├─ Resolver#_joinAndStat                     4 ms (210)
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain        9 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat                        1 ms (70)
|    │     │  │  │  └─ other Resolver#resolve                      44 ms
|    │     │  │  └─ other plugin ecmascript                       313 ms
|    │     │  └─ other Target#_runCompilerPlugins                  70 ms
|    │     ├─ Target#_emitResources.............................7,867 ms (1)
|    │     │  ├─ PackageSourceBatch.computeJsOutputFilesMap.....7,828 ms (1)
|    │     │  │  ├─ ImportScanner#_getInstallPath                  83 ms (1037)
|    │     │  │  ├─ ImportScanner#_findImportedModuleIdentifiers   13 ms (797)
|    │     │  │  ├─ Resolver#resolve..............................990 ms (2112)
|    │     │  │  │  ├─ Resolver#_resolveAbsolute...................11 ms (1199)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat.....................4 ms (32)
|    │     │  │  │  │  │  ├─ files.stat                             2 ms (30)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat            2 ms
|    │     │  │  │  │  └─ other Resolver#_resolveAbsolute           8 ms
|    │     │  │  │  ├─ Resolver#_resolveRelative..................134 ms (1167)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................128 ms (633)
|    │     │  │  │  │  │  ├─ files.stat                            77 ms (746)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat           51 ms
|    │     │  │  │  │  └─ other Resolver#_resolveRelative           6 ms
|    │     │  │  │  ├─ Resolver#_resolveNodeModule................553 ms (534)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat...................492 ms (1741)
|    │     │  │  │  │  │  ├─ files.stat                           304 ms (3917)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat          188 ms
|    │     │  │  │  │  └─ other Resolver#_resolveNodeModule        61 ms
|    │     │  │  │  ├─ Resolver#_resolvePkgJsonMain...............190 ms (265)
|    │     │  │  │  │  ├─ Resolver#_readPkgJson...................133 ms (265)
|    │     │  │  │  │  │  ├─ files.readFile                       107 ms (174)
|    │     │  │  │  │  │  ├─ sha1                                   4 ms (153)
|    │     │  │  │  │  │  └─ other Resolver#_readPkgJson           21 ms
|    │     │  │  │  │  ├─ ImportScanner#_getInstallPath            10 ms (153)
|    │     │  │  │  │  ├─ sha1                                      2 ms (153)
|    │     │  │  │  │  ├─ Resolver#_joinAndStat....................14 ms (159)
|    │     │  │  │  │  │  ├─ files.stat                             6 ms (122)
|    │     │  │  │  │  │  └─ other Resolver#_joinAndStat            8 ms
|    │     │  │  │  │  └─ other Resolver#_resolvePkgJsonMain       31 ms
|    │     │  │  │  ├─ Resolver#_joinAndStat........................7 ms (106)
|    │     │  │  │  │  ├─ files.stat                                2 ms (50)
|    │     │  │  │  │  └─ other Resolver#_joinAndStat               4 ms
|    │     │  │  │  └─ other Resolver#resolve                      95 ms
|    │     │  │  ├─ ImportScanner#_readFile.....................6,504 ms (702)
|    │     │  │  │  ├─ files.readFile                             460 ms (702)
|    │     │  │  │  ├─ sha1                                        23 ms (702)
|    │     │  │  │  └─ other ImportScanner#_readFile            6,021 ms
|    │     │  │  └─ other PackageSourceBatch.computeJsOutputFilesMap 239 ms
|    │     │  ├─ PackageSourceBatch#getResources...................32 ms (90)
|    │     │  │  ├─ PackageSourceBatch#_linkJS.....................17 ms (90)
|    │     │  │  │  ├─ sha1                                         2 ms (90)
|    │     │  │  │  └─ other PackageSourceBatch#_linkJS            15 ms
|    │     │  │  └─ other PackageSourceBatch#getResources          14 ms
|    │     │  └─ other Target#_emitResources                        7 ms
|    │     ├─ Target#rewriteSourceMaps                              1 ms (1)
|    │     └─ other Target#make                                    15 ms
|    ├─ bundler writeSiteArchive................................9,890 ms (1)
|    │  ├─ Builder#write............................................2 ms (4)
|    │  │  └─ files.readFile                                        1 ms (1)
|    │  ├─ bundler writeTargetToPath............................9,881 ms (2)
|    │  │  ├─ ClientTarget#write..................................265 ms (1)
|    │  │  │  ├─ Builder#write.....................................29 ms (64)
|    │  │  │  │  ├─ sha1                                           25 ms (64)
|    │  │  │  │  └─ other Builder#write                             3 ms
|    │  │  │  ├─ bundler writeFile..................................5 ms (94)
|    │  │  │  │  └─ Builder#write...................................4 ms (94)
|    │  │  │  │     ├─ Builder#_ensureDirectory                     1 ms (94)
|    │  │  │  │     └─ other Builder#write                          3 ms
|    │  │  │  ├─ files.writeFile                                    2 ms (1)
|    │  │  │  └─ other ClientTarget#write                         230 ms
|    │  │  ├─ Builder#complete                                      2 ms (2)
|    │  │  ├─ ServerTarget#write................................9,612 ms (1)
|    │  │  │  ├─ Builder#write.....................................10 ms (11)
|    │  │  │  │  ├─ files.readFile                                  5 ms (9)
|    │  │  │  │  ├─ files.rm_recursive                              3 ms (1)
|    │  │  │  │  └─ other Builder#write                             1 ms
|    │  │  │  ├─ JsImage#write..................................9,559 ms (1)
|    │  │  │  │  ├─ Builder#write..................................44 ms (173)
|    │  │  │  │  │  ├─ Builder#_ensureDirectory                     2 ms (173)
|    │  │  │  │  │  ├─ sha1                                        34 ms (173)
|    │  │  │  │  │  └─ other Builder#write                          7 ms
|    │  │  │  │  ├─ files.lstat                                   139 ms (381)
|    │  │  │  │  ├─ files.stat                                     18 ms (382)
|    │  │  │  │  ├─ files.readdir                                   9 ms (21)
|    │  │  │  │  ├─ files.readFile                                428 ms (656)
|    │  │  │  │  ├─ Builder#copyDirectory.......................8,324 ms (21)
|    │  │  │  │  │  ├─ Builder#_ensureDirectory                     7 ms (260)
|    │  │  │  │  │  ├─ files.symlink                              185 ms (518)
|    │  │  │  │  │  ├─ files.rm_recursive                         221 ms (259)
|    │  │  │  │  │  ├─ files.lstat                                 48 ms (159)
|    │  │  │  │  │  ├─ meteorNpm.runNpmCommand                  7,767 ms (1)
|    │  │  │  │  │  └─ other Builder#copyDirectory                 93 ms
|    │  │  │  │  └─ other JsImage#write                           596 ms
|    │  │  │  └─ other ServerTarget#write                          42 ms
|    │  │  └─ other bundler writeTargetToPath                       1 ms
|    │  └─ other bundler writeSiteArchive                           6 ms
|    └─ other files.withCache                                       8 ms
| 
| Top leaves:
| other ImportScanner#_readFile...........................15,923 ms (2114)
| other plugin nathantreid:css-modules.....................8,252 ms (1)
| CssTools.parseCss........................................8,043 ms (67)
| meteorNpm.runNpmCommand..................................7,767 ms (1)
| files.readFile...........................................3,654 ms (4629)
| files.stat...............................................2,808 ms (30169)
| other Resolver#_joinAndStat..............................1,472 ms (15936)
| other PackageSourceBatch.computeJsOutputFilesMap...........742 ms (2)
| other plugin ecmascript....................................735 ms (2)
| other JsImage#write........................................596 ms (1)
| other compileUnibuild (the app)............................521 ms (2)
| composing source maps......................................506 ms (1)
| other Resolver#resolve.....................................486 ms (10114)
| files.realpath.............................................461 ms (330)
| other Resolver#_resolveNodeModule..........................423 ms (2381)
| ImportScanner#_getInstallPath..............................365 ms (3491)
| files.lstat................................................318 ms (836)
| Babel.compile..............................................313 ms (589)
| sha1.......................................................308 ms (5506)
| other ClientTarget#write...................................230 ms (1)
| files.rm_recursive.........................................224 ms (260)
| files.symlink..............................................186 ms (520)
| files.readdir..............................................171 ms (347)
| other files.withCache......................................142 ms (5)
| other Target#_runCompilerPlugins...........................138 ms (2)
| other Resolver#_resolvePkgJsonMain.........................118 ms (1522)
| CssTools.stringifyCss......................................108 ms (1)
| 
| (#4) Total: 55,725 ms (Rebuild App)

Not sure if this helps at all....

akanix42 commented 8 years ago

@davidwoody I think your issue may be more related to meteor/meteor#7493 given that my plugin is only taking 8 - 9 seconds, which is pretty close to both my own and @vinnyjth's benchmark. @priezz's plugin time, on the other hand is 4 to 7 times longer that mine, so once I get more info hopefully I can address that.

clayne11 commented 7 years ago

Here's my profile output.

➜  casalova-web git:(meteor-1.4) ✗ npm start

> casalova-web@0.55.20 start /Users/clayne/workspace/casalova-web
> meteor --settings private/dev/settings.json

[[[[[ ~/workspace/casalova-web ]]]]]

=> Started proxy.
=> Starting gadicc:hot-build Accelerator (edj) on port 3002.

=> Started MongoDB.
   Building for web.browser                  /
prep complete in 3ms
scss compilation complete in 2158ms
passthrough processing complete in 0ms
css modules compilation complete in 1111896ms/
compilation complete in 1114058ms

CSS module compilation is taking 20 minutes.

akanix42 commented 7 years ago

@clayne11 can you post your package.json?

clayne11 commented 7 years ago

Sorry I meant to do that earlier.

// package.json
{
  "name": "casalova-web",
  "version": "0.55.20",
  "private": true,
  "description": "",
  "main": "entry/server/index.js",
  "browser": "entry/client/index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/casalova/casalova-web"
  },
  "keywords": [],
  "author": "Casalova Inc.",
  "license": "ISC",
  "homepage": "https://bitbucket.org/casalova/r3ntr_meteor#readme",
  "directories": {
    "test": "tests"
  },
  "config": {
    "noUpdateDependencies": "scrollreveal,leaflet-draw,react-date-picker,history",
    "mochaFileGlob": "imports/**/__tests__/**/*-spec.js"
  },
  "scripts": {
    "checkDependencies": "ncu -x $npm_package_config_noUpdateDependencies",
    "chimp:ci": "ROOT_URL=http://localhost:3000/ chimp ./private/config/chimp.ci.js",
    "chimp:dev": "ROOT_URL=http://localhost:3000/ chimp private/config/chimp.dev.js",
    "lint": "eslint --ext .jsx,.js .",
    "lint:fix": "eslint --fix --ext .jsx,.js .",
    "lint:watch": "esw -w --ext .jsx,.js .",
    "meteor-test": "NODE_ENV=test meteor test --headless --settings private/dev/test-settings.json --once --driver-package dispatch:mocha-phantomjs --port 5035",
    "meteor-test:watch": "NODE_ENV=test TEST_WATCH=1 meteor test --settings private/dev/test-settings.json --driver-package dispatch:mocha-phantomjs",
    "mocha": "NODE_PATH=$NODE_PATH:. mocha --require private/scripts/mocha-runner $npm_package_config_mochaFileGlob",
    "mocha:watch": "NODE_PATH=$NODE_PATH:. mocha -w --require private/scripts/mocha-runner $npm_package_config_mochaFileGlob",
    "start": "meteor --settings private/dev/settings.json",
    "start:test": "NODE_ENV=test babel-node --presets es2015,stage-0 private/scripts/start.js",
    "storybook": "start-storybook -p 9001",
    "test": "NODE_ENV=test babel-node --presets es2015,stage-0 private/scripts/test.js",
    "testPackage": "meteor test-packages --driver-package dispatch:mocha-phantomjs",
    "updateDependencies": "ncu -x $npm_package_config_noUpdateDependencies -u -a",
    "version:major": "npm version major && git push && git push --tags",
    "version:minor": "npm version minor && git push && git push --tags",
    "version:patch": "npm version patch && git push && git push --tags"
  },
  "devDependencies": {
    "@kadira/storybook": "^2.0.0",
    "autoprefixer": "^6.3.7",
    "babel-cli": "^6.11.4",
    "babel-core": "^6.11.4",
    "babel-eslint": "6.1.2",
    "babel-plugin-rewire": "^1.0.0-rc-4",
    "babel-plugin-transform-class-properties": "^6.11.5",
    "babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
    "babel-polyfill": "^6.9.1",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-meteor": "^6.11.1",
    "babel-preset-react": "^6.11.1",
    "babel-preset-stage-0": "^6.5.0",
    "babel-register": "^6.11.6",
    "babel-root-slash-import": "^1.1.0",
    "babel-runtime": "^6.11.6",
    "chai": "^3.5.0",
    "chai-as-promised": "^5.3.0",
    "chimp": "^0.39.3",
    "enzyme": "^2.4.1",
    "eslint": "^3.2.0",
    "eslint-import-resolver-meteor": "^0.3.1",
    "eslint-import-resolver-node": "^0.2.2",
    "eslint-plugin-flowtype": "^2.4.0",
    "eslint-plugin-import": "^1.12.0",
    "eslint-plugin-react": "^5.2.2",
    "eslint-watch": "^2.1.14",
    "jsdom": "^9.4.1",
    "meteor-babel": "^0.11.7",
    "meteor-promise": "^0.7.2",
    "minimist": "^1.2.0",
    "mocha": "^2.5.3",
    "node-sass": "^3.8.0",
    "postcss-modules-extract-imports": "^1.0.1",
    "postcss-modules-scope": "^1.0.2",
    "postcss-modules-values": "^1.1.3",
    "postcss-nested": "^1.0.0",
    "react-hot-loader": "^3.0.0-beta.2",
    "react-komposer": "damonmaria/react-komposer#shouldResubscribe-option",
    "redbox-react": "^1.2.10",
    "redux-devtools": "^3.3.1",
    "shelljs": "^0.7.3",
    "sinon": "^1.17.5",
    "sinon-chai": "^2.8.0",
    "testdouble": "^1.6.0"
  },
  "dependencies": {
    "analytics-node": "^2.1.0",
    "analytics.js": "^2.9.1",
    "aws-sdk": "^2.4.11",
    "beanstream-node": "^1.0.0-5-beta",
    "body-parser": "^1.15.2",
    "cheerio": "^0.20.0",
    "classnames": "^2.2.5",
    "cloudinary": "^1.4.1",
    "co": "^4.6.0",
    "denodeify": "^1.2.1",
    "entities": "^1.1.1",
    "fb": "^1.1.1",
    "formsy-react": "^0.18.1",
    "history": "^2.1.2",
    "isomorphic-fetch": "^2.2.1",
    "jquery": "^3.1.0",
    "js-yaml": "^3.6.1",
    "js2xmlparser": "^1.0.0",
    "json2csv": "^3.6.2",
    "leaflet": "^0.7.7",
    "leaflet-draw": "^0.2.4",
    "lodash": "^4.14.1",
    "lru-memoize": "^1.0.1",
    "mapbox.js": "^2.4.0",
    "material-ui": "^0.15.2",
    "md5": "^2.1.0",
    "meteor-node-stubs": "^0.2.3",
    "mobile-detect": "^1.3.3",
    "moment": "^2.14.1",
    "object-path-immutable": "^0.4.0",
    "pluralize": "^3.0.0",
    "prerender-node": "^2.3.0",
    "raf": "^3.2.0",
    "rc-tooltip": "^3.4.2",
    "react": "^15.3.0",
    "react-addons-create-fragment": "^15.3.0",
    "react-addons-css-transition-group": "^15.3.0",
    "react-addons-pure-render-mixin": "^15.3.0",
    "react-addons-test-utils": "^15.3.0",
    "react-date-picker": "^4.0.10",
    "react-day-picker": "^2.4.1",
    "react-dnd": "^2.1.4",
    "react-dnd-html5-backend": "^2.1.2",
    "react-dom": "^15.3.0",
    "react-dragula": "^1.1.16",
    "react-dropzone": "^3.5.3",
    "react-event-listener": "^0.2.1",
    "react-geosuggest": "^1.24.1",
    "react-helmet": "^3.1.0",
    "react-infinite": "^0.9.2",
    "react-komposer-fork": "^1.11.0",
    "react-leaflet": "^0.12.1",
    "react-motion": "^0.4.4",
    "react-popover-fork": "^0.6.4",
    "react-redux": "^4.4.5",
    "react-router": "^2.6.1",
    "react-router-redux": "^4.0.5",
    "react-router-scroll": "^0.2.1",
    "react-select": "^1.0.0-beta14",
    "react-slider-fork": "^0.6.0",
    "react-tap-event-plugin": "^1.0.0",
    "react-textarea-autosize": "^4.0.4",
    "react-tween-state": "^0.1.5",
    "react-waypoint": "^3.1.0",
    "recompose": "^0.20.2",
    "redux": "^3.5.2",
    "redux-form": "^6.0.0-rc.4",
    "redux-saga": "^0.11.0",
    "redux-thunk": "^2.1.0",
    "request": "^2.74.0",
    "reselect": "^2.5.3",
    "scrollreveal": "^2.3.3",
    "shallowequal": "^0.2.2",
    "sphericalmercator": "^1.0.5",
    "stripe": "^4.9.0",
    "toastr": "^2.1.2",
    "underscore.string": "^3.3.4",
    "velocity-animate": "^1.2.3",
    "wolfy87-eventemitter": "^5.1.0",
    "xml2js": "^0.4.17"
  },
  "cssModules": {
    "enableSassCompilation": [
      "scss"
    ],
    "extensions": [
      "scss"
    ],
    "specificArchitecture": false,
    "ignorePaths": [
      "node_modules/react-select",
      "node_modules/highlight.js"
    ],
    "postcssPlugins": {
      "postcss-modules-values": {},
      "postcss-nested": {},
      "postcss-modules-extract-imports": {},
      "postcss-modules-scope": {},
      "autoprefixer": {
        "browsers": [
          "last 2 versions"
        ]
      }
    }
  }
}
// .meteor/packages
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.0.4             # Packages every Meteor app needs to have
mobile-experience@1.0.4       # Packages for a great mobile UX
mongo@1.1.10                   # The database Meteor supports right now
session@1.1.6                 # Client-side reactive dictionary for your app
tracker@1.1.0                 # Meteor's client-side reactive programming library

es5-shim@4.6.13                # ECMAScript 5 compatibility for older browsers.
accounts-facebook@1.0.10
accounts-password@1.2.12
alanning:roles
aldeed:collection2
ccan:cssreset
dburles:collection-helpers
email@1.1.16
http@1.2.8
matb33:collection-hooks
meteorhacks:aggregate
meteorhacks:async
meteorhacks:cluster
meteorhacks:kadira
meteorhacks:kadira-profiler
meteorhacks:subs-manager
meteorhacks:unblock
natestrauser:animate-css
natestrauser:font-awesome
pauli:accounts-linkedin
percolate:migrations
percolate:synced-cron
random@1.0.10
reactive-dict@1.1.8
reactive-var@1.0.10
reywood:publish-composite
service-configuration@1.0.10
sha@1.0.8
splendido:accounts-meld
underscore@1.0.9
wylio:mandrill
zimme:collection-timestampable
accounts-ui@1.1.9
promise@0.8.3
check@1.2.3
force-ssl@1.0.12
meteorhacks:picker
dburles:google-maps@1.1.5
standard-minifier-js@1.1.8
kadira:debug
mrgalaxy:stripe
mdg:validation-error
aldeed:simple-schema
peerlibrary:reactive-publish
meteor@1.2.16
standard-minifier-css@1.1.8
nathantreid:css-modules
percolate:find-from-publication
dispatch:mocha-phantomjs
edgee:slingshot
wylio:winston-papertrail
react-meteor-data
gadicc:ecmascript-hot@2.0.0-beta.6
// .meteor/versions
accounts-base@1.2.9
accounts-facebook@1.0.10
accounts-oauth@1.1.13
accounts-password@1.2.12
accounts-ui@1.1.9
accounts-ui-unstyled@1.1.12
alanning:roles@1.2.15
aldeed:collection2@2.9.1
aldeed:collection2-core@1.1.1
aldeed:schema-deny@1.0.1
aldeed:schema-index@1.0.1
aldeed:simple-schema@1.5.3
allow-deny@1.0.5
autoupdate@1.3.11
babel-compiler@6.9.0
babel-runtime@0.1.10
base64@1.0.9
binary-heap@1.0.9
blaze@2.1.8
blaze-tools@1.0.9
boilerplate-generator@1.0.9
caching-compiler@1.1.6
caching-html-compiler@1.0.6
callback-hook@1.0.9
ccan:cssreset@1.0.0
check@1.2.3
coffeescript@1.2.3
dburles:collection-helpers@1.0.4
dburles:google-maps@1.1.5
ddp@1.2.5
ddp-client@1.3.0
ddp-common@1.2.6
ddp-rate-limiter@1.0.5
ddp-server@1.3.9
deps@1.0.12
diff-sequence@1.0.6
dispatch:mocha-phantomjs@0.1.7
dispatch:phantomjs-tests@0.0.5
ecmascript@0.5.7
ecmascript-runtime@0.3.12
edgee:slingshot@0.7.1
ejson@1.0.12
email@1.1.16
es5-shim@4.6.13
facebook@1.2.8
fastclick@1.0.12
force-ssl@1.0.12
gadicc:ecmascript-hot@2.0.0-beta.6
gadicc:hot@2.0.0-beta.3
gadicc:hot-build@2.0.0-beta.6
gadicc:modules-runtime-hot@0.6.4-beta.1
gadicc:package-json@1.0.4
geojson-utils@1.0.9
hot-code-push@1.0.4
html-tools@1.0.10
htmljs@1.0.10
http@1.2.8
id-map@1.0.8
jquery@1.11.9
kadira:debug@3.2.2
kadira:runtime-dev@0.0.1
launch-screen@1.0.12
less@2.7.4
livedata@1.0.18
localstorage@1.0.11
logging@1.1.14
matb33:collection-hooks@0.8.3
mdg:validation-error@0.5.1
meteor@1.2.16
meteor-base@1.0.4
meteorhacks:aggregate@1.3.0
meteorhacks:async@1.0.0
meteorhacks:cluster@1.6.9
meteorhacks:collection-utils@1.2.0
meteorhacks:inject-initial@1.0.4
meteorhacks:kadira@2.30.0
meteorhacks:kadira-binary-deps@1.5.0
meteorhacks:kadira-profiler@1.3.0
meteorhacks:meteorx@1.4.1
meteorhacks:picker@1.0.3
meteorhacks:subs-manager@1.6.4
meteorhacks:unblock@1.1.0
minifier-css@1.2.13
minifier-js@1.2.13
minimongo@1.0.17
mobile-experience@1.0.4
mobile-status-bar@1.0.12
modules@0.7.5
modules-runtime@0.7.5
mongo@1.1.10
mongo-id@1.0.5
mongo-livedata@1.0.12
mrgalaxy:stripe@2.2.2
natestrauser:animate-css@3.5.1
natestrauser:font-awesome@4.6.3
nathantreid:css-modules@2.2.2
nathantreid:css-modules-import-path-helpers@0.1.4
npm-bcrypt@0.8.7
npm-mongo@1.5.45
oauth@1.1.11
oauth2@1.1.10
observe-sequence@1.0.12
ordered-dict@1.0.8
package-version-parser@3.0.9
pauli:accounts-linkedin@1.3.1
pauli:linkedin@1.3.1
peerlibrary:assert@0.2.5
peerlibrary:fiber-utils@0.6.0
peerlibrary:reactive-mongo@0.1.1
peerlibrary:reactive-publish@0.3.0
peerlibrary:server-autorun@0.5.2
percolate:find-from-publication@0.1.0
percolate:migrations@0.9.8
percolate:synced-cron@1.3.2
practicalmeteor:mocha-core@1.0.1
promise@0.8.3
raix:eventemitter@0.1.3
ramda:ramda@0.19.0
random@1.0.10
rate-limit@1.0.5
react-meteor-data@0.2.9
reactive-dict@1.1.8
reactive-var@1.0.10
reload@1.1.10
retry@1.0.8
reywood:publish-composite@1.4.2
routepolicy@1.0.11
sanjo:meteor-files-helpers@1.2.0_1
sanjo:meteor-version@1.0.0
service-configuration@1.0.10
session@1.1.6
sha@1.0.8
spacebars@1.0.12
spacebars-compiler@1.0.12
splendido:accounts-emails-field@1.2.0
splendido:accounts-meld@1.3.1
srp@1.0.9
standard-minifier-css@1.1.8
standard-minifier-js@1.1.8
templating@1.2.13
templating-tools@1.0.4
tmeasday:check-npm-versions@0.3.1
tracker@1.1.0
ui@1.0.11
underscore@1.0.9
url@1.0.10
webapp@1.3.10
webapp-hashing@1.0.9
wylio:mandrill@1.0.1
wylio:winston-papertrail@0.1.2
zimme:collection-behaviours@1.1.3
zimme:collection-timestampable@1.0.9

I also tried with "specificArchitecture": "web" and it wasn't any better.

I don't use postcss-modules-local-by-default because I have a ton of old SCSS that I haven't migrated to CSS modules, so I manually invoke :local(.className) in all of my new code.

clayne11 commented 7 years ago

Could you possibly add profiling for each PostCSS module individually? That way we can see which module is taking the longest and try to narrow it down some more.

clayne11 commented 7 years ago

I cloned the repo and added profiling for each individual file. It doesn't look like any one is taking a crazy amount of time but I have a lot of SCSS files (354) so with them taking ~2 seconds each that's 12 minutes right there just in CSS module processing.

> casalova-web@0.55.20 start /Users/clayne/workspace/casalova-web
> meteor --settings private/dev/settings.json

[[[[[ ~/workspace/casalova-web ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Starting gadicc:hot-build Accelerator (vKn) on port 3002.

   Building for web.browser                  /
prep complete in 3ms
scss compilation complete in 1789ms
passthrough processing complete in 0ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryDesktop/styles.scss compiled in 6172ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryList/styles.scss compiled in 2177ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryMobile/styles.scss compiled in 1927ms
imports/client/ui/components/Footer/components/ConnectWithUs/styles.scss compiled in 1934ms
imports/client/ui/components/MobileMapSearchForm/components/CitySearchField/styles.scss compiled in 1945ms
imports/client/ui/components/accounts-view/components/ChangePassword/styles.scss compiled in 2034ms
imports/client/ui/components/accounts-view/components/ForgotPassword/styles.scss compiled in 2066ms
imports/client/ui/components/accounts-view/components/ResetPassword/styles.scss compiled in 2088ms
imports/client/ui/components/accounts-view/components/SignIn/styles.scss compiled in 2120ms
imports/client/ui/components/accounts-view/components/SignUp/styles.scss compiled in 2101ms
imports/client/ui/components/accounts-view/components/VerifyEmail/styles.scss compiled in 2178ms
imports/client/ui/components/listing-page-components/components/AmenitiesSelectField/styles.scss compiled in 2263ms
imports/client/ui/components/listing-page-components/components/ListingPhotoCard/styles.scss compiled in 2210ms
imports/client/ui/components/listing-page-components/components/ListingPhotoUpload/styles.scss compiled in 2232ms
imports/client/ui/components/listing-page-components/forms/AgentForm/styles.scss compiled in 2179ms
imports/client/ui/components/loading-components/components/Loading/styles.scss compiled in 2104ms
imports/client/ui/components/loading-components/components/composeAppBar/styles.scss compiled in 1918ms
imports/client/ui/components/mapbox-components/components/MapboxMap/styles.scss compiled in 1866ms
imports/client/ui/components/material-design-components/components/EmptyState/styles.scss compiled in 1810ms
imports/client/ui/components/material-design-components/components/ExpandableSearchField/styles.scss compiled in 1907ms
imports/client/ui/components/material-design-components/components/MaterialModalContent/styles.scss compiled in 1994ms
imports/client/ui/components/material-design-components/components/SortableTable/styles.scss compiled in 2090ms
imports/client/ui/components/material-design-components/components/Tabs/styles.scss compiled in 7778ms
imports/client/ui/components/material-design-components/typography/Body1/styles.scss compiled in 2144ms
imports/client/ui/components/material-design-components/typography/Body2/styles.scss compiled in 2198ms
imports/client/ui/components/material-design-components/typography/Caption/styles.scss compiled in 2259ms
imports/client/ui/components/material-design-components/typography/Display1/styles.scss compiled in 2314ms
imports/client/ui/components/material-design-components/typography/Display2/styles.scss compiled in 2443ms
imports/client/ui/components/material-design-components/typography/Display3/styles.scss compiled in 2500ms
imports/client/ui/components/material-design-components/typography/Display4/styles.scss compiled in 2336ms
imports/client/ui/components/material-design-components/typography/Headline/styles.scss compiled in 2114ms
imports/client/ui/components/material-design-components/typography/Subheading1/styles.scss compiled in 2101ms
imports/client/ui/components/material-design-components/typography/Subheading2/styles.scss compiled in 2075ms
imports/client/ui/components/material-design-components/typography/Title/styles.scss compiled in 2021ms
imports/client/ui/components/react-components/components/background-with-overlay/background-with-overlay.scss compiled in 1899ms
imports/client/ui/components/react-components/components/badge/badge.scss compiled in 1948ms
imports/client/ui/components/react-components/components/expandable-section/expandable-section.scss compiled in 2042ms
imports/client/ui/components/react-components/components/plain-button/plain-button.scss compiled in 2094ms
imports/client/ui/components/react-components/components/progress-bar/progress-bar.scss compiled in 2101ms
imports/client/ui/components/react-components/components/rating-circle/rating-circle.scss compiled in 2159ms
imports/client/ui/components/react-components/components/simple-progress-bar/simple-progress-bar.scss compiled in 2181ms
imports/client/ui/components/react-components/components/solid-button/solid-button.scss compiled in 2406ms
imports/client/ui/components/react-components/components/switch/switch.scss compiled in 2339ms
imports/client/ui/components/redux-form-components/components/BaseDropzone/styles.scss compiled in 2260ms
imports/client/ui/components/redux-form-components/components/BaseFileUploader/styles.scss compiled in 2150ms
imports/client/ui/components/redux-form-components/components/BaseFormToggle/styles.scss compiled in 2104ms
imports/client/ui/components/redux-form-components/components/BaseFullAddressGeocomplete/styles.scss compiled in 2152ms
imports/client/ui/components/redux-form-components/components/BaseYesNoSelect/styles.scss compiled in 2056ms
imports/client/ui/components/redux-form-components/components/FileCard/styles.scss compiled in 2094ms
imports/client/ui/components/redux-form-components/components/Form/styles.scss compiled in 2027ms
imports/client/ui/components/redux-form-components/components/FormChildSpacer/styles.scss compiled in 2027ms
imports/client/ui/components/redux-form-components/components/FormContainer/styles.scss compiled in 2101ms
imports/client/ui/components/redux-form-components/components/FormFieldArray/styles.scss compiled in 4407ms
imports/client/ui/components/redux-form-components/components/FormFieldArrayField/styles.scss compiled in 2321ms
imports/client/ui/components/redux-form-components/components/FormNextBack/styles.scss compiled in 2318ms
imports/client/ui/components/redux-form-components/components/FormSubsection/styles.scss compiled in 2276ms
imports/client/ui/components/redux-form-components/components/IndicateRequiredFields/styles.scss compiled in 2183ms
imports/client/ui/components/redux-form-components/components/RadioSingleSelect/styles.scss compiled in 2123ms
imports/client/ui/components/redux-form-components/components/TwoColumn/styles.scss compiled in 2000ms
imports/client/ui/components/redux-form-components/components/form-components/styles.scss compiled in 2050ms
imports/client/ui/components/redux-form-components/components/withBuiltInErrorField/styles.scss compiled in 2062ms
imports/client/ui/components/redux-form-components/components/withBuiltInTitle/styles.scss compiled in 2087ms
imports/client/ui/components/redux-form-components/components/withFormField/styles.scss compiled in 2033ms
imports/client/ui/components/redux-form-components/components/withFormFieldArray/styles.scss compiled in 2067ms
imports/client/ui/pages/InstantBookPage/components/InstantListingCard/styles.scss compiled in 2083ms
imports/client/ui/pages/InstantBookPage/components/InstantListingCardSatisfaction/styles.scss compiled in 2045ms
imports/client/ui/pages/InviteTenantRentPage/components/AdditionalFeeField/styles.scss compiled in 2116ms
imports/client/ui/pages/LandingPage/components/landing-find-your-home/landing-find-your-home.scss compiled in 2170ms
imports/client/ui/pages/LandingPage/components/landing-meet-the-neighbors-section/landing-meet-the-neighbors-section-item.scss compiled in 2279ms
imports/client/ui/pages/LandingPage/components/landing-meet-the-neighbors-section/landing-meet-the-neighbors-section.scss compiled in 2401ms
imports/client/ui/pages/LandingPage/components/landing-neighborhood-matching/landing-neighborhood-matching.scss compiled in 2502ms
imports/client/ui/pages/LandingPage/components/landing-process-section/landing-process-section.scss compiled in 3072ms
imports/client/ui/pages/LandingPage/components/landing-search-box/landing-search-box.scss compiled in 9748ms
imports/client/ui/pages/LandingPage/components/landing-title-section/landing-title-section.scss compiled in 2167ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/AgentChecklist/styles.scss compiled in 2219ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/FormLayout/styles.scss compiled in 2244ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/StylizedButton/styles.scss compiled in 2421ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/SuccessView/styles.scss compiled in 2321ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/Testimonial/styles.scss compiled in 2331ms
imports/client/ui/pages/LandlordFeaturesPage/components/CurrentClientsSection/styles.scss compiled in 2418ms
imports/client/ui/pages/LandlordFeaturesPage/components/FeatureSection/styles.scss compiled in 2439ms
imports/client/ui/pages/LandlordFeaturesPage/components/GetStartedSection/styles.scss compiled in 9721ms
imports/client/ui/pages/LandlordFeaturesPage/components/TopSection/styles.scss compiled in 2454ms
imports/client/ui/pages/LandlordPremiumServicesPage/components/CalculatorCard/styles.scss compiled in 2491ms
imports/client/ui/pages/LandlordPremiumServicesPage/components/ComparisonCard/styles.scss compiled in 2485ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/AgentIntroSection/styles.scss compiled in 2445ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/BottomSection/styles.scss compiled in 2418ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/CalculationSection/styles.scss compiled in 2297ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/ComparisonSection/styles.scss compiled in 9570ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/PaperlessExperienceSection/styles.scss compiled in 2279ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/TopSection/styles.scss compiled in 2200ms
imports/client/ui/pages/LandlordProtectionPage/components/BulkPricingSection/styles.scss compiled in 2165ms
imports/client/ui/pages/LandlordProtectionPage/components/FeatureItem/styles.scss compiled in 2181ms
imports/client/ui/pages/LandlordProtectionPage/components/FeatureSection/styles.scss compiled in 2238ms
imports/client/ui/pages/LandlordProtectionPage/components/FinancialPartnersSection/styles.scss compiled in 2254ms
imports/client/ui/pages/LandlordProtectionPage/components/StorySection/styles.scss compiled in 9849ms
imports/client/ui/pages/LandlordProtectionPage/components/TestimonialCard/styles.scss compiled in 2398ms
imports/client/ui/pages/LandlordProtectionPage/components/TestimonialSection/styles.scss compiled in 2502ms
imports/client/ui/pages/LandlordProtectionPage/components/TopSection/styles.scss compiled in 2670ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordDashboardNoMerchantAccount/styles.scss compiled in 2518ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardList/styles.scss compiled in 2450ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardWithAgreements/styles.scss compiled in 2250ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardWithAgreementsMobile/styles.scss compiled in 10745ms
imports/client/ui/pages/MakeRentPaymentPage/components/EftPaymentForm/styles.scss compiled in 2443ms
imports/client/ui/pages/MakeRentPaymentPage/components/ListItem/styles.scss compiled in 2383ms
imports/client/ui/pages/MakeRentPaymentPage/components/MakePaymentBreakdown/styles.scss compiled in 2174ms
imports/client/ui/pages/MakeRentPaymentPage/components/PaymentMethodSelector/styles.scss compiled in 2290ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-advanced-form.scss compiled in 2304ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-availability.scss compiled in 2304ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-basic-form.scss compiled in 7610ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-drawing.scss compiled in 2304ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-preview.scss compiled in 2674ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-success.scss compiled in 2443ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-view.scss compiled in 2487ms
imports/client/ui/pages/MerchantSignUpPage/forms/MerchantTermsAndConditions/styles.scss compiled in 2362ms
imports/client/ui/pages/MessagingPage/ConversationList/ContactRow/styles.scss compiled in 10395ms
imports/client/ui/pages/MessagingPage/ConversationView/ConversationMessageInput/styles.scss compiled in 2230ms
imports/client/ui/pages/MessagingPage/ConversationView/ConversationView/styles.scss compiled in 2158ms
imports/client/ui/pages/MessagingPage/ConversationView/MessageActions/styles.scss compiled in 2117ms
imports/client/ui/pages/MessagingPage/ConversationView/MessageList/styles.scss compiled in 2118ms
imports/client/ui/pages/MessagingPage/messages/ImageActionMessage/styles.scss compiled in 2063ms
imports/client/ui/pages/MessagingPage/messages/MessageDecorator/styles.scss compiled in 2821ms
imports/client/ui/pages/MessagingPage/messages/MessageGroup/styles.scss compiled in 9550ms
imports/client/ui/pages/MessagingPage/messages/RentalApplicationMessage/styles.scss compiled in 2237ms
imports/client/ui/pages/MessagingPage/messages/TextMessage/styles.scss compiled in 2286ms
imports/client/ui/pages/MessagingPage/messages/ViewingRequestMessage/styles.scss compiled in 2272ms
imports/client/ui/pages/MessagingPage/messages/ViewingRequestMessageTemp/styles.scss compiled in 2377ms
imports/client/ui/pages/MyListingsPage/components/EditAvailabilityDate/styles.scss compiled in 2438ms
imports/client/ui/pages/MyListingsPage/components/EditPricePopover/styles.scss compiled in 3274ms
imports/client/ui/pages/MyListingsPage/components/HireAnAgentButton/styles.scss compiled in 10129ms
imports/client/ui/pages/MyListingsPage/components/ListingDetailView/styles.scss compiled in 2207ms
imports/client/ui/pages/MyListingsPage/components/MyListingsDesktop/styles.scss compiled in 2225ms
imports/client/ui/pages/MyListingsPage/components/MyListingsList/styles.scss compiled in 2106ms
imports/client/ui/pages/MyListingsPage/components/MyListingsMobile/styles.scss compiled in 2107ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardDesktop/styles.scss compiled in 2012ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardList/styles.scss compiled in 1961ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardMobile/styles.scss compiled in 1940ms
imports/client/ui/pages/OfferDashboardPage/components/OfferView/styles.scss compiled in 2048ms
imports/client/ui/pages/OfferDashboardPage/components/RentalApplicationView/styles.scss compiled in 2133ms
imports/client/ui/pages/PadApprovalListPage/components/CardListItem/styles.scss compiled in 2326ms
imports/client/ui/pages/PressPage/components/about/press-about-section.scss compiled in 2591ms
imports/client/ui/pages/PressPage/components/bottom/press-bottom-section.scss compiled in 11428ms
imports/client/ui/pages/PressPage/components/founders/press-founders-section.scss compiled in 2279ms
imports/client/ui/pages/PressPage/components/news/press-news-section.scss compiled in 2254ms
imports/client/ui/pages/PressPage/components/press-releases/press-press-releases-section.scss compiled in 2394ms
imports/client/ui/pages/PressPage/components/title-section/press-title-section.scss compiled in 2304ms
imports/client/ui/pages/ProfileReferencesPage/components/ReferenceCard/reference-card.scss compiled in 2399ms
imports/client/ui/pages/TenantRentDashboardPage/components/CardListItem/styles.scss compiled in 2232ms
imports/client/ui/pages/TenantRentDashboardPage/components/CardPaymentBreakdown/styles.scss compiled in 2100ms
clayne11 commented 7 years ago

Compare these times to Meteor 1.3.5.1:

prep complete in 6ms
scss compilation complete in 1821ms
passthrough processing complete in 0ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryDesktop/styles.scss compiled in 720ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryList/styles.scss compiled in 9ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentHistory/components/TenantPaymentHistoryMobile/styles.scss compiled in 4ms
imports/client/ui/components/Footer/components/ConnectWithUs/styles.scss compiled in 5ms
imports/client/ui/components/MobileMapSearchForm/components/CitySearchField/styles.scss compiled in 19ms
imports/client/ui/components/accounts-view/components/ChangePassword/styles.scss compiled in 11ms
imports/client/ui/components/accounts-view/components/ForgotPassword/styles.scss compiled in 9ms
imports/client/ui/components/accounts-view/components/ResetPassword/styles.scss compiled in 10ms
imports/client/ui/components/accounts-view/components/SignIn/styles.scss compiled in 12ms
imports/client/ui/components/accounts-view/components/SignUp/styles.scss compiled in 9ms
imports/client/ui/components/accounts-view/components/VerifyEmail/styles.scss compiled in 7ms
imports/client/ui/components/listing-page-components/components/AmenitiesSelectField/styles.scss compiled in 55ms
imports/client/ui/components/listing-page-components/components/ListingPhotoCard/styles.scss compiled in 7ms
imports/client/ui/components/listing-page-components/components/ListingPhotoUpload/styles.scss compiled in 7ms
imports/client/ui/components/listing-page-components/forms/AgentForm/styles.scss compiled in 11ms
imports/client/ui/components/loading-components/components/Loading/styles.scss compiled in 8ms
imports/client/ui/components/loading-components/components/composeAppBar/styles.scss compiled in 7ms
imports/client/ui/components/mapbox-components/components/MapboxMap/styles.scss compiled in 16ms
imports/client/ui/components/material-design-components/components/EmptyState/styles.scss compiled in 14ms
imports/client/ui/components/material-design-components/components/ExpandableSearchField/styles.scss compiled in 6ms
imports/client/ui/components/material-design-components/components/MaterialModalContent/styles.scss compiled in 10ms
imports/client/ui/components/material-design-components/components/SortableTable/styles.scss compiled in 8ms
imports/client/ui/components/material-design-components/components/Tabs/styles.scss compiled in 7ms
imports/client/ui/components/material-design-components/typography/Body1/styles.scss compiled in 4ms
imports/client/ui/components/material-design-components/typography/Body2/styles.scss compiled in 5ms
imports/client/ui/components/material-design-components/typography/Caption/styles.scss compiled in 4ms
imports/client/ui/components/material-design-components/typography/Display1/styles.scss compiled in 5ms
imports/client/ui/components/material-design-components/typography/Display2/styles.scss compiled in 5ms
imports/client/ui/components/material-design-components/typography/Display3/styles.scss compiled in 4ms
imports/client/ui/components/material-design-components/typography/Display4/styles.scss compiled in 4ms
imports/client/ui/components/material-design-components/typography/Headline/styles.scss compiled in 14ms
imports/client/ui/components/material-design-components/typography/Subheading1/styles.scss compiled in 5ms
imports/client/ui/components/material-design-components/typography/Subheading2/styles.scss compiled in 4ms
imports/client/ui/components/material-design-components/typography/Title/styles.scss compiled in 5ms
imports/client/ui/components/react-components/components/background-with-overlay/background-with-overlay.scss compiled in 5ms
imports/client/ui/components/react-components/components/badge/badge.scss compiled in 4ms
imports/client/ui/components/react-components/components/expandable-section/expandable-section.scss compiled in 10ms
imports/client/ui/components/react-components/components/plain-button/plain-button.scss compiled in 6ms
imports/client/ui/components/react-components/components/progress-bar/progress-bar.scss compiled in 11ms
imports/client/ui/components/react-components/components/rating-circle/rating-circle.scss compiled in 10ms
imports/client/ui/components/react-components/components/simple-progress-bar/simple-progress-bar.scss compiled in 6ms
imports/client/ui/components/react-components/components/solid-button/solid-button.scss compiled in 41ms
imports/client/ui/components/react-components/components/switch/switch.scss compiled in 13ms
imports/client/ui/components/redux-form-components/components/BaseDropzone/styles.scss compiled in 10ms
imports/client/ui/components/redux-form-components/components/BaseFileUploader/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/BaseFormToggle/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/BaseFullAddressGeocomplete/styles.scss compiled in 9ms
imports/client/ui/components/redux-form-components/components/BaseYesNoSelect/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/FileCard/styles.scss compiled in 7ms
imports/client/ui/components/redux-form-components/components/Form/styles.scss compiled in 4ms
imports/client/ui/components/redux-form-components/components/FormChildSpacer/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/FormContainer/styles.scss compiled in 2ms
imports/client/ui/components/redux-form-components/components/FormFieldArray/styles.scss compiled in 9ms
imports/client/ui/components/redux-form-components/components/FormFieldArrayField/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/FormNextBack/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/FormSubsection/styles.scss compiled in 3ms
imports/client/ui/components/redux-form-components/components/IndicateRequiredFields/styles.scss compiled in 4ms
imports/client/ui/components/redux-form-components/components/RadioSingleSelect/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/TwoColumn/styles.scss compiled in 8ms
imports/client/ui/components/redux-form-components/components/form-components/styles.scss compiled in 4ms
imports/client/ui/components/redux-form-components/components/withBuiltInErrorField/styles.scss compiled in 5ms
imports/client/ui/components/redux-form-components/components/withBuiltInTitle/styles.scss compiled in 6ms
imports/client/ui/components/redux-form-components/components/withFormField/styles.scss compiled in 13ms
imports/client/ui/components/redux-form-components/components/withFormFieldArray/styles.scss compiled in 7ms
imports/client/ui/pages/InstantBookPage/components/InstantListingCard/styles.scss compiled in 12ms
imports/client/ui/pages/InstantBookPage/components/InstantListingCardSatisfaction/styles.scss compiled in 7ms
imports/client/ui/pages/InviteTenantRentPage/components/AdditionalFeeField/styles.scss compiled in 5ms
imports/client/ui/pages/LandingPage/components/landing-find-your-home/landing-find-your-home.scss compiled in 16ms
imports/client/ui/pages/LandingPage/components/landing-meet-the-neighbors-section/landing-meet-the-neighbors-section-item.scss compiled in 10ms
imports/client/ui/pages/LandingPage/components/landing-meet-the-neighbors-section/landing-meet-the-neighbors-section.scss compiled in 15ms
imports/client/ui/pages/LandingPage/components/landing-neighborhood-matching/landing-neighborhood-matching.scss compiled in 13ms
imports/client/ui/pages/LandingPage/components/landing-process-section/landing-process-section.scss compiled in 14ms
imports/client/ui/pages/LandingPage/components/landing-search-box/landing-search-box.scss compiled in 20ms
imports/client/ui/pages/LandingPage/components/landing-title-section/landing-title-section.scss compiled in 23ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/AgentChecklist/styles.scss compiled in 11ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/FormLayout/styles.scss compiled in 10ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/StylizedButton/styles.scss compiled in 6ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/SuccessView/styles.scss compiled in 6ms
imports/client/ui/pages/LandlordAgentSignUpPage/components/Testimonial/styles.scss compiled in 5ms
imports/client/ui/pages/LandlordFeaturesPage/components/CurrentClientsSection/styles.scss compiled in 16ms
imports/client/ui/pages/LandlordFeaturesPage/components/FeatureSection/styles.scss compiled in 11ms
imports/client/ui/pages/LandlordFeaturesPage/components/GetStartedSection/styles.scss compiled in 11ms
imports/client/ui/pages/LandlordFeaturesPage/components/TopSection/styles.scss compiled in 7ms
imports/client/ui/pages/LandlordPremiumServicesPage/components/CalculatorCard/styles.scss compiled in 7ms
imports/client/ui/pages/LandlordPremiumServicesPage/components/ComparisonCard/styles.scss compiled in 11ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/AgentIntroSection/styles.scss compiled in 18ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/BottomSection/styles.scss compiled in 7ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/CalculationSection/styles.scss compiled in 12ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/ComparisonSection/styles.scss compiled in 15ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/PaperlessExperienceSection/styles.scss compiled in 14ms
imports/client/ui/pages/LandlordPremiumServicesPage/sections/TopSection/styles.scss compiled in 6ms
imports/client/ui/pages/LandlordProtectionPage/components/BulkPricingSection/styles.scss compiled in 6ms
imports/client/ui/pages/LandlordProtectionPage/components/FeatureItem/styles.scss compiled in 8ms
imports/client/ui/pages/LandlordProtectionPage/components/FeatureSection/styles.scss compiled in 12ms
imports/client/ui/pages/LandlordProtectionPage/components/FinancialPartnersSection/styles.scss compiled in 16ms
imports/client/ui/pages/LandlordProtectionPage/components/StorySection/styles.scss compiled in 23ms
imports/client/ui/pages/LandlordProtectionPage/components/TestimonialCard/styles.scss compiled in 9ms
imports/client/ui/pages/LandlordProtectionPage/components/TestimonialSection/styles.scss compiled in 15ms
imports/client/ui/pages/LandlordProtectionPage/components/TopSection/styles.scss compiled in 7ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordDashboardNoMerchantAccount/styles.scss compiled in 8ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardList/styles.scss compiled in 6ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardWithAgreements/styles.scss compiled in 9ms
imports/client/ui/pages/LandlordRentDashboardPage/components/LandlordRentDashboardWithAgreementsMobile/styles.scss compiled in 3ms
imports/client/ui/pages/MakeRentPaymentPage/components/EftPaymentForm/styles.scss compiled in 4ms
imports/client/ui/pages/MakeRentPaymentPage/components/ListItem/styles.scss compiled in 3ms
imports/client/ui/pages/MakeRentPaymentPage/components/MakePaymentBreakdown/styles.scss compiled in 9ms
imports/client/ui/pages/MakeRentPaymentPage/components/PaymentMethodSelector/styles.scss compiled in 4ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-advanced-form.scss compiled in 5ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-availability.scss compiled in 5ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-basic-form.scss compiled in 5ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-drawing.scss compiled in 9ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-preview.scss compiled in 12ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-success.scss compiled in 6ms
imports/client/ui/pages/MapSearchPage/components/concierge-view/map-search-concierge-view.scss compiled in 21ms
imports/client/ui/pages/MerchantSignUpPage/forms/MerchantTermsAndConditions/styles.scss compiled in 4ms
imports/client/ui/pages/MessagingPage/ConversationList/ContactRow/styles.scss compiled in 7ms
imports/client/ui/pages/MessagingPage/ConversationView/ConversationMessageInput/styles.scss compiled in 5ms
imports/client/ui/pages/MessagingPage/ConversationView/ConversationView/styles.scss compiled in 4ms
imports/client/ui/pages/MessagingPage/ConversationView/MessageActions/styles.scss compiled in 4ms
imports/client/ui/pages/MessagingPage/ConversationView/MessageList/styles.scss compiled in 6ms
imports/client/ui/pages/MessagingPage/messages/ImageActionMessage/styles.scss compiled in 5ms
imports/client/ui/pages/MessagingPage/messages/MessageDecorator/styles.scss compiled in 9ms
imports/client/ui/pages/MessagingPage/messages/MessageGroup/styles.scss compiled in 5ms
imports/client/ui/pages/MessagingPage/messages/RentalApplicationMessage/styles.scss compiled in 5ms
imports/client/ui/pages/MessagingPage/messages/TextMessage/styles.scss compiled in 5ms
imports/client/ui/pages/MessagingPage/messages/ViewingRequestMessage/styles.scss compiled in 13ms
imports/client/ui/pages/MessagingPage/messages/ViewingRequestMessageTemp/styles.scss compiled in 11ms
imports/client/ui/pages/MyListingsPage/components/EditAvailabilityDate/styles.scss compiled in 9ms
imports/client/ui/pages/MyListingsPage/components/EditPricePopover/styles.scss compiled in 6ms
imports/client/ui/pages/MyListingsPage/components/HireAnAgentButton/styles.scss compiled in 4ms
imports/client/ui/pages/MyListingsPage/components/ListingDetailView/styles.scss compiled in 17ms
imports/client/ui/pages/MyListingsPage/components/MyListingsDesktop/styles.scss compiled in 9ms
imports/client/ui/pages/MyListingsPage/components/MyListingsList/styles.scss compiled in 5ms
imports/client/ui/pages/MyListingsPage/components/MyListingsMobile/styles.scss compiled in 3ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardDesktop/styles.scss compiled in 7ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardList/styles.scss compiled in 6ms
imports/client/ui/pages/OfferDashboardPage/components/OfferDashboardMobile/styles.scss compiled in 9ms
imports/client/ui/pages/OfferDashboardPage/components/OfferView/styles.scss compiled in 11ms
imports/client/ui/pages/OfferDashboardPage/components/RentalApplicationView/styles.scss compiled in 6ms
imports/client/ui/pages/PadApprovalListPage/components/CardListItem/styles.scss compiled in 4ms
imports/client/ui/pages/PressPage/components/about/press-about-section.scss compiled in 10ms
imports/client/ui/pages/PressPage/components/bottom/press-bottom-section.scss compiled in 10ms
imports/client/ui/pages/PressPage/components/founders/press-founders-section.scss compiled in 18ms
imports/client/ui/pages/PressPage/components/news/press-news-section.scss compiled in 25ms
imports/client/ui/pages/PressPage/components/press-releases/press-press-releases-section.scss compiled in 16ms
imports/client/ui/pages/PressPage/components/title-section/press-title-section.scss compiled in 11ms
imports/client/ui/pages/ProfileReferencesPage/components/ReferenceCard/reference-card.scss compiled in 14ms
imports/client/ui/pages/TenantRentDashboardPage/components/CardListItem/styles.scss compiled in 4ms
imports/client/ui/pages/TenantRentDashboardPage/components/CardPaymentBreakdown/styles.scss compiled in 4ms
imports/client/ui/pages/TenantRentDashboardPage/components/RentCardMedia/styles.scss compiled in 4ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPaymentSettings/styles.scss compiled in 3ms
imports/client/ui/pages/TenantRentDashboardPage/tabs/TenantPayments/styles.scss compiled in 408ms
node_modules/toastr/package/package/nuget/content/content/toastr.scss compiled in 41ms
imports/client/ui/components/MapSearchBar/MapSearchBar/styles.scss compiled in 25ms
imports/client/ui/components/MobileMapSearchForm/components/map-overlay-dropdown-button.scss compiled in 16ms
imports/client/ui/components/NotificationDropdown/NotificationDropdown/styles.scss compiled in 20ms
imports/client/ui/components/ProgressInnerScrollView/ProgressInnerScrollView/styles.scss compiled in 15ms
imports/client/ui/components/RentPaymentAgreementView/AgreementPaymentHistory/styles.scss compiled in 3ms
imports/client/ui/components/RentPaymentAgreementView/InvoiceDetailView/styles.scss compiled in 17ms
imports/client/ui/components/RentPaymentAgreementView/RentPaymentAgreementView/styles.scss compiled in 29ms
imports/client/ui/components/SendMessageView/components/send-message-form.scss compiled in 13ms
imports/client/ui/components/SendMessageView/components/send-message-login.scss compiled in 16ms
imports/client/ui/components/SendMessageView/components/send-message-success.scss compiled in 14ms
imports/client/ui/components/StripeAddPaymentMethodForm/components/credit-card-logos.scss compiled in 16ms
imports/client/ui/components/StripeAddPaymentMethodForm/components/image-form-text-field.scss compiled in 26ms
imports/client/ui/components/StripePaymentView/StripePaymentView/styles.scss compiled in 17ms
imports/client/ui/components/StripePaymentView/components/stripe-credit-card-info.scss compiled in 14ms
imports/client/ui/components/StripePaymentView/components/stripe-form-radio-button.scss compiled in 16ms
imports/client/ui/components/ViewingRequestsUpdateAvailability/components/viewing-requests-add-availability.scss compiled in 14ms
imports/client/ui/components/ViewingRequestsUpdateAvailability/components/viewing-requests-availability-block.scss compiled in 14ms
imports/client/ui/components/ViewingRequestsUpdateAvailability/components/viewing-requests-update-availability-day-header.scss compiled in 13ms
imports/client/ui/components/WizardForm/WizardForm/styles.scss compiled in 18ms
imports/client/ui/components/accounts-view/components/accounts-view-container.scss compiled in 17ms
imports/client/ui/components/accounts-view/components/accounts-view-text-button.scss compiled in 19ms
imports/client/ui/components/formsy-components/base-form-components/base-form-geocomplete.scss compiled in 18ms
imports/client/ui/components/formsy-components/base-form-components/base-form-text-field.scss compiled in 9ms
imports/client/ui/components/formsy-components/base-form-components/base-multi-select.scss compiled in 9ms
imports/client/ui/components/formsy-components/base-form-components/base-select-button.scss compiled in 16ms
imports/client/ui/components/formsy-components/base-form-components/base-single-select.scss compiled in 18ms
imports/client/ui/components/formsy-components/right-title-form-component/right-title-form-component.scss compiled in 15ms
imports/client/ui/components/formsy-components/simple-form-elements/form-range-slider.scss compiled in 21ms
imports/client/ui/components/formsy-components/simple-form-elements/simple-form-text-area.scss compiled in 13ms
imports/client/ui/components/formsy-components/simple-form-elements/simple-form-text-field.scss compiled in 13ms
imports/client/ui/components/formsy-components/title-error-components/title-error-form-component.scss compiled in 14ms
imports/client/ui/components/formsy-components/top-title-form-component/top-title-form-component.scss compiled in 13ms
imports/client/ui/components/loading-components/components/loading-error.scss compiled in 25ms
imports/client/ui/components/react-components/components/button.scss compiled in 31ms
imports/client/ui/components/react-components/components/checkbox.scss compiled in 15ms
imports/client/ui/components/react-components/components/container.scss compiled in 16ms
imports/client/ui/components/react-components/components/floating-icon-button.scss compiled in 21ms
imports/client/ui/components/react-components/components/hidden-submit-button.scss compiled in 10ms
imports/client/ui/components/react-components/components/pickadate.scss compiled in 23ms
imports/client/ui/components/react-components/components/react-date-picker.scss compiled in 35ms
imports/client/ui/components/react-components/components/step-progress.scss compiled in 30ms
imports/client/ui/components/react-components/components/tab-titles.scss compiled in 19ms
imports/client/ui/components/react-components/components/tabs.scss compiled in 14ms
imports/client/ui/components/react-components/components/text-button.scss compiled in 24ms
imports/client/ui/components/react-components/components/time-picker.scss compiled in 27ms
imports/client/ui/components/user-availability-view/components/five-slot-container.scss compiled in 10ms
imports/client/ui/components/user-availability-view/components/user-availability-day-dropdown.scss compiled in 15ms
imports/client/ui/components/user-availability-view/components/user-availability-day.scss compiled in 27ms
imports/client/ui/pages/EditListingPage/EditListingPage/styles.scss compiled in 11ms
imports/client/ui/pages/InviteTenantRentPage/InviteRentSuccess/styles.scss compiled in 3ms
imports/client/ui/pages/LandlordAgentSignUpPage/AgentSignUpForm/styles.scss compiled in 10ms
imports/client/ui/pages/LandlordAgentSignUpPage/LandlordAgentSignUpPage/styles.scss compiled in 18ms
imports/client/ui/pages/LandlordFeaturesPage/LandlordFeaturesPage/styles.scss compiled in 3ms
imports/client/ui/pages/LandlordProtectionPage/LandlordProtectionPage/styles.scss compiled in 9ms
imports/client/ui/pages/MakeRentPaymentPage/MakeRentPaymentPage/styles.scss compiled in 18ms
imports/client/ui/pages/MapSearchPage/components/basic-listing-placeholder.scss compiled in 11ms
imports/client/ui/pages/MapSearchPage/components/listing-alert-placeholder.scss compiled in 14ms
imports/client/ui/pages/MapSearchPage/components/map-search-tab-title.scss compiled in 17ms
imports/client/ui/pages/MapSearchPage/components/map-search-view-map.scss compiled in 10ms
imports/client/ui/pages/MapSearchPage/components/no-listing-placeholder.scss compiled in 21ms
imports/client/ui/pages/MessagingPage/ConversationList/styles.scss compiled in 9ms
imports/client/ui/pages/MessagingPage/MessagingViewWithData/styles.scss compiled in 15ms
imports/client/ui/pages/NeighborhoodMatchingPage/components/neighborhood-matching-arrow-controls.scss compiled in 11ms
imports/client/ui/pages/NeighborhoodMatchingPage/components/neighborhood-matching-carousel-controls.scss compiled in 22ms
imports/client/ui/pages/NeighborhoodMatchingPage/components/neighborhood-matching-circular-illustration.scss compiled in 16ms

As a sidenote, caching would help immensely with large codebases like mine. I would love to see that feature added as soon as possible.

clayne11 commented 7 years ago

Any update on this @nathantreid? Can I provide you with any other info?

akanix42 commented 7 years ago

@clayne11 Sorry, nothing yet. I hope to really dig into this over the weekend. Thanks for all the info you've provided.

akanix42 commented 7 years ago

Just wanted to let you all know that caching is on the way. I've got it mostly implemented, but there are quite a few changes in the code, so I'm taking the time to also set up automated testing.

clayne11 commented 7 years ago

That's great to hear! Thanks for the hard work.

Obviously I'd also love to see a fix for the insane build times I'm seeing, but caching will help to at least mitigate the issue.

oswaldoacauan commented 7 years ago

Looking forward to caching :dancer:

akanix42 commented 7 years ago

@oswaldoacauan I'm almost done with the caching implementation - I expect to have it out this weekend. On a side note, using Webstorm's test runner to test Meteor packages is pretty awesome!

akanix42 commented 7 years ago

I've published a beta version with caching enabled (nathantreid:css-modules@2.3.0-beta.2.); due to the number of changes, I would appreciate some assistance in real world testing. Note that Stylus processing does not work yet as I still have to update the Stylus processor. Sass and CSS should be fully functional.

clayne11 commented 7 years ago

I will be testing ASAP. Will report back tomorrow.

clayne11 commented 7 years ago

Working great for me. I just updated to Meteor 1.4.1.1 as well and it seems like the insanely bad PostCSS performance I was having is gone.

Thanks!

clayne11 commented 7 years ago

OK I lied. Meteor 1.4.1.1 still has the same performance problems with PostCSS.

oswaldoacauan commented 7 years ago

Using the beta version I noticed:

clayne11 commented 7 years ago

Well that would make sense. SCSS is now cached, that's what the caching is for. Sounds like it's a success.

It's been working perfectly for me for the past two days.

ChrisSalt commented 7 years ago

Hi,

Unfortunately the beta doesn't work for me, my app gets stuck on startup "Processing files with nathantreid:css" (see below). I'm using react-toolbox, meteor 1.4.1 and 2.2.2 works great, albeit a little slowly.

| (#1) Profiling: ProjectContext prepareProjectForBuild
|  Building local packages                   \
| files.stat                                                        0 ms (1)
| files.unlink                                                      1 ms (1)
| files.readFile                                                    3 ms (1)
| sqlite query                                                     16 ms (1)
| ProjectContext prepareProjectForBuild.........................1,331 ms (1)
| ├─ _initializeCatalog                                             6 ms (1)
| ├─ _resolveConstraints..........................................232 ms (1)
| │  ├─ bundler.readJsImage........................................16 ms (1)
| │  │  ├─ files.readFile                                           7 ms (22)
| │  │  ├─ meteorNpm.rebuildIfNonPortable                           2 ms (3)
| │  │  └─ other bundler.readJsImage                                7 ms
| │  ├─ JsImage#load..............................................188 ms (1)
| │  │  ├─ runJavaScript packages/underscore.js                    32 ms (1)
| │  │  ├─ runJavaScript packages/meteor.js                        19 ms (1)
| │  │  ├─ runJavaScript packages/modules-runtime.js               20 ms (1)
| │  │  ├─ runJavaScript packages/modules.js                       14 ms (1)
| │  │  ├─ runJavaScript packages/base64.js                         2 ms (1)
| │  │  ├─ runJavaScript packages/ejson.js                          5 ms (1)
| │  │  ├─ runJavaScript packages/check.js                          6 ms (1)
| │  │  ├─ runJavaScript packages/package-version-parser.js        14 ms (1)
| │  │  ├─ runJavaScript packages/logic-solver.js                  47 ms (1)
| │  │  ├─ runJavaScript packages/constraint-solver.js             28 ms (1)
| │  │  └─ other JsImage#load                                       2 ms
| │  ├─ Select Package Versions.....................................7 ms (1)
| │  │  ├─ new CS.Input                                             5 ms (1)
| │  │  └─ other Select Package Versions                            1 ms
| │  ├─ files.writeFileAtomically...................................4 ms (1)
| │  │  └─ files.writeFile                                          4 ms (1)
| │  └─ other _resolveConstraints                                  16 ms
| ├─ _downloadMissingPackages.....................................154 ms (1)
| │  ├─ Isopack.readMetadataFromDirectory..........................80 ms (101)
| │  │  ├─ files.stat                                               3 ms (101)
| │  │  ├─ files.readFile                                          67 ms (101)
| │  │  └─ other Isopack.readMetadataFromDirectory                 11 ms
| │  └─ other _downloadMissingPackages                             74 ms
| ├─ _buildLocalPackages..........................................936 ms (1)
| │  ├─ IsopackCache Load local isopack...........................926 ms (101)
| │  │  ├─ files.stat                                               2 ms (101)
| │  │  ├─ Isopack#initFromPath...................................847 ms (101)
| │  │  │  ├─ files.realpath                                       54 ms (101)
| │  │  │  ├─ Isopack.readMetadataFromDirectory....................26 ms (101)
| │  │  │  │  ├─ files.stat                                         2 ms (101)
| │  │  │  │  ├─ files.readFile                                    17 ms (101)
| │  │  │  │  └─ other Isopack.readMetadataFromDirectory            8 ms
| │  │  │  ├─ files.readFile                                       51 ms (303)
| │  │  │  ├─ files.open                                           71 ms (1282)
| │  │  │  ├─ files.read                                           71 ms (1282)
| │  │  │  ├─ files.close                                          60 ms (1282)
| │  │  │  ├─ bundler.readJsImage.................................269 ms (7)
| │  │  │  │  ├─ files.readFile                                    62 ms (130)
| │  │  │  │  ├─ meteorNpm.rebuildIfNonPortable...................167 ms (38)
| │  │  │  │  │  ├─ files.readdir                                   6 ms (50)
| │  │  │  │  │  ├─ files.lstat                                    43 ms (720)
| │  │  │  │  │  ├─ files.stat                                      9 ms (590)
| │  │  │  │  │  ├─ files.readFile                                 67 ms (578)
| │  │  │  │  │  └─ other meteorNpm.rebuildIfNonPortable           42 ms
| │  │  │  │  └─ other bundler.readJsImage                         41 ms
| │  │  │  ├─ meteorNpm.rebuildIfNonPortable......................116 ms (23)
| │  │  │  │  ├─ files.readdir                                     14 ms (32)
| │  │  │  │  ├─ files.lstat                                       26 ms (422)
| │  │  │  │  ├─ files.stat                                         6 ms (347)
| │  │  │  │  ├─ files.readFile                                    44 ms (338)
| │  │  │  │  └─ other meteorNpm.rebuildIfNonPortable              26 ms
| │  │  │  └─ other Isopack#initFromPath                          128 ms
| │  │  ├─ Isopack#getStrongOrderedUsedAndImpliedPackages           8 ms (101)
| │  │  └─ other IsopackCache Load local isopack                   70 ms
| │  └─ other _buildLocalPackages                                  10 ms
| ├─ _saveChangedMetadata                                           2 ms (1)
| └─ other ProjectContext prepareProjectForBuild                    2 ms
| 
| Top leaves:
| files.readFile.............................................318 ms (1581)
| other Isopack#initFromPath.................................128 ms (101)
| 
| (#1) Total: 1,351 ms (ProjectContext prepareProjectForBuild)
| 
| (#2) Profiling: Build App                  \
=> Started MongoDB.                           
   Processing files with nathantreid:css...  /
oswaldoacauan commented 7 years ago

Any news?

clayne11 commented 7 years ago

The issue has improved massively in the betas of 1.4.2. I expect it will go into RC very soon. @benjamn has made a lot of progress on build times in general for 1.4.2.

s-ol commented 7 years ago

@clayne11 --release 1.4.2-beta.7 doesn't really improve it for me, the Processing files with nathantreid:css... just doesn't appear when it's a css-only change but it still takes a good 50s until Client modified -- refreshing appears and the page updates.

There's only two .css files in all of my project and I put "node_modules" into the ingorePaths option. My project is also otherwise very slim, I branched away from the meteor-todos react branch and removed basically everything.

EDIT: after a meteor update --release 1.4.2-beta.7 (as opposed to just run --release ...) and meteor add nathantreid:css-modules@2.3.0-beta.2 build times are now at something like 3s. :+1:

wojtkowiak commented 7 years ago

@nathantreid when are you planing to release the 2.3.0?

clayne11 commented 7 years ago

Just use the beta release. It's perfectly stable.

akanix42 commented 7 years ago

@wojtkowiak 2.3.0 has now been released.

akanix42 commented 7 years ago

Meteor 1.4 made a lot of performance improvements, so I'm going to close this now.