<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Map Components build/performance issues in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618299#M87194</link>
    <description>&lt;P&gt;The esri arcgis-map web component when built appears to bundle in and load&amp;nbsp;transformations and geodesic length. These are being bundled &lt;STRONG&gt;and loaded&lt;/STRONG&gt; despite not being used. When using CDN they do not get loaded.&lt;/P&gt;&lt;P&gt;I've created the most basic web app with three versions (CDN, Vite with web map and vite with arcgis-map)&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/davewilton/esri_tests/tree/master/" target="_blank" rel="noopener"&gt;https://github.com/davewilton/esri_tests/tree/master/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_1-1748244286391.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133227i77C787C7137638C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_1-1748244286391.png" alt="DavidWilton_1-1748244286391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_2-1748244317530.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133228iC3A83E7FEE987892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_2-1748244317530.png" alt="DavidWilton_2-1748244317530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see above that arc-gismap is having a huge impact on the performance of the page. They are loaded as well as bundled, but like I say this is unique to bundling and arcgis-map.&lt;/P&gt;&lt;P&gt;The lighthouse score&amp;nbsp; is 35 vs 52 just to use arc-gismap when bundled because it loads these two unnecessary files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_3-1748244419143.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133229iD9A81D22E00A3C47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_3-1748244419143.png" alt="DavidWilton_3-1748244419143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_4-1748244433860.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133230i9B39D8E5AEDFAFBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_4-1748244433860.png" alt="DavidWilton_4-1748244433860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note when using esri it causes lighthouse to hang right at the end (this is limited to including maps). If you reload the page at this point it will give you results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_5-1748244720517.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133232i7C3F8BC76BC40387/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_5-1748244720517.png" alt="DavidWilton_5-1748244720517.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;any ideas? Many thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 07:36:46 GMT</pubDate>
    <dc:creator>DavidWilton</dc:creator>
    <dc:date>2025-05-26T07:36:46Z</dc:date>
    <item>
      <title>ArcGIS Map Components build/performance issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618299#M87194</link>
      <description>&lt;P&gt;The esri arcgis-map web component when built appears to bundle in and load&amp;nbsp;transformations and geodesic length. These are being bundled &lt;STRONG&gt;and loaded&lt;/STRONG&gt; despite not being used. When using CDN they do not get loaded.&lt;/P&gt;&lt;P&gt;I've created the most basic web app with three versions (CDN, Vite with web map and vite with arcgis-map)&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/davewilton/esri_tests/tree/master/" target="_blank" rel="noopener"&gt;https://github.com/davewilton/esri_tests/tree/master/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_1-1748244286391.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133227i77C787C7137638C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_1-1748244286391.png" alt="DavidWilton_1-1748244286391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_2-1748244317530.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133228iC3A83E7FEE987892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_2-1748244317530.png" alt="DavidWilton_2-1748244317530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see above that arc-gismap is having a huge impact on the performance of the page. They are loaded as well as bundled, but like I say this is unique to bundling and arcgis-map.&lt;/P&gt;&lt;P&gt;The lighthouse score&amp;nbsp; is 35 vs 52 just to use arc-gismap when bundled because it loads these two unnecessary files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_3-1748244419143.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133229iD9A81D22E00A3C47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_3-1748244419143.png" alt="DavidWilton_3-1748244419143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_4-1748244433860.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133230i9B39D8E5AEDFAFBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_4-1748244433860.png" alt="DavidWilton_4-1748244433860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note when using esri it causes lighthouse to hang right at the end (this is limited to including maps). If you reload the page at this point it will give you results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_5-1748244720517.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133232i7C3F8BC76BC40387/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_5-1748244720517.png" alt="DavidWilton_5-1748244720517.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;any ideas? Many thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 07:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618299#M87194</guid>
      <dc:creator>DavidWilton</dc:creator>
      <dc:date>2025-05-26T07:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Map Components build/performance issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618677#M87201</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6536"&gt;@DavidWilton&lt;/a&gt;&amp;nbsp; interesting, I'm not sure why those two modules are being loaded. I'll refer this issue to the web components devs and we'll take a look. Thanks for reporting.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 19:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618677#M87201</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2025-05-27T19:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Map Components build/performance issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618696#M87202</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6536"&gt;@DavidWilton&lt;/a&gt;try building again with &lt;A href="mailto:4.33@rc" target="_blank"&gt;4.33@rc&lt;/A&gt;. The issue should be resolved. 4.33 will be released in the next 30 days or so.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 19:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618696#M87202</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2025-05-27T19:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Map Components build/performance issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618773#M87204</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;much better! thanks so much for checking. I can confirm that web components and esri core are much more similar in build size and performance now.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_0-1748402576734.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133325i07DC21A225F5150D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_0-1748402576734.png" alt="DavidWilton_0-1748402576734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you hear anything about esri and lighthouse freeze let me know. Seems to be an issue with Esri and the latest chromium from edge and chrome (checked on a mac too). Happens with the sample pages too e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/basemap-gallery/live/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/basemap-gallery/live/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 03:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-map-components-build-performance-issues/m-p/1618773#M87204</guid>
      <dc:creator>DavidWilton</dc:creator>
      <dc:date>2025-05-28T03:56:12Z</dc:date>
    </item>
  </channel>
</rss>

