[OpenLayers-Dev] Bug #622 testing and performance issues

Christopher Schmidt crschmidt at metacarta.com
Tue Apr 3 23:35:50 EDT 2007


On Tue, Apr 03, 2007 at 11:16:03PM -0400, Stephen Woodbridge wrote:
> Christopher,
> 
> Here is some profiling output on on the various requests that were 
> giving me severe performance problems. I ran these against tonight's SVN 
> revision 2997. It looks like you added the code to delete the existing 
> features on each new request but I'm still seeing really bad performance 
> and I thought having these profiles might help see the problem that I am 
> having. I'm running FF 2.0.0.3 on Window 2000 box.
> 
> Thanks again and I hope this helps,
>    -Steve
> 
> Steps:
> 3) Turn on Profiling
>     click Zoom + (again)
> Profile results:

> > destroy	1	98.73%	178718.75ms	178718.75ms	178718.75ms	178718.75ms	178718.75ms	OpenLayers.js (line 526)

This is bad. This is the renderer... but why is it stuck in this
function? there is nothing done here. (It's all done in subclasses.) I
can't imagine why this would happen.  

Everything else looks fine.

Even more worrisome is that your renderer is getting destroyed here at
all... it should only get destroyed when the vector layer is
destroyed... I'm not seeing the same issues here...

All in all, this seems rather insane. 

Can anyone else reproduce this? Stephen, can you reproduce this in any
other browser?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list