Jesse
Jesse
The code that is calling `createFile` at a higher level should be figuring out which one of the two functions to call. If there are two completely different and non-intersecting...
@alexander-akait We just confirmed that without minification and when bundling in dev mode, the bundles are exactly the same. I think we isolated the problem The usage of the arrow...
I believe this was the commit where it broke https://github.com/webpack/webpack/commit/806ee08c3f34706a3181aaffc55e5717af57e6df I think this optimization should be reverted @vankop
@alexander-akait The problem isn't the overall usage of arrow functions, it's the arrow function that wrap all of the module code. That part is what seems slow and if I...
@vankop My screenshots in the initial post show the performance profile times. Do you want them exported some other way and do you want a working example from an open...
Sorry for the delay. @sod using what you suggested, I confirmed that the issue is still definitely there. Currently on our bundle without minification, bootstrap takes about 160ms **with** arrow...
Just checked with minification and by using the arrowFunction output environment config. I am seeing about 55ms for bootstrap with arrow functions set to false and about 130ms with arrow...
@alexander-akait right, but this is a special case of that issue. An optimization was added here https://github.com/webpack/webpack/commit/806ee08c3f34706a3181aaffc55e5717af57e6df which caused an even worse regression for large UMD bundles.
I'm still seeing this problem as well. It's definitely sub-optimal for many types of data, especially if you are plotting multiple lines from a single dataset on a line chart....