<?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 Re: Hit test performance issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hit-test-performance-issue/m-p/19667#M1758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If your scene has that many layer it makes sense that it would take a little while. Each layer would have to be&amp;nbsp;queried to see if the click location intersects a feature in that layer either client side or serverside.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jan 2018 20:57:18 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2018-01-07T20:57:18Z</dc:date>
    <item>
      <title>Hit test performance issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hit-test-performance-issue/m-p/19666#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings! I have a project with 100+ layers of various types in a 3D scene, and am running into several-second delays when the API performs a hit test (ex. when I want to click on a Feature and view the Popup). It eventually succeeds, but it is much too slow to be of any use. Upon inspection via Chrome Performance panel in Dev Tools, it looks like the call to "e._populateLayerViewsOwners" sets one or more properties on each layer, which in turn throws Accessor's "propertyCommitted, and in turn propertyInvalidated. This is done for each layerView at least, possibly multiple times, and results in a deep call tree and lots of array splicing. I'm not sure what this is doing, or if it is necessary, but it certainly is slow!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Chrome performance profile, in case that might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, the machine I'm testing on has the following specs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intel Core i7-8700K (6 cores @ 3.7Ghz base speed)&lt;/P&gt;&lt;P&gt;32GB 2400 MHz RAM&lt;/P&gt;&lt;P&gt;NVIDIA GeForce GTX 1080 Ti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 22:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hit-test-performance-issue/m-p/19666#M1757</guid>
      <dc:creator>SteveHenningsgard</dc:creator>
      <dc:date>2018-01-05T22:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hit test performance issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hit-test-performance-issue/m-p/19667#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If your scene has that many layer it makes sense that it would take a little while. Each layer would have to be&amp;nbsp;queried to see if the click location intersects a feature in that layer either client side or serverside.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jan 2018 20:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hit-test-performance-issue/m-p/19667#M1758</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-07T20:57:18Z</dc:date>
    </item>
  </channel>
</rss>

