My app uses the JS API.
I am trying to switch from the esri-loader to ES modules as described in the docs.
However the speed of my app is drastically slower when using the 4.22.2 package.
With esri-loader: https://flyxc.app/?3d=
With ES modules 4.22.2: https://20220303t135459-dot-fly-xc.uc.r.appspot.com/3d
Everything seems to be slower: loading tiles, geometries.
I have tried different versions of the NPM package. 4.20.2 actually works fine and the speed is great. The problem occurs from 4.21.2.
Does anybody experience similar issues or have an idea of what could go wrong / what to check ?
(I am using chrome and see no errors in the console).