[mapguide-users] Improving Mapguide preformance
Srecko Lipovsek
srecko.lipovsek at kaliopa.si
Fri Oct 1 06:25:48 EDT 2010
I have been working a lot on improving Mapguide performance, especially at
WEB server.
We are working with ASP.NET and IIS 7.5 on WIN server 2008.
With a lot of reading and testing I discover one big performance issue in
legend.aspx.
Using StringBuilder.Apend instead of string concatenate (output = output +
...) improved performance while loading this page for 1 second!
For loading this page before it uses 1.3s, after using StringBuilder it uses
only 0.3s …
Because legend.aspx is calling at every page refresh, this is quite big
performance issue …
Probably the same issue is at legend.php and legend.jsp and also at some
other files, where string concatenate was used.
Second quite big performance issue at ASP.NET (for all aspx pages in
mapviewernet folder) is setting Extra options at Page directive or set it
globally in web.config (search Google how ... )
Example for page direcive:
Before:
<%@ Page language="c#" %>
After:
<%@ Page language="c#" EnableViewState="false"
EnableSessionState="False" ValidateRequest="false"
Buffer="true" %>
Try search Google width ASP.NET performance StringBuilder for more info ...
Hope this help someone ...
-----
Srecko Lipovsek, BSc Civil Engineer
Kaliopa d.o.o.: Ljubljana, Slovenija
WWW: http://www.Kaliopa.si www.Kaliopa.si | http://www.iObcina.si
www.iObcina.si | http://gis.iObcina.si gis.iObcina.si |
http://www.iSlovenija.si www.iSlovenija.si | http://www.iKomunala.si
www.iKomunala.si
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Improving-Mapguide-preformance-tp5590800p5590800.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20101001/fdeb3991/attachment.html
More information about the mapguide-users
mailing list