<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It would be useful however to extract proper execution times related<br>
to the different operations (like map initialization, drawing etc.).</blockquote><div>Map init takes 30-700ms, mostly 100-200ms<br>SetExtent, zoomPoint - very fast &lt;&lt;15ms (so fast that cannot catch)<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What happens is only one thread is executing and do subsequents drawings?</blockquote><div>One processor is in 100% usage<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is the CPU utilization larger when only a few of the threads (5-6)<br>
executed simultaneously?</blockquote><div>Processors was in 100% usage (95% my application + 5% other processes)<br><br>These resuslts I get after creating ramdisk and coping all shapefile to new drive.<br>These are processors usage results for different numbers of threads<br>
<br>Threads number : usage<br><br>1:25<br>2:45-50<br>4:70-95<br>8:70-95<br>16:85-95<br>32:85-95<br>64:85-95<br>128:25-95<br>256:25-80<br><br>The last tests was interesting. After creating mapobjects ( usage was 100%), usage decrease to 25%, but<br>
after some time it started to very slow increasing.<br>In my test application at start all mapObjects has big scale value, but while running scale value is decreasing. <br><br>So I think that it depends on scale value.  I have a look at the log file. If scale value was big (&gt;10^6) then usage was low. <br>
But after minutes when scale values was less (&lt;20000) for most of threads, usage incresed to 80%.<br><br>So I think that usage depends on number of features and/or labels which are rendered. Number of features and/or labels affects drawing time. Long drawing times for most of threads affects low usage. Why?<br>
<br>I will check what happened if at the same time scales values will be more different. It will be more realistic.<br><br>Best regards,<br>Adrian<br></div></div>