Hi,
The Search Widget at 4.x consistently and constantly causes an Animation Frame Callback which requires computing resources. This happens regardless of map or search activity. See attached picture from IE performance profile. On a machine with a modest CPU this uses between 10-25% CPU.
and check the dev tools for to see the animation frame callback or system resources to see browser CPU usage.
Is this a Bug?
Thanks
Are you seeing this with other widgets or only search? The 4.XX widgets use a virtual DOM called maquette, and it seems possible that this is causing the issue.
Thomas, do you know if this has been addressed or is going to be. We just upgraded to the 4.5 API and still see the issue.
Thanks,
Quinn
My guess is that this has something to do with some combination of the widget rendering more than you'd expect (maybe more than necessary) and IE being outdated.
When I look at performance on chrome, I see a small amount of additional resources being used when I add the search widget, but nothing excessive.
I'm not particularly knowledgeable about browser performance or what the next logical steps would be to debug this. I'd recommend filing a bug report through customer service. If you have screenshots showing IE memory usage with and without the search widget, I'd include those.
Thomas, I see the same behavior in LayerList but not the others I checked (Legend, Basemap Gallery and Print). I've included another picture of the search performance profile from IE. The animation frame callback references the JS API 4.4 line 341 column 417. Thanks.