Enable parallelBabel#14
Conversation
|
These log lines:
are telling you how long it took to transpile the (Also I don't necessarily believe these self-reported numbers are apples-to-apples with parallelism turning on and off. I'd look at the impact on the total build.) I would guess that you really only want to run the ast transform on the app's code, not on the addon's own code, in which case you can say so explicitly: setupPreprocessorRegistry: function (type, registry) {
+ if (type === 'parent') {
registry.add('htmlbars-ast-plugin', this._buildPlugin());
+ }
},Are we talking about performance differences under a classic build or under embroider? Under embroider, the above difference might have a measurable impact because it's changing your addon from one that needs custom transforms to one that does not, which skips an entire babel pass of the addon's code. |
14c89ce to
3779423
Compare
Supersedes #11