[OpenLayers-Dev] Re: [OpenLayers 3] type instantiation performance

Andreas Hocevar ahocevar at opengeo.org
Thu Oct 21 15:57:39 EDT 2010


To all testers: keep in mind that javascript engines can optimize things like

function() {
  return {x: 3, y: 2};
}

to be treated like a constant, so it will not give you valid test results. Instead, you should test for something like

function() {
  return {x: Math.random(), y: Math.random()};
}

Regards,
Andreas.

On Oct 21, 2010, at 21:03 , Peter Robins wrote:

> the other obvious conclusion that comes out of these numbers is that
> every OL user should be strongly recommended to use Chrome. It's clear
> to the naked eye that Chrome is faster at rendering than IE, but I
> hadn't realised just what a large difference there is - extraordinary!
> Has anyone done any browser speed comparisons for other parts of OL?
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Dev mailing list