Hi
It seems like the map gets very slow when adding a lot of graphics at once via applyEdits. (addFeatures) We only fetch graphics based on an extent from our API. So this functionality is very important.
It looks like, when zooming in or out and new features are fetched and applied. It freezes or the apply will take 10+ seconds.
Timings:
timestamp 1. Before zooming out => fetching data (only 2000 assets)
timestamp 2. When zoomed out => fetched data => applied edits via ArcGIS API javascript



Its getting very slow. Why does it take so long for applyEdits to process new data (addFeatures),
Maybe there is like a condition: NO APPLY EDITS when USER INPUT / ZOOM / EXTENT change? When queuing all these actions, it gets very slow?
Codepen:
https://codepen.io/michaelk95/pen/RwXLPOa?editors=1000
StreamLayer has the same problems when adding too much at once.
Is it not possible to rewrite applyEdits to be faster? These are some simple pictures on a map, should not be complex I guess? In comparison with other map technologies, this could be a lot faster for client sided JS lib?
Thanks in Advance!