[OpenLayers-Dev] Bug #622 testing and performance issues
Schuyler Erle
sderle at metacarta.com
Tue Apr 3 23:28:31 EDT 2007
On Tue, 2007-04-03 at 23:16 -0400, Stephen Woodbridge wrote:
> 2) Turn on profiling
> Click Zoom +
> > nodeTypeCompare 150 30.27% 1234.375ms 1234.375ms 8.229ms 0ms 31.25ms OpenLayers.js (line 532)
> > parseAttributes 1400 28.35% 1156.25ms 1343.75ms 0.96ms 0ms 312.5ms OpenLayers.js (line 678)
> > destroy 1 24.52% 1000ms 1000ms 1000ms 1000ms 1000ms OpenLayers.js (line 526)
>
> 3) Turn on Profiling
> click Zoom + (again)
> > destroy 1 98.73% 178718.75ms 178718.75ms 178718.75ms 178718.75ms 178718.75ms OpenLayers.js (line 526)
> > nodeTypeCompare 128 0.54% 968.75ms 968.75ms 7.568ms 0ms 31.25ms OpenLayers.js (line 532)
> > parseAttributes 1092 0.49% 890.625ms 953.125ms 0.873ms 0ms 296.875ms OpenLayers.js (line 678)
>
> 4) Shift-Reload the page to start new
> Click the Algers, DZ link
> Turn on profiling
> Click Zoom -
>
> > destroy 1 80.51% 507937.5ms 507937.5ms 507937.5ms 507937.5ms 507937.5ms OpenLayers.js (line 526)
> > nodeTypeCompare 50 15.74% 99296.875ms 99328.125ms 1986.563ms 1906.25ms 2609.375ms OpenLayers.js (line 532)
> > draw 2 0.63% 4000ms 10000ms 5000ms 46.875ms 9953.125ms OpenLayers.js (line 557)
Great! So it's the object destruction calls that are lagging everything
out now! :-/
Thanks for this feedback, Stephen.
SDE
More information about the Dev
mailing list