We have a very simple line drawing tool that draws a polyline entity that can be edited by the user (points can be dragged after the line is drawn).
The first time a line is drawn sometimes takes many seconds for the line to appear. Any subsequent changes to the line are drawn very quickly.
I did find this topic: slow initial rendering of polyline / polygon
I’m wondering if there have been any changes that provide another or better method of eliminating this initial draw delay?
Here’s a link to a simple Sandcastle example that demonstrates the delay.
EDIT:
When Sandcastle loads there’s a panel on the left side. Check the “Enable drawing” checkbox (or right-click on the canvas) to enable drawing. Left-click on the globe to draw several points. Then either uncheck the “Enable drawing” checkbox or right-click on the canvas to have the shape rendered.
The first time you disable the drawing mode and render the polyline is when the pause takes place.