How would one determine the efficiency of a code for which drawing a graphic is the most expensive step?
I am investigating various methods to change a graphics object in a Dynamic[Graphics[...]]
For example,
positions = RandomReal[{-1, 1}, {200, 2}];
colors = RandomColor[Length[positions]];
radii = RandomReal[{0, .1}, Length[positions]];
Dynamic[Graphics[MapThread[{#3,Disk[#1,#2]}&,{positions, radii, colors}]]
I am curious how much time each Dynamic refresh takes. I tried using EvaluationData, but couldn't make it work. I wonder if there is a way to create a "DynamicEvaluationMonitor"?